Hi,
In a simple test project, I add a THistogramSeries, and at design time I can use a chart editor to set colours via the series Format tab.
But at run time, the Format tab is missing.
And, if I then pick from the chart editor's combo box another series that isn't a THistogramSeries, the chart editor does not show the Format tab for that series either.
I'm using TeeChart Pro. 2014.12.140923 32-bit VCL in XE7. Would updating help?
Regards
Toreba
TChartEditor fails to show series format tab
Re: TChartEditor fails to show series format tab
Hello Toreba,
Each Series class has a GetEditorClass to retrieve the class name of its editor. If your application includes the unit that contains that editor class, your editor will show the "Format" tab for that series.
Ie, the THistogramSeries editor is of the class THistogramSeriesEditor:
And THistogramSeriesEditor is defined in TeeHistoEdit. So adding TeeHistoEdit at your uses clause will make your editor to show the "Format" tab for the Histogram series.
Other units for specific editors are:
TeeCustEdit for TCustomSeries (TLineSeries, TVolumeSeries, TOHLCSeries)
TeePoEdi for TPointSeries (included in TeeCustEdit)
TeeFLineEdi for TFastLineSeries
TeeAreaEdit for TAreaSeries
TeeBarEdit for TCustomBarSeries (TBarSeries, THorizBarSeries)
TeeDonutEdit for TDonutSeries
TeePieEdit for TPieSeries (included in TeeDonutEdit)
Here I said:
You can load all the editors by adding the TeeEditPro unit into the uses section.
However, TeeEditPro uses TeeThemeEditor so it will also add the "Themes" tab to your editor.
Each Series class has a GetEditorClass to retrieve the class name of its editor. If your application includes the unit that contains that editor class, your editor will show the "Format" tab for that series.
Ie, the THistogramSeries editor is of the class THistogramSeriesEditor:
Code: Select all
class Function THistogramSeries.GetEditorClass:String;
begin
result:='THistogramSeriesEditor';
end;
Other units for specific editors are:
TeeCustEdit for TCustomSeries (TLineSeries, TVolumeSeries, TOHLCSeries)
TeePoEdi for TPointSeries (included in TeeCustEdit)
TeeFLineEdi for TFastLineSeries
TeeAreaEdit for TAreaSeries
TeeBarEdit for TCustomBarSeries (TBarSeries, THorizBarSeries)
TeeDonutEdit for TDonutSeries
TeePieEdit for TPieSeries (included in TeeDonutEdit)
Here I said:
But actually it adds some editors, not all (I'll edit that post).Yeray wrote:you can add the EditChar unit, that adds all the editors for you.
You can load all the editors by adding the TeeEditPro unit into the uses section.
However, TeeEditPro uses TeeThemeEditor so it will also add the "Themes" tab to your editor.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TChartEditor fails to show series format tab
Yeray,
Thanks very much for explaining how to resolve that problem. It works just fine now.
As you said, the 'Themes' tab is now displayed, and it looks as if that's a tab that I can't hide. Is that correct?
Regards
Toreba
Thanks very much for explaining how to resolve that problem. It works just fine now.
As you said, the 'Themes' tab is now displayed, and it looks as if that's a tab that I can't hide. Is that correct?
Regards
Toreba
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: TChartEditor fails to show series format tab
Hi Toreba,
You should be able to use HideTabs feature as shown in the All Features\Welcome!\Componets\Chart Editor\Chart Editor dialog example in the features demo, available at TeeChart's program group. However, themes tab is not an option available. I added your request to bugzilla: http://bugs.teechart.net/show_bug.cgi?id=1569
You should be able to use HideTabs feature as shown in the All Features\Welcome!\Componets\Chart Editor\Chart Editor dialog example in the features demo, available at TeeChart's program group. However, themes tab is not an option available. I added your request to bugzilla: http://bugs.teechart.net/show_bug.cgi?id=1569
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 |