Group: Forum Members
Last Active: 12 Years Ago
Posts: 127,
Visits: 1
|
Thanks your suggestion solved my problem.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi, The chart will overwrite the last generated image - the server will simply pick the last generated image if it does not use caching.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 127,
Visits: 1
|
When chart is rendering the other users that are opening that page will have racing condition or not? Or will the webbrowser will just show the last image.
BTW, chart will be overwrite without problem or it has to be removed first?
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi JSW, In that case you can use the control to generate a store an image on the server like: using (NChartControl chartControl = new NChartControl()) { // configure control here// render to imagechartControl.ImageExporter.SaveToFile( "c:\\temp\\chart.png", new NSize(400, 400), NResolution.ScreenResolution, new NPngImageFormat());} That will generate a static image on the server that you can then reference in the HTML.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 127,
Visits: 1
|
Hi I observed that if i set a webpage to server cache the chart url no longer there so it show as white blank. How to fix such situation? The chart calculation can be intensive so i do want to cache result no to call sql everytime.
Regards,
|