Page 1 of 1
Invers Rainbow Chart?
Posted: Thu Aug 14, 2008 1:27 pm
as you kan see at http://festplatte.aon.at/a/filemanager. ... tepok2.png
there is the default rainbow style with red for 0 and blue for MAX. How can I use a inverted rainbow style (0 = blue and MAX = red?)? Can anyone here give me some advice? Thanks
Posted: Thu Aug 14, 2008 4:53 pm
I could find the Rainbow Colorarray in the source files and so I could create a InvRainbow Colorpalette and upgraded the source with the psInvRainbow PaletteStyle. Now it works fine.
But I could not find out how I can upgrade the source for the Editor with the psInvRainboww Style. Where I have to find this ?
Thanks for help
Posted: Fri Aug 15, 2008 1:26 pm
I could successfully add the inv Rainbow Style to the Combo Box in the Editor also. Just add the Item in the ComboBox in TeeGriEd.pas.
Be aware that psCustom is the last style in the enum TTeePaletteStyle.
Posted: Mon Aug 25, 2008 9:59 am
If you don't want to have to modify TeeChart's sources you can use your own custom palette as shown here
Posted: Mon Aug 25, 2008 10:14 am
but the Rainbow has all the best colors, I would not be able to create better colors, than the rainbow has in it.
But thanks for your info.