Hi,
I like to ask if we can manually set at design time the range value of the Line Chart Y axis such that it starts at 99.00 to 99.99. This is because we need to chart values that are within this range only.
Thanks in advance for any help you will provide.
Regards,
Marlon
Hello Marlon,
I`m not familira with your scenario, but there are different approaches to acheive desired behavior. One possible approach could be if you are using properties of your Axis:
axis1.RangeType =AxisRangeType.Custom;
axis1.RangeMin = 10;
axis1.RangeMax = 100;
Depernding of your chart type you could use also properties:
- TickmarkStyle
- TickmarkInterval
- TickmarkIntervalType and so on...
I made small sample for you where I`m using line chart. Please take a look at the attached sample and let me know if you have any further questions.
Regards
Hi Georgi,
Thank you very much for replying my query, I have not actually tried your solution yet because I remember that I check on the y-axis option zero-align-data in the design chart wizard. I just cleared the check on that box and it gave me the result that I'm looking for. My apologies for not responding your answer quickly as I was traveling last week. Nevertheless I greatly appreciate the effort you took to advise me.
Many thanks,