/** Creates new form BasicDialog */
 public BasicDialog(java.awt.Frame parent, boolean modal) {
   super(parent, modal);
   initComponents();
   IPanelControlChart controlChart1 = new PanelControlChart();
   IPanelShowChart showChart = new linechart();
   controlChart1.setPanelShow(showChart);
   setPanelControl(controlChart1);
   showDefaut();
 }
 @Override
 public final void showDefaut() {
   if (controlChart != null) {
     scrollPane.setViewportView((JPanel) controlChart);
     controlChart.showDefault();
   }
 }
 @Override
 public void viewData() {
   if (controlChart != null) {
     controlChart.viewData();
   }
 }