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:
Slow plotting graph
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello,
Besides adding GetChart.aspx.cs file to your project, do you set TempChart property to session as told in "Tutorial9 - ASP.NET Applications", at the "TempChart property - File, Session, Cache or Httphandler" section?
If problem persists, could you please send us a simple example project we can run "as-is" to reproduce the problem here? You can reproduce datasource as in the example Christopher Ireland posted here.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Besides adding GetChart.aspx.cs file to your project, do you set TempChart property to session as told in "Tutorial9 - ASP.NET Applications", at the "TempChart property - File, Session, Cache or Httphandler" section?
If problem persists, could you please send us a simple example project we can run "as-is" to reproduce the problem here? You can reproduce datasource as in the example Christopher Ireland posted here.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi,
As your suggest, i already add GetChart.aspx file and set session. But this problem still happen.
I uploaded the file to your server, names "MyFolder_2.rar".
There are "TempData" folder which have excel data inside. It need excel dll to run the file which attached in "Bin" folder. I cannot send the data
as in that posted because the data cannot making like that.
Thanks.
As your suggest, i already add GetChart.aspx file and set session. But this problem still happen.
I uploaded the file to your server, names "MyFolder_2.rar".
There are "TempData" folder which have excel data inside. It need excel dll to run the file which attached in "Bin" folder. I cannot send the data
as in that posted because the data cannot making like that.
Thanks.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hello,
Yes, we received your project and I could reproduce the issue here. We are investigating it and will get back to you ASAP.
Yes, we received your project and I could reproduce the issue here. We are investigating it and will get back to you ASAP.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hello,
This appears to plot consistently on Firefox but not Internet Explorer where an empty box appears at times. The problem is solved here by a change to the Chart load process code.
In the sample project a Hotspot tool is being loaded 3 times. That is not necessary. Disabling the repeated call to Hotspot Tool creation and moving it to a once-load location results, testing here, in a consistent trouble-free Chart load.
Eg.
Regards,
Marc Meumann
This appears to plot consistently on Firefox but not Internet Explorer where an empty box appears at times. The problem is solved here by a change to the Chart load process code.
In the sample project a Hotspot tool is being loaded 3 times. That is not necessary. Disabling the repeated call to Hotspot Tool creation and moving it to a once-load location results, testing here, in a consistent trouble-free Chart load.
Eg.
Code: Select all
plotGraph2(...params1...);
plotGraph2(...params2...);
plotGraph2(...params3...);
//load Hotspot tool here:
Steema.TeeChart.Tools.SeriesHotspot seriesHotSpot2 = new Steema.TeeChart.Tools.SeriesHotspot(Chart2);
seriesHotSpot2.MapAction = Steema.TeeChart.Styles
Marc Meumann
Steema Support