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
45
Chart empty
posted

Hi,

I have a problem with the WebChart where after binding data manually (by adding data points to series and adding the series to layers), the chart is rendered without data. The legend reflects the correct labels but both axes are empty and so are the chart layers themselves. This started happening after I started programmatically creating and configuring the chart in the code-behind (not using markup). It worked after I made that change but stopped working recently for no good reason. I also use the same control to output the chart image to a stream and that also produces identical results.

Anybody know why this is happening? Are there any gotchas/hints/good-to-knows when initializing a chart in code-behind? THanks.

Parents
No Data
Reply
  • 45
    posted

    In addition to my question above: the data binding code wasn't changed when I moved the control from markup to code behind.

Children