Home forums Using CanvasJS RangeBar string to string

This topic contains 1 reply, has 2 voices, and was last updated by  Priyanka M S 2 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22480

    Hello!
    I’d like to know if it possible to use RangeBar php chart with both axes being strings. Or is there any way to hide x values under some string names?)

    #22482

    Priyanka M S
    Member

    @freekiller201020,

    You can use labels along with x values to labels in axisX. Labels will be shown at every interval on the axis, to hide labels at every interval you can set interval according to your requirement, whereas to hide labels at certain values only, you can use labelFormatter. Please take a look at this JSFiddle for an example on using labelFormatter to show string values as label in axisY.

    If this doesn’t solve your requirement, can you kindly share a pictorial representation of your requirements so that we can understand it better and guide you accordingly.

    __
    Priyanka M S
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.