Hi,
I am still trailing the XamDataChart. On my chart I am using 3 different Y Axis, I would like to know if there is a way to display all 3 on the same gridline. I am using Numeric Y Axis.
Thank You,
Pieter
Hello Pieter,
Does the approach I suggested for calculating the interval work for you?
Please let me know if you have any further questions or concerns about this matter.
Without seeing exactly how you have set up your ranges so far it is difficult to say. However, one approach you could take is to determine how many intervals you would like. For each axis you could then theoretically use the fomula:
Interval = (Max Height - Min Height) / Desired # of Intervals
This should hopefully get you close enough to have the intervals match up. Do you have a sample or some test code you could provide?
Hi Graham, Jason
I am able to set the Max Height and Min Height in the code behind but not the interval. I think it will work if I am able to work out the interval in the code behind and then set it. The Axis values depend on the range the user select.
How do I set the Interval in code behind for Numeric Y Axis?
Thank you,
Does Graham's solution work for you? Do you have any further questions or concerns about this matter?
Are the y values for the three series in the same range? If so, you can just share one y axis. If not you may have to adjust the min/max/interval of each axis such that the gridlines appear at the same frequency for each y axis. Am I correctly understanding what you are asking?
-Graham