Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
975
Extra data point on exploded pie chart
posted

I've found what seems to be a strange bug on the pie chart in the XamChart control. I have a report that returns data for a given time period, grouped into days. The application is set up to ensure that there is a datapoint for each day of the date range, so if there is not actual data returned by the database query for one of the days in the range, a datapoint is created with a value of 0.

When I run this report for the month of August for example, the database returns data for only the 28th, 29th and 30th. The other days are all inserted into the single chart series as 0. When the chart type is set to cylinder, this displays accurately, with only data showing for those 3 days. When I switch it to a pie chart, and switch to an exploded view, it displays what seems to be a 4th datapoint that is as thin as can be, and when I hover over this extra slice, the tooltip (that is set to be the date that the datapoint represents) flickers between the 10th and 11th of the month.

Is this something that anyone else has come across?