this(idProvider, title, yAxisTitle, null);
}
private void initialize() {
final CategoryAxis xAxis = new CategoryAxis();
final NumberAxis yAxis = new NumberAxis();
yAxis.setTickLabelFormatter(new NumberAxis.DefaultFormatter(yAxis, yUnit, null));
final LineChart chart = new LineChart(xAxis, yAxis);
chart.setLegendVisible(false);
chart.setTitle(title);
yAxis.setLabel(yAxisTitle);
yAxis.setForceZeroInRange(true);
this.series = new XYChart.Series<String, Number>();
chart.getData().add(series);
this.chart = chart;
this.chart.setId("snapshotChart");
deactivate();