I am charting 180 points on a XamDataChart using a line series. The X axis is a datetime and the y axis is a double. All of the points are between 16 and 17 milliseconds apart but they don't get graphed that way. They seem to be bunched together. More troubling is that XamDataChart seems to be shading or filling in in unexpected places. If I zoom in enough the lines appear correctly but I only have to zoom out a little bit for it to start shading again. I am attaching two screen shots that show the differences. Because there are only 180 points on the graph I expected to see the lines even zoomed all the way out. They aren't close enough together to cause a shading effect.
The right side of the images seems to get cut off but if you open them in a separate browser window you can see the whole thing.
Is there a setting I am missing or is this a bug? I only have 4 days left in my trial and I would like to determine if I can get this to work for me before the trial expires.
Thanks.
Hi,
I am creating a case for you so that you will be updated as the bug that Graham created is resolved.
You will hear from me directly thru the case shortly.
Believe it or not this represents an expected behavior. The points at the top of the peak have been coelesced for display since they all appear within one pixel of each other. And the current behavior of the chart if it coalesces the line shape into a band for a set of points is to display the marker at the minimum y value of the coalesced points.
Meanwhile the actual data point value that it assigns to the marker is the last data point that was coalesced into the banded shape.
For less aberrant line shapes this usually presents a pleasing and accurate visual, but for your line, since it fluctuates so wildly in the y direction, the rendering becomes inappropriate. For this reason I've submitted a bug to look into making sure that the marker position always coincides with the actual data point that was selected from the coalesced region to represent the coalesced region, rather than displayed at the minimum y value of the region.
The bug number, for your reference, is 101720.
-Graham
Nevermind, I think I have been able to replicate the behavior you are seeing. Very odd. I'll see if I can determine what is going on.
In this instance, it would help to have a sample project that replicates the issue as it seems it could be somewhat sensitive to your data.
Are you implying above that you are only setting visible to true for peak values?
The badge in the legend it merely showing you which series a tooltip is being reported for, it doesn't indicate that it is showing you a value for a point that actually has a displayed marker. Hiding markers with modifications to the template will not prevent the tooltip from displaying information for a given data point.
Hi Graham,
Do you have some news for me?
The solution of this problem si very importent for me, because now I`m not able to continue with my implementation.
Do you need some additional things?
Regards