Page 1 of 1
Tee Chart Image
Posted: Mon Sep 18, 2006 9:50 am
by 9792366
When chart image is saved, it always has title set as "TeeChart". This happens even if we set title property visible=false and title text is equal to blank. We set these properties from design-time environment (modifying control properties on .aspx page) as well as run-time environment (modifying control properties in code).
What is the solution?
Posted: Mon Sep 18, 2006 10:26 am
by narcis
Hi Vikas,
It works fine for me here using latest Debug Build available at our Customer Download Area. Which TeeChart version are you using? Does it occur with all image formats?
Version
Posted: Mon Sep 18, 2006 3:24 pm
by 9792366
Hi I am using TeeChart Pro v2 for Visual Studio .NET I am facing the problem for .jpeg image files. I have not tried for other formats
Posted: Mon Sep 18, 2006 3:27 pm
by narcis
Hi Vikas,
Sorry if I haven't been clear enough on my request. When asking for the TeeChart version I was asking for the exact built of it. You can easily check this at the release notes included with your TeeChart for .NET v2 installation.
Anyway, JPEG exporting worked fine for me here using the latest Debug Build available at our Customer Download Area. We also expect to have a new maintenance ready during this week.
Build
Posted: Mon Sep 18, 2006 3:31 pm
by 9792366
Build is 2.0.2403.19442
Posted: Mon Sep 18, 2006 3:53 pm
by narcis
Hi Vikas,
Where did you obtained this release? Could you please paste its release notes? According to our releases record this build doesn't exist in our release list. The build numbers where those:
Build 2.0.2351.18995 Compiled in .NET Framework 1.1 and Build 2.0.2351.18996 Compiled in .NET Framework 2.0 (June 2006)
Build 2.0.2428.30426 Compiled in .NET Framework 1.1 and Build 2.0.2428.30427 Compiled in .NET Framework 2.0 (August 2006).
The build you posted should fall in between those above.
Anyway, this issue works fine here using the latest maintenance release available:
Build 2.0.2431.17559 Compiled in .NET Framework 1.1 and Build 2.0.2431.17560 Compiled in .NET Framework 2.0 (August 2006).
Could you please test if this works at your end?
Thanks in advance.
Posted: Wed Sep 20, 2006 3:17 pm
by 9792366
Hi,
We have version 2.0.2403.19442 still when we export chart as image the image always show Tee Chart Title.
Posted: Thu Sep 21, 2006 8:06 am
by narcis
Hi Vikas,
Have you tried using the latest debug build (v2.0.2431.17559/2.0.2431.17560) available at our customer download area?
If this debug build doesn't work, could 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.
Thanks in advance.
Posted: Thu Sep 21, 2006 2:28 pm
by 9792366
Narcis,
We are using the below code to save image
webChart.Chart.Export.Image.JPEG.Save(m_imgPath);
We have build 2.0.2403 but still when we export the charts as images the image always show Tee Chart title
We have tried following:
1. In design view, in properties window for TeeChart, make "title text" blank and set "title visible" property false
2. In runtime (in code) do same thing (set same properties written above) before exporting chart as image.
But, it is still not working. What would be the solution for this?
Posted: Thu Sep 21, 2006 2:43 pm
by narcis
Hi Vikas,
Using the code below with the latest debug build (2.0.2431.17559) and our current sources works fine here. Would you be so kind to check if the debug build works fine at your end or wait untill the next maintenance release is out?
Code: Select all
WebChart1.Chart.Header.Visible = false;
WebChart1.Chart.Export.Image.JPEG.Save(m_imgPath);