mix colors on candle chart

TeeChart for ActiveX, COM and ASP
Post Reply
dcurrier
Newbie
Newbie
Posts: 32
Joined: Thu Jul 15, 2004 4:00 am

mix colors on candle chart

Post by dcurrier » Fri Dec 17, 2004 3:56 pm

I was just asked if it was possible change candle colors in a single chart showing a mixed display.

For example:

The normal up candle is red, normal down is green.

Some candles in the chart are known to have some special characteristics and I would like to show them as up=white and down = black then revert to the original colors.

I played with it a bit and the displayed colors seem to take the settings for the final candle.

Is there a way to do this?

Thanks,

David

dcurrier
Newbie
Newbie
Posts: 32
Joined: Thu Jul 15, 2004 4:00 am

Post by dcurrier » Sat Dec 18, 2004 4:35 pm

Well I woke up this morning inspired.

I decided to clone the original candle series and then change the red/green to the white/black colors.

I displayed the original series and then displayed the new series with only the specific candles right on top of the first one.

This enabled me to still use some functions based on the original series and produce the desired visual effect.

Hopefully I'm the only one who lost sleep over this.

David

Post Reply