williamchart icon indicating copy to clipboard operation
williamchart copied to clipboard

How to set up Y axis right?

Open kkuez opened this issue 3 years ago • 1 comments

The highest label on the Y axis represents the highest value in the list, what about graphs with higher Y labels then the highest value in the list?

Can I somehow setup the Y axis?

kkuez avatar Aug 20 '21 20:08 kkuez

Found the answer myself: lineChart.setScale(new Scale(0, highestValueY)); ...for a graph with 0 and the highestValue.

You may close this ticket, thanks.

kkuez avatar Aug 20 '21 21:08 kkuez