ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  candlestick chart with A variety of colors
Posted by Morning on Dec-05-2014 15:43
Attachments:
Hi Peter:
   I have a question.i want draw a canlestick chart with 5 of 7 fill colors.

   Is there any way? give me an example code please.
QQ__20141205143250.jpg

  Re: candlestick chart with A variety of colors
Posted by Peter Kwan on Dec-06-2014 03:17
Hi Morning,

You can create such a candlestick chart with multiple candle stick layers, with each layer
containing candlesticks of one color. If you need an example, please let me know what is
your programming language and whether you are writing a web or desktop application.

Regards
Peter Kwan

  Re: candlestick chart with A variety of colors
Posted by Morning on Dec-06-2014 10:35
Hi Peter :
THANK YOU VERY MUCH @>>>>>---------
I using C++ with QT.it's a  desktop application.

  Re: candlestick chart with A variety of colors
Posted by Peter Kwan on Dec-09-2014 03:28
Attachments:
Hi Morning,

I have attached a simple C++ example that creates a candlestick chart with 4 colors. It is
based on the command line version of the "Candlestick Chart" sample code. Basically,
instead of one candlestick layer, it separates the data into 4 layers, with each layer
responsible for one of the colors.

Hope this can help.

Regards
Peter Kwan
candlestick.png
candlestick.cpp
candlestick.cpp

4.77 Kb

  Re: candlestick chart with A variety of colors
Posted by Morning on Dec-09-2014 08:17
THANK YOU ,it's helpful