Domanda

How to changes the min and max limit of line chart once chart is loaded.

Issue is when once chart is loaded if data is dynamically changed at time chart look awkward.

For example when initial max value in chart is 90 out 100 and on refresh new max comes like 25 but due to max value not getting change in chart .. 3/4 looks empty as 25 doesn't scale to over full chart.

È stato utile?

Soluzione

Thats how i set the max limit:

chart.axes.items[1].maximum = newValue;

For minimum should be the same.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top