Home Forums Chart Support With stacked chart want yaxis to be label of first dataset

With stacked chart want yaxis to be label of first dataset

Viewing 2 posts - 1 through 2 (of 2 total)
  • #15321

    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

    http://jsfiddle.net/x03241n3/4/

    #15331

    @paultaylor,

    Labels take the values from last dataSeries. Please take a look at this jsFiddle.

    —-
    Bivek Singh,
    Team CanvasJS

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

You must be logged in to reply to this topic.