HI Debby,
First, may sure the two charts are using the same x-coordinates. Then in the line chart, please call Axis.setIndent on the x-axis. For example, in C#, it is like:
c.xAxis().setIndent(true);
The above is needed because by default, if a chart contains a bar layer or a box-whisker layer or a layer derived from the BaseBoxLayer, the x-axis will automatically be set to "indented". If the line chart does not use an indented axis, the x-axis labels may not match exactly.
Hope this can help.
Regards
Peter Kwan |