Hi,
We do not want to use Session variables in our web application.
Is there any way to get the Tee-chart displayed without using Session? i.e. without using GetChart.aspx?
What about the TempChartStyle.File option? As of now i have managed to get the png files created on my custom directory by making appropriate registry changes. However these pictures do not appear on the web page. instead a red cross appears.
Please advice.
Thanks,
POP
Webchart not displayed in browser
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi POP,
Another option, which is included in the tutorials shipped with the next TeeChart for .NET v2 maintenance release is using an Httphandler:
The Httphandler option uses an internal TeeChart (WebChart) generator to recover the Chart image for the page.
The option generates no temporary files and requires no additional aspx file to recover a Chart (as would be the case with the Session and Cache options). The option requires one modification to the web.config file:
Anywhere between the web.config <system.web> </system.web> tages place the following section:
Another option, which is included in the tutorials shipped with the next TeeChart for .NET v2 maintenance release is using an Httphandler:
The Httphandler option uses an internal TeeChart (WebChart) generator to recover the Chart image for the page.
The option generates no temporary files and requires no additional aspx file to recover a Chart (as would be the case with the Session and Cache options). The option requires one modification to the web.config file:
Anywhere between the web.config <system.web> </system.web> tages place the following section:
Code: Select all
<system.web> <httpHandlers> <add verb="*" path="TeeChartImgGen.ashx"
type="Steema.TeeChart.Web.TeeChartImgGen, TeeChart"/> </httpHandlers> /*..content cut for brevity ..*/
</system.web>
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 |