Series format "panel".

TeeChart for ActiveX, COM and ASP
Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Series format "panel".

Post by Narcís » Mon Sep 12, 2011 12:06 pm

Hi Tony,

I have found that line below fails using ChartEditorPanel so I have added it (TA05015736) to the defect list to be fixed ASAP.

Code: Select all

      axChartEditorPanel1.Editor.ShowPages.Aspect = false;
I also found that Animations tab can not be hidden because Editor.ShowPages.Animations doesn't exist, another bug (TA05015737)

So the best I could get for now was using a CharEditor component and this code:

Code: Select all

    public Form1()
    {
      InitializeComponent();
      InitializeChart();
    }

    private void InitializeChart()
    {
      axTChart1.AddSeries(TeeChart.ESeriesClass.scLine);
      axTChart1.Series(0).FillSampleValues();

      axTChart1.AddSeries(TeeChart.ESeriesClass.scLine);
      axTChart1.Series(1).FillSampleValues();

      axTChart1.Series(0).ShowInEditor = false;

      axChartEditorPanel1.ChartLink = axTChart1.ChartLink;
    }

    private void button1_Click(object sender, EventArgs e)
    {
      axTeeEditor1.ChartLink = axTChart1.ChartLink;

      axTeeEditor1.ShowPages.Axis = false;
      axTeeEditor1.ShowPages.Aspect = false;
      axTeeEditor1.ShowPages.ExportDialog = false;
      axTeeEditor1.ShowPages.ExportNative = false;
      axTeeEditor1.ShowPages.General = false;
      axTeeEditor1.ShowPages.Legend = false;
      axTeeEditor1.ShowPages.Main = false;
      axTeeEditor1.ShowPages.OpenGL = false;
      axTeeEditor1.ShowPages.Paging = false;
      axTeeEditor1.ShowPages.Panel = false;
      axTeeEditor1.ShowPages.PrintPreview = false;
      axTeeEditor1.ShowPages.SeriesData = false;
      axTeeEditor1.ShowPages.SeriesMarks = false;
      axTeeEditor1.ShowPages.Themes = false;
      axTeeEditor1.ShowPages.Titles = false;
      axTeeEditor1.ShowPages.Tools = false;
      axTeeEditor1.ShowPages.Walls = false;

      axTeeEditor1.ShowEditor();
    }
I'll check if those issues can be easily fixed so that we can provide you with an ocx file with them fixed. I will get back to you when I have further news.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

TonyVSUK
Advanced
Posts: 163
Joined: Wed Mar 01, 2006 12:00 am

Re: Series format "panel".

Post by TonyVSUK » Wed Sep 14, 2011 12:41 pm

Any update on this?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Series format "panel".

Post by Narcís » Fri Sep 16, 2011 2:54 pm

Hi Tony,

Ok, after some confussion finally we cleared this up. You can already do what you requested using ShowSeriesEditor method, for example:

Code: Select all

      axTChart1.ShowSeriesEditor(0);
We are also working on fixing TA05015736 and TA05015737.

Sorry for the confusion caused.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Series format "panel".

Post by Narcís » Fri Sep 16, 2011 3:21 pm

Hi Tony,

Ok, the solution to TA05015736 is using a ChartEditor between the Chart and ChartEditorPanel, for example:

Code: Select all

      axTChart1.AddSeries(TeeChart.ESeriesClass.scLine);
      axTChart1.Series(0).FillSampleValues();
      
      axTeeEditor1.ShowPages.Aspect = false;
      axChartEditorPanel1.EditorLink = axTeeEditor1.EditorLink;

      axChartEditorPanel1.ChartLink = axTChart1.ChartLink;
And finally, for TA05015737 I'm going to send you a new ocx with the fix to be able to hide the Animations tab. So now you can do this:

Code: Select all

      axTChart1.AddSeries(TeeChart.ESeriesClass.scLine);
      axTChart1.Series(0).FillSampleValues();

      axTeeEditor1.ChartLink = axTChart1.ChartLink;

      axTeeEditor1.ShowPages.Aspect = false;
      axTeeEditor1.ShowPages.Animations = false;
      //hide other necessary tabs hire
This can not be done using ChartEditorPanel, it can not be customised you can only assign an editor to it.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

TonyVSUK
Advanced
Posts: 163
Joined: Wed Mar 01, 2006 12:00 am

Re: Series format "panel".

Post by TonyVSUK » Thu Sep 22, 2011 10:20 am

Thanks for the OCX.

But something is still not right. When I update my test code so that I've got
AxTeeEditor1.ShowPages.Animations = False

Nothing shows up in the resulting editor. If I leave the animations as shown, then the series editor appears as well.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Series format "panel".

Post by Narcís » Thu Sep 22, 2011 10:41 am

