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 |