Page 1 of 1

Different colours in the same TBarSeries value

Posted: Wed May 09, 2007 8:25 am
by 9349361
Hello - is there a way, using a standard TBarSeries, to colour each bar differently in different sections?

For example, if I had a bar with a value of £120, I'd like the lower portion of the bar up to 100 to be one colour, and the portion of the bar from 100 to 120 to be a different colour. This is to show the relative "risk" associated with different portions of an income.

I know I can probably create something similar using a combination of series and stacking, but I wondered if there was a simple way to do it using a single series.

Many thanks,

Richard Stevens
BOE
(Using TeeChart 7 on Delphi 7)

Posted: Wed May 09, 2007 8:37 am
by narcis
Hi Richard,
I know I can probably create something similar using a combination of series and stacking, but I wondered if there was a simple way to do it using a single series.
Not that I can think of. The only way to achieve that is using stacked bar series.

Posted: Wed May 09, 2007 8:41 am
by 9349361
Thanks for your quick reply.