This question is locked. New answers and comments are not allowed.
I'm trying to force a RadCartesianChart to automatically pan to the rightmost limit after the Loaded event is called. I've read other threads in this forum and in the Windows Phone 7 Chart forum and understand that I need to get the width of the displayed viewport in order to do this. I've tried getting that as follows (_chartLTD is a fully bound RadCartesionChart):
double wid1 = _chartLTD.RenderSize.Width; // Always returns 0
My problem is that the above value is never non-zero after the chart is loaded. I've also tried getting the viewport width by casting the chart to IChartView, but that width is 0 also. Is there a better way to get the width of the viewport?
Thanks,
Scott