Different colours in the same TBarSeries value
Posted: Wed May 09, 2007 8:25 am
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)
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)