I am displaying a chart (FastLine Series) in 2 different modes, one that is updated in real time, and one that shows past data. When real time mode is selected, I would like to invert the colors of the Chart, Axes, Titles, Series, automatically. Is there any easy way to do this?
Thank you.
M Weingarden
Inverting chart / series colors automatically
-
- Newbie
- Posts: 3
- Joined: Fri Sep 05, 2014 12:00 am
Re: Inverting chart / series colors automatically
Hello Weingarden,
You could use Themes feature for this. You can create two custom themes, one for each mode, and set them when needed.
Take a look at this article on the blog:
http://steema.com/wp/blog/2014/03/17/te ... nd-themes/
You could use Themes feature for this. You can create two custom themes, one for each mode, and set them when needed.
Take a look at this article on the blog:
http://steema.com/wp/blog/2014/03/17/te ... nd-themes/
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 3
- Joined: Fri Sep 05, 2014 12:00 am
Re: Inverting chart / series colors automatically
The themes certainly will help out. Are there any examples in C++? When I try to compile ApplyChartTheme using one of the TXxxthemes as a parameter, I am getting an error. What is the correct way to call the routine in C++ (Rad Studio XE7)?
Thank you
Thank you
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Inverting chart / series colors automatically
Hello,
Apologies for the delayed reply here.
You can call ApplyChartTheme in C++ Builder like this:
Apologies for the delayed reply here.
You can call ApplyChartTheme in C++ Builder like this:
Code: Select all
TFlatTheme * flat = new TFlatTheme(Chart1);
ApplyChartTheme(flat->ClassType(),Chart1);
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 |