Compatibility of .Tee files with ActiveX control
Compatibility of .Tee files with ActiveX control
We have a number of licenses of TeeChart .Net and TeeChart ActiveX and one or more mixed managed and unmanaged applications using both.
We would like to use a .Tee file as a standard template across our applications and this is working fine for the ActiveX v 2018 control.
chart->GetImport().LoadFromFile( pathToTeeFile);
However on downloading TeeChartNET2018_4.1.2018.05040 we could not find a way programmatically to import the .Tee file (generated by the ActiveX) component (as the file format was deemed incorrect).
Can you clarify if the 2018 TeeChart .Net and TeeChart ActiveX .Tee files are compatible.
We would like to use a .Tee file as a standard template across our applications and this is working fine for the ActiveX v 2018 control.
chart->GetImport().LoadFromFile( pathToTeeFile);
However on downloading TeeChartNET2018_4.1.2018.05040 we could not find a way programmatically to import the .Tee file (generated by the ActiveX) component (as the file format was deemed incorrect).
Can you clarify if the 2018 TeeChart .Net and TeeChart ActiveX .Tee files are compatible.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Compatibility of .Tee files with ActiveX control
Hello,
https://steema.com/wp/narcis/2014/04/02 ... es-to-net/
We wrote a while ago a little app called TeeToTen which converts ActiveX .tee files to .NET .ten files - you can download and read how to use it here:
https://steema.com/wp/narcis/2014/04/02 ... es-to-net/
Best Regards,
Christopher Ireland / 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 |
Re: Compatibility of .Tee files with ActiveX control
Thank you for the prompt reply.
I have tried the TeeToTen utility and it is appears to be a one way migration tool.
We were hoping for a seamless way for our applications to share a common theme/template (and for our customers to be able to create their own custom/company themes through the TeeEditor). This would require a persistent file type to be compatible with both the ActiveX and .Net version (as we continue to use both).
We are in the process of evaluating an upgrade of the TeeChart .Net 2011 version to TeeChart .Net 2018 Version=4.1.2018.5046.
On applying the update we are seeing some new issues (with code that worked previously with the 2011 version).
The main issue concerns Themes. We are seeing the appearance of all MarkTips (turned on) for all data points in all 2D series line plots both in the Theme preview(editor) and on applying the theme to the underlying plot.
• Choose any theme and the preview pane shows floating tooltips for all points and all series (see attachment).
• On applying a theme the chart matches the preview (i.e. with all tool tips visible for all points).
• It does not matter which Theme you choose.
• If we clear the series data and re-add all series data after applying a theme then everything is ok.
Any advice would be appreciated.
I have tried the TeeToTen utility and it is appears to be a one way migration tool.
We were hoping for a seamless way for our applications to share a common theme/template (and for our customers to be able to create their own custom/company themes through the TeeEditor). This would require a persistent file type to be compatible with both the ActiveX and .Net version (as we continue to use both).
We are in the process of evaluating an upgrade of the TeeChart .Net 2011 version to TeeChart .Net 2018 Version=4.1.2018.5046.
On applying the update we are seeing some new issues (with code that worked previously with the 2011 version).
The main issue concerns Themes. We are seeing the appearance of all MarkTips (turned on) for all data points in all 2D series line plots both in the Theme preview(editor) and on applying the theme to the underlying plot.
• Choose any theme and the preview pane shows floating tooltips for all points and all series (see attachment).
• On applying a theme the chart matches the preview (i.e. with all tool tips visible for all points).
• It does not matter which Theme you choose.
• If we clear the series data and re-add all series data after applying a theme then everything is ok.
Any advice would be appreciated.
- Attachments
-
- Theme_MarkTips.png (129.43 KiB) Viewed 35063 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Compatibility of .Tee files with ActiveX control
Hello,
We are in the process of making changes to the TeeChart themes for the next version of TeeChart.NET, which has yet to be made public. I was wondering if you would like to run your test again, this time using a test evaluation version of TeeChart.dll which you can download from here:
http://www.teechart.net/files/public/su ... eChart.zip
Does this version resolve any of the problems you mention? Which ones are still left to resolve?
We are in the process of making changes to the TeeChart themes for the next version of TeeChart.NET, which has yet to be made public. I was wondering if you would like to run your test again, this time using a test evaluation version of TeeChart.dll which you can download from here:
http://www.teechart.net/files/public/su ... eChart.zip
Does this version resolve any of the problems you mention? Which ones are still left to resolve?
Best Regards,
Christopher Ireland / 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 |
Re: Compatibility of .Tee files with ActiveX control
How do I safely install/use the beta version ?
I tried copying the new TeeChart.dll to my target build folder (but this does not work).
My Visual Studio (VS) project automatically picks up (and builds against) the installed version 4.1.2018.5045
from the path C:\Program Files (x86)\Steema Software\Steema Folder\
I considered but am nervous of changing the (VS) Toolbox-> .NetFramework Components path to the new dll.
Is it safe to do this ?
I tried copying the new TeeChart.dll to my target build folder (but this does not work).
My Visual Studio (VS) project automatically picks up (and builds against) the installed version 4.1.2018.5045
from the path C:\Program Files (x86)\Steema Software\Steema Folder\
I considered but am nervous of changing the (VS) Toolbox-> .NetFramework Components path to the new dll.
Is it safe to do this ?
Re: Compatibility of .Tee files with ActiveX control
Hello,
You could create a new toolbox tab and choose items, browsing for the new dll. The original tab will then not be visible but is still there. The new tab/items could be removed after the test to reshow the original tab.
Alternatively....
Remove the reference to the existing teechart.dll from your project and add the new dll, browsing for it on disk. The project will be recompilable with the new assembly and you can return to the original dll/assembly in the same way, when ready after the test.
Regards,
Marc Meumann
You could create a new toolbox tab and choose items, browsing for the new dll. The original tab will then not be visible but is still there. The new tab/items could be removed after the test to reshow the original tab.
Alternatively....
Remove the reference to the existing teechart.dll from your project and add the new dll, browsing for it on disk. The project will be recompilable with the new assembly and you can return to the original dll/assembly in the same way, when ready after the test.
Regards,
Marc Meumann
Steema Support
Re: Compatibility of .Tee files with ActiveX control
Thank you for the information.
I have tried the evaluation version as you suggested.
Good news some of our issues are now resolved.
However the main issue with Themes (and MarkTips) remains.
Is there anything further we can try ?
I have tried the evaluation version as you suggested.
Good news some of our issues are now resolved.
However the main issue with Themes (and MarkTips) remains.
Is there anything further we can try ?
- Attachments
-
- Theme_MarkTips_Evaluation.png (200.44 KiB) Viewed 35011 times
Re: Compatibility of .Tee files with ActiveX control
Hello,
We'll run a test here to see whether we can reproduce the issue to suggest a fix/workaround for it.
Regards,
Marc
We'll run a test here to see whether we can reproduce the issue to suggest a fix/workaround for it.
Regards,
Marc
Steema Support
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Compatibility of .Tee files with ActiveX control
Hello,
I'm afraid I haven't been able to reproduce this issue, and I was wondering if you could help me do so. Am I right in my assumption that you are using the TeeToTen tool to convert a TeeChartAX-created *.tee file to a TeeChartNET-compatible *.ten file? If so, would you please be so kind as to send me an example TeeChartAX-created *.tee file which we can feed into TeeToTen to try and reproduce the issue?
I'm afraid I haven't been able to reproduce this issue, and I was wondering if you could help me do so. Am I right in my assumption that you are using the TeeToTen tool to convert a TeeChartAX-created *.tee file to a TeeChartNET-compatible *.ten file? If so, would you please be so kind as to send me an example TeeChartAX-created *.tee file which we can feed into TeeToTen to try and reproduce the issue?
Best Regards,
Christopher Ireland / 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 |
Re: Compatibility of .Tee files with ActiveX control
Hi,
Sorry for the confusion this problem does not involve Tee files import (That was my original question).
The issue here is that Theme selection through the Tee Editor sets All marker tips to be displayed.
I cannot reproduce this with a single series but the (2 series) code snippet below reproduces the issue for me.
Steps to reproduce:
1. Setup a plot with 2 series as below.
2. At runtime bring up the TeeEditor
3. Navigate to the Theme Tab and select any theme
4. The preview will show all MarkTips are on
5. Apply the theme (all mark tips are turned on i.e. on the actual plot as per previous screenshots)
6. Navigate to Series-Mark Tab
Series-Marks-All Series Visible is checked for each series
- Deselect the All Series option
- Reselect the Visible option
7. Close the Tee Editor
Result all Mark tips are visible for all points
Note
- When I change the Theme type (at step 3) both options are on by default.
If the plot has a large number of points I would argue that All series Visible default should be off (unchecked).
- If I switch the series back and forth (at step 6) with the drop down list the (All series and Visible) settings
are not remembered i.e. both options are turned(back) on(checked) when I select a different series.
public void AddSeriesPlots()
{
Steema.TeeChart.Styles.Line lineSeries1;
editChart1.GetChart().Series.Add(lineSeries1 = new Steema.TeeChart.Styles.Line());
lineSeries1.FillSampleValues(1000);
lineSeries1.Pointer.Visible = true;
editChart1.AddSeriesTip(lineSeries1, 1500);
lineSeries1.Marks.DrawEvery = 0;
Steema.TeeChart.Styles.Line lineSeries2;
editChart1.GetChart().Series.Add(lineSeries2 = new Steema.TeeChart.Styles.Line());
lineSeries2.FillSampleValues(1200);
lineSeries2.Pointer.Visible = true;
editChart1.AddSeriesTip(lineSeries2, 1500);
}
public void AddSeriesTip(Steema.TeeChart.Styles.Line line, int delay)
{
Steema.TeeChart.Tools.MarksTip markstip = new Steema.TeeChart.Tools.MarksTip(tChart1.Chart);
markstip.Series = line;
markstip.Style = Steema.TeeChart.Styles.MarksStyles.XY;
markstip.HideDelay = Int16.MaxValue;
markstip.MouseDelay = 250;
}
Sorry for the confusion this problem does not involve Tee files import (That was my original question).
The issue here is that Theme selection through the Tee Editor sets All marker tips to be displayed.
I cannot reproduce this with a single series but the (2 series) code snippet below reproduces the issue for me.
Steps to reproduce:
1. Setup a plot with 2 series as below.
2. At runtime bring up the TeeEditor
3. Navigate to the Theme Tab and select any theme
4. The preview will show all MarkTips are on
5. Apply the theme (all mark tips are turned on i.e. on the actual plot as per previous screenshots)
6. Navigate to Series-Mark Tab
Series-Marks-All Series Visible is checked for each series
- Deselect the All Series option
- Reselect the Visible option
7. Close the Tee Editor
Result all Mark tips are visible for all points
Note
- When I change the Theme type (at step 3) both options are on by default.
If the plot has a large number of points I would argue that All series Visible default should be off (unchecked).
- If I switch the series back and forth (at step 6) with the drop down list the (All series and Visible) settings
are not remembered i.e. both options are turned(back) on(checked) when I select a different series.
public void AddSeriesPlots()
{
Steema.TeeChart.Styles.Line lineSeries1;
editChart1.GetChart().Series.Add(lineSeries1 = new Steema.TeeChart.Styles.Line());
lineSeries1.FillSampleValues(1000);
lineSeries1.Pointer.Visible = true;
editChart1.AddSeriesTip(lineSeries1, 1500);
lineSeries1.Marks.DrawEvery = 0;
Steema.TeeChart.Styles.Line lineSeries2;
editChart1.GetChart().Series.Add(lineSeries2 = new Steema.TeeChart.Styles.Line());
lineSeries2.FillSampleValues(1200);
lineSeries2.Pointer.Visible = true;
editChart1.AddSeriesTip(lineSeries2, 1500);
}
public void AddSeriesTip(Steema.TeeChart.Styles.Line line, int delay)
{
Steema.TeeChart.Tools.MarksTip markstip = new Steema.TeeChart.Tools.MarksTip(tChart1.Chart);
markstip.Series = line;
markstip.Style = Steema.TeeChart.Styles.MarksStyles.XY;
markstip.HideDelay = Int16.MaxValue;
markstip.MouseDelay = 250;
}
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Compatibility of .Tee files with ActiveX control
Hello,
thank you, and sorry for the confusion, I've now been able to reproduce your issue here and am working on a fix to it!
thank you, and sorry for the confusion, I've now been able to reproduce your issue here and am working on a fix to it!
Best Regards,
Christopher Ireland / 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 |
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Compatibility of .Tee files with ActiveX control
Hello,
http://www.teechart.net/files/public/su ... Chart2.zip
Okay, I think I've fixed this issue - would you please be so kind as to test whether the attached test teechart.dll works as expected for you?Christopher wrote: ↑Mon Aug 20, 2018 2:58 pmthank you, and sorry for the confusion, I've now been able to reproduce your issue here and am working on a fix to it!
http://www.teechart.net/files/public/su ... Chart2.zip
Best Regards,
Christopher Ireland / 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 |
Re: Compatibility of .Tee files with ActiveX control
Hi Chris,
I am sorry looks like my earlier reply did not post.
The good news is that the fix does work as expected when I change the Theme type in the Tee Editor, thank you for this.
There are still issues if you navigate to Series ... Marks Tab (in the TeeEditor) but I can I can see that may be the desired behaviour so this is OK.
In my two series example:The Visible and All Series Visible options are both checked if you navigate to Series ... Marks Tab and (the check boxes) do not remember state if you turn All Series Visible off and change the series (drop down).
Thank you gain for your support
I am sorry looks like my earlier reply did not post.
The good news is that the fix does work as expected when I change the Theme type in the Tee Editor, thank you for this.
There are still issues if you navigate to Series ... Marks Tab (in the TeeEditor) but I can I can see that may be the desired behaviour so this is OK.
In my two series example:The Visible and All Series Visible options are both checked if you navigate to Series ... Marks Tab and (the check boxes) do not remember state if you turn All Series Visible off and change the series (drop down).
Thank you gain for your support
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Compatibility of .Tee files with ActiveX control
Hello!
Uncommenting this out enables the Chart Editor to be opened correctly on the Series Marks (I have already corrected this issue here). Once this is done I then run the following code:
and when I run this code and open the Chart Editor using:
I obtain the following:
As you can see, this is different to what you describe.
I'm not sure I can reproduce this with the TeeChart.dll I sent you in my last message. First off, the Chart Editor does not open on the Series Marks because of the following line:
Code: Select all
lineSeries1.Marks.DrawEvery = 0;
Code: Select all
public void AddSeriesPlots()
{
tChart1.Header.Text = Utils.Version;
void AddSeriesTip(Steema.TeeChart.Styles.Line line, int delay)
{
Steema.TeeChart.Tools.MarksTip markstip = new Steema.TeeChart.Tools.MarksTip(tChart1.Chart);
markstip.Series = line;
markstip.Style = Steema.TeeChart.Styles.MarksStyles.XY;
markstip.HideDelay = Int16.MaxValue;
markstip.MouseDelay = 250;
}
Steema.TeeChart.Styles.Line lineSeries1;
tChart1.Series.Add(lineSeries1 = new Steema.TeeChart.Styles.Line());
lineSeries1.FillSampleValues(1000);
lineSeries1.Pointer.Visible = true;
AddSeriesTip(lineSeries1, 1500);
//lineSeries1.Marks.DrawEvery = 0;
Steema.TeeChart.Styles.Line lineSeries2;
tChart1.Series.Add(lineSeries2 = new Steema.TeeChart.Styles.Line());
lineSeries2.FillSampleValues(1200);
lineSeries2.Pointer.Visible = true;
AddSeriesTip(lineSeries2, 1500);
}
Code: Select all
private void button1_Click(object sender, EventArgs e)
{
tChart1.ShowEditor();
}
As you can see, this is different to what you describe.
Best Regards,
Christopher Ireland / 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 |
Re: Compatibility of .Tee files with ActiveX control
Hi,
As per your explanation you can consider this closed.
Thank you again for your support
As per your explanation you can consider this closed.
Thank you again for your support