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

Message ListMessage List     Post MessagePost Message

  CandleStickLayer Color
Posted by real on Sep-27-2016 17:29
在FinanceChart的CandleStickLayer 中设置了颜色,也产生了变化
auto ret = c->addCandleStick(0xff3232,0x1eed9e);
ret->setColors(0xff3232,0xff3232,0x1eed9e,0x1eed9e);
然而有一个问题是,当open==close时,显示出的颜色总是0xff3232。而我需要的效果是open=close>lastClose时颜色为0xff3232,当open=close<lastClose时颜色是0x1eed9e。这个应该怎样去设置?还是这是一个bug?

  Re: CandleStickLayer Color
Posted by real on Sep-27-2016 17:55
Has been resolved  use:
setExtraColors