// .setSelectionMode(DefaultListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
//
// CheckBoxGroup<ISeries> legend =
// new CheckBoxGroup<>(new PlotterLegendGroupModel(model),
// selectionModel);
chart = new BasicChart(model, new CoordinateSystemXY(model));
chart.setShowLegend(false);
panel.setLayout(new BorderLayout());
panel.add(chart, BorderLayout.CENTER);
// panel.add(new JScrollPane(legend), BorderLayout.LINE_END);