Slow plotting graph
Posted: Mon Nov 24, 2008 10:38 am
My program is web application. I plotting the data on two axis.
My problem is as below:
- when plotting data on chart it so slow to render the graph for showing on web page. Sometime, it hang, shows like white box (as attached picture below) or red cross even it have data for plotting.
(for this problem, i have read other thread answer that need to use session and getChart.aspx file so i already use it
but sometime it still have this problem)
My step to do graph:
- specify my chart ==>Steema.TeeChart.Chart cG3 = wcG1.Chart;
- set header, Axes left right
- query data on DB for plotting on left axis
- plotting data on chart for left axis
- query data on DB for plotting on right axis
- plotting data on chart for right axis
- set the minimum and maximum value on the bottom axis
Do you have any suggestion about my step for plotting graph?
Thanks,
White Box picture:
My problem is as below:
- when plotting data on chart it so slow to render the graph for showing on web page. Sometime, it hang, shows like white box (as attached picture below) or red cross even it have data for plotting.
(for this problem, i have read other thread answer that need to use session and getChart.aspx file so i already use it
but sometime it still have this problem)
My step to do graph:
- specify my chart ==>Steema.TeeChart.Chart cG3 = wcG1.Chart;
- set header, Axes left right
- query data on DB for plotting on left axis
- plotting data on chart for left axis
- query data on DB for plotting on right axis
- plotting data on chart for right axis
- set the minimum and maximum value on the bottom axis
Do you have any suggestion about my step for plotting graph?
Thanks,
White Box picture: