I am using Aspose Charts to plot graphs.Y axis contains data that may be small numbers or some times big numbers like Millions.I have used following code to format it to millions.The issue is when the numbers are too small,say like 5,7 etc…it is showing in decimals(ie it is also converting to millions).How can I solve this?I want to format Y-axis values depends on there range.If small numbers it should be in integers not in decimals.
chart.ValueAxis.DisplayUnit = DisplayUnitType.Millions;