How can get a TCustomChart's TChartThemeclass?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jeff
Newbie
Newbie
Posts: 11
Joined: Wed Oct 28, 2015 12:00 am

How can get a TCustomChart's TChartThemeclass?

Post by Jeff » Fri Nov 13, 2015 5:49 am

I want to know a chart's current themeclass,

how can get a Chart's TChartThemeclass?

Use in ApplyChartTheme(theme:TChartThemeclass; const chart:TCustomChart..);

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

Re: How can get a TCustomChart's TChartThemeclass?

Post by Yeray » Fri Nov 13, 2015 4:14 pm

Hello,

A theme is basically a tee file with a particular format. ApplyChartTheme loads that tee file into a temporal chart and applies a number of properties from that temporal chart to your target chart. These properties are basically related with the aspect like the Palette, the font used for Labels, Marks and Titles, etc.
I'm afraid after applying these changes nothing about the theme used is stored. Imagine you change a font after loading a theme, if we store the name of the theme loaded we should remove that relation after changing any aspect property.
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

Jeff
Newbie
Newbie
Posts: 11
Joined: Wed Oct 28, 2015 12:00 am

Re: How can get a TCustomChart's TChartThemeclass?

Post by Jeff » Fri Nov 13, 2015 5:58 pm

Thank you, it's too hard access to your website, sometime have to use VPN, CN's network is so DAMN!

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

Re: How can get a TCustomChart's TChartThemeclass?

Post by Yeray » Mon Nov 16, 2015 11:57 am

Hello,
Jeff wrote:Thank you, it's too hard access to your website, sometime have to use VPN, CN's network is so DAMN!
We'll see if there's anything we can do to improve the access from China.
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

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

Re: How can get a TCustomChart's TChartThemeclass?

Post by Yeray » Mon Nov 16, 2015 3:31 pm

Hello,

Both www.steema.com and www.teechart.net seem to be ok from China according to this site.
Could you please add some more details on what exact problems do you find with our site?
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