Hello,
I am having troubles with the Chart control. I am using .net framework 4.5 (web forms application), and am using version 4.0 of the chart control. I can populate data just fine... the problem is that sometimes the chart images don't render, so it shows a broken image link instead. I put the chart controls inside an update panel, and added a "Refresh" button. Still the same behavior... sometimes it renders fine, sometimes it displays broken image links.... it seems completely random. But clicking the "Refresh" button always fixes the problem. Do you guys know what the problem is and how I can fix this properly? I don't want the user to have to click the "Refresh" button each time only after being displayed broken images. Part of me thinks that the image is not ready in time for when the browser decides to render the image... but I just don't know.
I have experimented with the web.config file, originally the key under "appsettings" was this:
and I changed it to this from a recommendation I found online:
This didn't seem to help.
Any help is greatly appreciated, thanks!
I am having troubles with the Chart control. I am using .net framework 4.5 (web forms application), and am using version 4.0 of the chart control. I can populate data just fine... the problem is that sometimes the chart images don't render, so it shows a broken image link instead. I put the chart controls inside an update panel, and added a "Refresh" button. Still the same behavior... sometimes it renders fine, sometimes it displays broken image links.... it seems completely random. But clicking the "Refresh" button always fixes the problem. Do you guys know what the problem is and how I can fix this properly? I don't want the user to have to click the "Refresh" button each time only after being displayed broken images. Part of me thinks that the image is not ready in time for when the browser decides to render the image... but I just don't know.
I have experimented with the web.config file, originally the key under "appsettings" was this:
C#:
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
C#:
<add key="ChartImageHandler" value="storage=memory;timeout=20;"/>
Any help is greatly appreciated, thanks!