Page 1 of 1
How can get a TCustomChart's TChartThemeclass?
Posted: Fri Nov 13, 2015 5:49 am
by 16576728
I want to know a chart's current themeclass,
how can get a Chart's TChartThemeclass?
Use in ApplyChartTheme(theme:TChartThemeclass; const chart:TCustomChart..);
Re: How can get a TCustomChart's TChartThemeclass?
Posted: Fri Nov 13, 2015 4:14 pm
by yeray
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.
Re: How can get a TCustomChart's TChartThemeclass?
Posted: Fri Nov 13, 2015 5:58 pm
by 16576728
Thank you, it's too hard access to your website, sometime have to use VPN, CN's network is so DAMN!
Re: How can get a TCustomChart's TChartThemeclass?
Posted: Mon Nov 16, 2015 11:57 am
by yeray
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.
Re: How can get a TCustomChart's TChartThemeclass?
Posted: Mon Nov 16, 2015 3:31 pm
by yeray
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?