Home › forums › Using CanvasJS › With stacked chart want yaxis to be label of first dataset
Tagged: stackedbar label
This topic contains 1 reply, has 2 voices, and was last updated by Bivek Singh 1 year, 5 months ago.
With stacked chart want yaxis to be label of first dataset
So in this jsfiddle Im just using stackedBar to allow multiple data points on one bar.
Fore the 3rd bar the first data object has this label set to ‘Done’, the second data object has label set to to ‘Half Done’
The problem is on the axis this bar is labelled ‘Half Done’ instead of ‘Done’
I want it to be labelled ‘Done’, or even better have a textual label that was not ‘Half Done’ or ‘Done’, how do I do this ?
I tried setting the values of “x” to the label value rather than a number but canvasjs didn’t seem to like that at all
Labels take the values from last dataSeries. Please take a look at this jsFiddle.
You must be logged in to reply to this topic.