Is there any way to get the width of the chart plot area? I need to know this because I am using my own down-sampling algorithm. I don't want to place more points on the chart than there are horizontal pixels in the chart area so that I can bypass the built in down-sampling.
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.
Hello gongchengshi,
I can suggest using both the WindowRect and the PlotAreaBackgroundContent ptoperties of the XamDataChart in order to get all the information you need. PlotAreaBackgroundContent's ActualWidth will give you the width and the WindowRect's Width will give you the scaling factor if you have applied any.
Please let me know if you require any further assistance on the matter.