Hi Jeff,
If you want an empty gap, you can use Axis.setMargin. If you are using an XYChart with addHLOCLayer, please use:
c.xAxis().setMargin(100);
If you are using a FinanceChart, please apply Axis.setMargin to the first chart added into the FinanceChart. For example, if the first chart is the main price chart, then the code is like:
// Assume the main price chart is the first chart added to the FinanceChart
XYChart c = myFinanceChart.addMainChart(....);
c.xAxis().setMargin(100);
Hope this can help.
Regards
Peter Kwan |