Home forums Using CanvasJS Negative value Reply To: Negative value

#6130

Meuhmeuh
Participant

I don’t see how i can use the format string in order to draw absolute value of the axis :/

To explain a little bit, i want to do a population chart, something like this :
Population chart

So what i’ve done, i have 2 series (Male and Female) one with negative value and i stack the two. I put the option minimum and maximum of my Y axis of the bigest value of any serie .

axisY : {
minimum : -maxValue(),
maximum : maxValue()
}

Here is what i have for the moment :
watiwant

I didn’t prettify it, …
In circle the element i want to change.

  • This reply was modified 2 years, 8 months ago by  Meuhmeuh.