Forum > TAChart

[solved] OHLC chart / Candle Stick in black and white

(1/1)

Nicole:
I have two series OHLC chart / Candle Stick.
One is green and red, - the second one as well. This is puzzling.
I wanted to draw it black and white and tried two ways and failed with both:

1)
I changed the settings in the object inspector for the series. A lot of settings.
The colors remained green and red.

2)
I tried it by code and wrote (there is only one parameter for colors?!):
SeriesKontrakt_2.AddXOHLC(kurse2.Datum, kurse2.open, kurse2.high, kurse2.low, kurse2.close, '', clBlack);
With the result, that ALL candles are black, raising as well as falling.

What can I do?
I use Lazarus 4 and Windows 7.

Thanks

wp:
Should be fixed in Laz/main. Please test and report back so that the changes can be backported to the fixes branch and will make it into v4.4.

Nicole:
Did I get it right: Problem in 4.0 and fixed in 4.4?
Is 4.4. stable?

wp:
Currently it is fixed in Main, and in the future it will be fixed in 4.4 (not yet released). Yes, v4.4. will be stable - like every version having an even number (4.4, 4.2, 4.0, 3.8, 3.6, ...)

Navigation

[0] Message Index

Go to full version