Hi,
chart.getAxes().getVerticalAxis().setNumberFormatLinkedToSource(false);
chart.getAxes().getVerticalAxis().setNumberFormat("[<1000000000]0.0,,\" MB\";[<1000000000000]0.0,,,\" GB\";0.0,,,,\" TB\"");
chart.setLegend(false);
Example: If the numbers are [5216, 4968, 4952, 4872, 4840] , On the chart it displays 0.0 MB
If the numbers are [52160000, 49680000, 49520000, 48720000, 48400000], On the chart it displays 54.0 MB, 52.0 MB, 50.0 MB, 48.0 MB, 46.0 MB.
Screen shots are attached for both cases.
Please let me know the correct syntax to display all ranges of number values. That means If the value is less than 1000, display as it is otherwise display in KB or MB or GB or TB.
Thanks.
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545}