Fixed colours in palette

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
gs
Newbie
Newbie
Posts: 84
Joined: Mon Mar 20, 2006 12:00 am
Location: US

Fixed colours in palette

Post by gs » Thu Jan 31, 2008 2:24 pm

I have a surface chart, and the default colouring appears to divide the range into bins and assign colours to the surface depending on which part of the range it lies in, so that a plot containing values from 0 to 1 will have the same colouring as one containing values from 0 to 100.

I want to fix the palette so that the colour depends on an absolute scale rather than relative to the rest of the curve. So, for example, if the z value is between [0,1) it is red, between [1,2) it is blue, between [2,3) it is green and so on... How can I do this?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Jan 31, 2008 2:33 pm

Hi gs,

You can define a custom palette as in the example Marjan posted here.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply