fun createDemoPanel(): javax.swing.JPanel? { val chart: JFreeChart = createChart(createDataset()) val panel = ChartPanel(chart, false) panel.setFillZoomRectangle(true) panel.setMouseWheelEnabled(true) return panel }
Creates a panel for the demo ( used by SuperDemo.java ) .