height:420px="" width:680px=""
height:420px="" width:680px=""
When I am using the chart in my 1.1 ASP.net app the markeup looks like this
<img usemap="#MAPwcSectormap" src="GetChart.aspx?Chart=wcSectormap127001388965779464815" id="wcSectormap" name="wcSectormap" clickedy="0clickedx=" 0="" height:420px="" width:680px="" border="0">
As you can see it the height and width are bogus which is causing problems. Is there any way to make Tee Chart Pro generate valid HTML?
This is the markup from my ASPX file.
<tchart:WebChart id="wcSectormap" runat="server" tempchart="Session" clickedy="0" clickedx="0" getchartfile="GetChart.aspx" autopostback="False" visible="False"></tchart:WebChart>
I am using version 2.0.2306.26231
Thanks
Brad
<img usemap="#MAPwcSectormap" src="GetChart.aspx?Chart=wcSectormap127001388965779464815" id="wcSectormap" name="wcSectormap" clickedy="0clickedx=" 0="" height:420px="" width:680px="" border="0">
As you can see it the height and width are bogus which is causing problems. Is there any way to make Tee Chart Pro generate valid HTML?
This is the markup from my ASPX file.
<tchart:WebChart id="wcSectormap" runat="server" tempchart="Session" clickedy="0" clickedx="0" getchartfile="GetChart.aspx" autopostback="False" visible="False"></tchart:WebChart>
I am using version 2.0.2306.26231
Thanks
Brad
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Brad,
I'm not able to reproduce the issue here using same TeeChart build as you. Can you please test if the ASP.NET demo, included at C:\Program Files\Steema Software\TeeChart for .NET v2\TeeChartForNET (default english path), works at your end?
If the problem persist, can you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
I'm not able to reproduce the issue here using same TeeChart build as you. Can you please test if the ASP.NET demo, included at C:\Program Files\Steema Software\TeeChart for .NET v2\TeeChartForNET (default english path), works at your end?
If the problem persist, can you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
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 |
height:420px="" width:680px=""
Thanks. I have posted it with the same subject as this thread.
It is a Delphi 2006 project for ASP.Net
It is a Delphi 2006 project for ASP.Net
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Brad,
Thanks for the example but I couldn't run it because I don't have the necessary SQL Server database.
However, this is most likely to be a problem we solved recently. Did you upgraded an application written using an older TeeChart.dll version? If that's the case you could try removing the chart from the form and place a new chart so that the HTML code is properly generated.
Thanks for the example but I couldn't run it because I don't have the necessary SQL Server database.
However, this is most likely to be a problem we solved recently. Did you upgraded an application written using an older TeeChart.dll version? If that's the case you could try removing the chart from the form and place a new chart so that the HTML code is properly generated.
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 |
Delphi 2006 project for ASP.Net
Yes, it was an older project that I moved to the lastest version. It happens in all the projects I have, except the demos that were installed with the charting component (I have never rebuilt them).
I deleted the chart and put it back in. It did not seem to make a difference.
I have put the latest code on the news server (without the DB stuff _sorry_)
Thanks for your help do far.
Brad.
I deleted the chart and put it back in. It did not seem to make a difference.
I have put the latest code on the news server (without the DB stuff _sorry_)
Thanks for your help do far.
Brad.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Brad,
Thanks for the example.
Have you checked that you properly installed latest TeeChart maintenance release and that your project TeeChart. dll reference was properly upgraded?
It works fine for me here using the version you mentioned. The HTML code in BDS 2006 is:
And the HTML code in the browser is:
Thanks for the example.
Have you checked that you properly installed latest TeeChart maintenance release and that your project TeeChart. dll reference was properly upgraded?
It works fine for me here using the version you mentioned. The HTML code in BDS 2006 is:
Code: Select all
<tchart:WebChart id="WebChart1" runat="server" tempchart="Session" getchartfile="GetChart.aspx" autopostback="False" pictureformat="JPEG" clickedy="0" clickedx="0"></tchart:WebChart>
Code: Select all
<IMG SRC="GetChart.aspx?Chart=WebChart1127001388976609103704" id="WebChart1" Name="WebChart1" ; height:300px; width:400px" Border=0></p>
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 |
HTML is wrong
Hi
The HTML looks right but it is not. It should be this
or this
The code shown is a combination of the two. It is using styles but missing the style attribute. The height:300px; syntax only works for a style attribute. It looks like that is what is missing. There is a stray " which looks like the component is closing the stlye attribute that was not oppened.
The demos get it correct and use the syntax in the first example.
The HTML looks right but it is not. It should be this
Code: Select all
<img src="/TeeChartForNET/GetChart.aspx?Chart=WebChart1127001388974225476852" id="WebChart1" name="WebChart1" style="height: 290px; width: 432px;" border="0">
Code: Select all
<img src="/TeeChartForNET/GetChart.aspx?Chart=WebChart1127001388974225476852" border="0" height="290" width="432">
The demos get it correct and use the syntax in the first example.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Brade,
Sorry but I forgot to ask you to manually remove BDS's HTML code before placing the new WebChart in the form when upgrading it. Have you proceeded like this?
Sorry but I forgot to ask you to manually remove BDS's HTML code before placing the new WebChart in the form when upgrading it. Have you proceeded like this?
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Brade,
Thanks for the information. You are right. However, your project works fine on my machine. The style attribute is present in ASP.NET projects created with VS.NET so this may be a BDS bug.
Thanks for the information. You are right. However, your project works fine on my machine. The style attribute is present in ASP.NET projects created with VS.NET so this may be a BDS bug.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Brad,
After exhaustive testing we could reproduce the issue here and it seems to be a TeeChart issue as it was reproduceable using Visual Studio 2005 as well.
I've added it (TF02011540) to our defect list to be fixed for future releases.
After exhaustive testing we could reproduce the issue here and it seems to be a TeeChart issue as it was reproduceable using Visual Studio 2005 as well.
I've added it (TF02011540) to our defect list to be fixed for future releases.
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 Brad,
There's no bug tracker available to track this issue however as an update: Changes have been made as a result of output parsing issues found in Delphi 2006. We expect to make the update available next week. We expect them to correct the problem you found.
Regards,
Marc Meumann
There's no bug tracker available to track this issue however as an update: Changes have been made as a result of output parsing issues found in Delphi 2006. We expect to make the update available next week. We expect them to correct the problem you found.
Regards,
Marc Meumann
Steema Support