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
585
Pie Chart With Empty Series
posted

I have a SL4 page that has 2 xamWebChart pie charts. There are times when one of them will have no data in the series that is bound to a DB. Right now, when there is no data in the series the chart is blank, just white. That is an understandable display when there is no data but it looks funny to have one chart blank and the other chart with a good looking pie chart. Is there any way to have the xamWebChart display the pie chart circle and nothing else if there is no data? That way it doesn't look like one of the charts is broken.

Thanks

Parents
No Data
Reply
  • 30692
    Suggested Answer
    Offline posted

    I don't think there is currently an option for this. You could place an image with an empty circle on it in front of the chart when you detect there is no data though, or overlay a TextBlock that says "No data to display" or something of that order.

    -Graham

Children
No Data