Hi,
Currently we are evaluating XamDataChart control for our application. And It will be helpful for us if you can provide some details on the following queries.
1) When we use CategoryDateTimeXAxis to bind data values with more than 500 values, the values are not completely plotted. Is there any settings that is preventing the chart from displaying the complete set of values?
2) Is it possible to set the maximum and minimum range for the X Axis in CategoryDateTimeXAxis and CategoryXAxis for the DateTime values?
3) Can we use the NumericXAxis with LineSeries?
1) Could you provide a sample of your data, so we can try to reproduce the issue? Also, which version of the chart are you using? There were some bugs with this axis earlier on, especially if your data was closely spaced, so make sure you have the latest service release.
2) In more recent service/volume releases of the chart you can set a MinimumValue and MaximumValue for the CategoryDateTimeXAxis.
3) No, you can only use the LineSeries with CategoryXAxis and CategoryDateTimeXAxis. You can use a ScatterLineSeries with NumericXAxis, but be cautioned that it is not as efficient as LineSeries.
Hope this helps!
-Graham
We moved to the latest 11.1 DV and got the maximumValue and MinimumValue for the CategoryDataTimeXAxis.
Regarding the missing datapoints, It seems to be related to the Resolution property.
Thanks for the response,
Re the missing datapoints: is there a way to get all of them to be displayed? Setting Resolution to 0 doesn't seem to do the trick.. (SL, version 10.2)
Are you talking about not all markers being displayed? The chart avoids displaying markers that occlude each other. They are expensive to add to the visual tree.
Could you describe your use case for seeing all of them? A screenshot or a sample would help explain more clearly what you are trying to accomplish.
Thanks,
Markers are one of the most expensive parts of the chart's rendering since they are treated as full templatable elements. As such, the current design is that, while the line displays a representation of the full data, you may not see each individual marker unless you zoom in.
With scatter series, where the markers are the only representation of the data, it tries to show the most interesting markers, but culls them down to a managable number that wont cause performance problems with the runtime. You can raise this limit to a higher value by increasing MaximumMarkers, but be warned that this can have bad performance consequences if you set it too high.
If you have a use case were you actually need to see every marker on the series, you may need to make a feature request, as we may need to create a seperate series type that uses a lighter weight rendering mode for the markers, and excludes most of the templating features of the markers.
Yes, I'm talking about some of the points not being displayed.
The reason why we want to display all the markers is that we have other charts on the page, and we have overriden the zoom action to select some points on the chart to filter our other charts.
And since some of the markers are not displayed, it may be quite confusing that you draw a rectangle around 3 points, but other charts display data for 6 points, because 3 points were not rendered..