series.setYSeries(ySeries);
IAxisSet axisSet = chart.getAxisSet();
IAxis xAxis = axisSet.getXAxis(0);
// xAxis.adjustRange();
xAxis.setRange(new Range(0.001, 10));
xAxis.getTitle().setText("Grain Size ( mm )");
xAxis.enableLogScale(true);
IAxis yAxis = axisSet.getYAxis(0);
yAxis.getTitle().setText("Percent Finer");
// yAxis.setPosition(Position.Secondary);
yAxis.setRange(new Range(0, 100));
// axisSet.adjustRange();
chart.update();
}