Different color for open * close ticks on OHLC graphs

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Satish
Newbie
Newbie
Posts: 37
Joined: Fri Mar 04, 2005 5:00 am

Different color for open * close ticks on OHLC graphs

Post by Satish » Tue Mar 08, 2005 4:33 am

I am trying to plot an OHLC graph and need to have different colors for the high-low bar, the open tick (left side) and close tick (right side).

Right now, I am able to get the the OHLC graph all in a single color, Could somebody please guide me to as to how to have different user-defined colors for the open and close ticks ?

Satish

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

Post by Narcís » Tue Mar 08, 2005 9:07 am

Hi Satish,

You can do it design-time using the chart editor to change the series open and close colors or run-time using:

Code: Select all

  Series1.UpCloseColor:=clRed;
  Series1.DownCloseColor:=clWhite;
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

Satish
Newbie
Newbie
Posts: 37
Joined: Fri Mar 04, 2005 5:00 am

Post by Satish » Wed Mar 09, 2005 6:00 pm

Narcis,

I think I did not communicate my requirement clearly. I wish to draw a OHLC chart and have three different colors for the upclosedays and another three different for downclosedays. The three different colors are for :-

1. HL bar
2. Close Tick (right side)
3. Open Tick (left side)

Am using upclosecolor & downclosecolor - this assigns the same color for HL Bar, Open tick & Close tick. Any ideas how to get around this.

Satish

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 Mar 10, 2005 10:06 am

Hi Satish,

I'm afraid what you request can't be done by now. I've included this to our wish-list to be considered for future releases.
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

Satish
Newbie
Newbie
Posts: 37
Joined: Fri Mar 04, 2005 5:00 am

Post by Satish » Thu Mar 10, 2005 1:48 pm

Thx - hope to see it included in the next version.

Post Reply