Hi Tony,

I think I could reproduce the problem using code below. Hiding Animations tab nothing is displayed in Series tab. Displaying Animations makes Series tab being correctly displayed too. I have added the bug (TA05015752) to the defect list.

Code: Select all

      axTChart1.AddSeries(TeeChart.ESeriesClass.scLine);
      axTChart1.Series(0).FillSampleValues();

      axTeeEditor1.ChartLink = axTChart1.ChartLink;

      axTeeEditor1.ShowPages.Aspect = false;
      axTeeEditor1.ShowPages.Animations = false;
      //axTeeEditor1.ShowPages.AllSeries = false;
      axTeeEditor1.ShowPages.Axis = false;
      axTeeEditor1.ShowPages.ExportDialog = false;
      axTeeEditor1.ShowPages.ExportNative = false;
      axTeeEditor1.ShowPages.General = false;
      axTeeEditor1.ShowPages.Legend = false;
      axTeeEditor1.ShowPages.Main = false;
      axTeeEditor1.ShowPages.OpenGL = false;
      axTeeEditor1.ShowPages.Paging = false;
      axTeeEditor1.ShowPages.Panel = false;
      axTeeEditor1.ShowPages.PrintPreview = false;
      axTeeEditor1.ShowPages.SeriesData = false;
      //axTeeEditor1.ShowPages.SeriesGeneral = false;
      axTeeEditor1.ShowPages.SeriesMarks = false;
      axTeeEditor1.ShowPages.Themes = false;
      axTeeEditor1.ShowPages.Titles = false;
      axTeeEditor1.ShowPages.Tools = false;
      axTeeEditor1.ShowPages.Walls = false;

      axTeeEditor1.ShowEditor();
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

TonyVSUK
Advanced
Posts: 163
Joined: Wed Mar 01, 2006 12:00 am

Re: Series format "panel".

Post by TonyVSUK » Thu Sep 22, 2011 10:52 am

Are you able to send another OCX (as you did before)?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Series format "panel".

Post by Narcís » Thu Sep 22, 2011 11:13 am

Hi Tony,

I'm afraid not. I have just checked this issue comes from TeeChart VCL, TeeChart ActiveX is a COM wrapper of the VCL version, so I changed the issue to a VCL one: TV52015752. Some of the previous problems were due to some constants not being defined in the ActiveX version so it was just adding them and compiling the ocx. Now the bug needs to be fixed in the VCL version and then an ocx will have to be compiled. I'll add a comment to send you a ocx when the bug is fixed.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Series format "panel".

Post by Narcís » Thu Sep 22, 2011 11:41 am

Hi Tony,

I have also found that it's not only Animations tab, other tabs (Tools, Print Preview, Export, Data, etc.) have the same effect over Series tab.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

TonyVSUK
Advanced
Posts: 163
Joined: Wed Mar 01, 2006 12:00 am

Re: Series format "panel".

Post by TonyVSUK » Mon Oct 31, 2011 11:57 am

Any developments on this?

The only reason I upgraded was to get this functionality.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Series format "panel".

Post by Yeray » Mon Oct 31, 2011 12:49 pm

Hello Tony,
TonyVSUK wrote:Any developments on this?
I'm afraid TV52015752 hasn't been fixed yet. Please be aware at the following channels for new release announcements and what's implemented on them: Support forum, RSS news feed, Twitter or Facebook.
TonyVSUK wrote:The only reason I upgraded was to get this functionality.
Did you read somewhere that this was fixed?
Contact the sales department asap if you want to revert the operation.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

TonyVSUK
Advanced
Posts: 163
Joined: Wed Mar 01, 2006 12:00 am

Re: Series format "panel".

Post by TonyVSUK » Mon Oct 31, 2011 1:02 pm

Did you read somewhere that this was fixed?
Contact the sales department asap if you want to revert the operation.
http://www.teechart.net/support/viewtop ... 353#p54401

I want a refund. It seems to me that bugs are never fixed, I could be waiting years for any developments.

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Series format "panel".

Post by Yeray » Mon Oct 31, 2011 3:23 pm

Hello Tony,
TonyVSUK wrote:viewtopic.php?f=1&t=11353#p54401
When I said "Give it a try" I was inviting you to try the evaluation version to check the evolution of the issues yourself. Obviously I wasn't clear enough; excuse me for that.
TonyVSUK wrote:It seems to me that bugs are never fixed, I could be waiting years for any developments.
I'm sorry to hear you have this impression. I've checked the issues detected in this thread. Here it is the resume of their status:
Closed: TA05015736 (not a bug), TA05015048 (VCL: TV52015208).
Fixed: TA05015049, TA05015737.
Pending: TV52015752, TV52015208.
Feel free to correct me if I forgot something.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply