Home › forums › Using CanvasJS › RangeBar string to string
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?)
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
You must be logged in to reply to this topic.