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

Message ListMessage List     Post MessagePost Message

  two addCloseLine.... Finance Chart...
Posted by JJJ on Sep-01-2011 18:23
Attachments:
Hi Peter,


how can ...
Closing Price x2



ChartDirector Ver 5.0
Finance Chart


Thanks
未命名 - 1.jpg

  Re: two addCloseLine.... Finance Chart...
Posted by Peter Kwan on Sep-02-2011 00:13
Hi JJJ,

You can just add two lines to the main price chart using FinanceChart.addLineIndicator2. For example:


FinanceChart c = new FinanceChart(...);
....

XYChart m = c.addMainChart(....);
c.addLineIndicator2(m, closeData, 0xff0000, "Stock 1");
c.addLineIndicator2(m, closeData2, 0x0000ff, "Stock 2");

....


Hope this can help.

Regards
Peter Kwan

  Re: two addCloseLine.... Finance Chart...
Posted by JJJ on Sep-08-2011 15:38
Thanks Peter