plotOptions.setDefaultPointsOptions(new PointsSeriesOptions().setRadius(2).setShow(true));
plotOptions.setDefaultShadowSize(1);
plotOptions.setLegendOptions(new LegendOptions().setShow(false));
plotOptions.setSelectionOptions(new SelectionOptions().setDragging(true).setMode("x"));
final PlotWithOverview plot = new PlotWithOverview(model, plotOptions);
// add hover listener
plot.addHoverListener(new PlotHoverListener() {
public void onPlotHover(Plot plot, PlotPosition position, PlotItem item) {
if (item != null) {