log.error("StripChart: " + e);
log.error("StripChart: ", e);
  public void init(ChartDataModel data) {    // Create data source    //    data = new StripChartSource(chart);    // Add chart as a data source listener    getDataView(0).setDataSource(data);    // for customizing, when debugging only    //    setTrigger(0, new EventTrigger(Event.META_MASK, EventTrigger.CUSTOMIZE));    //    setAllowUserChanges(true);    // set up xaxis    JCAxis xaxis = getDataView(0).getXAxis();    //    xaxis.setTimeBase(new Date(System.currentTimeMillis()));    xaxis.setAnnotationMethod(JCAxis.TIME_LABELS);    xaxis.setTimeFormat("mm:ss");    xaxis.setTimeFormatIsDefault(false, true);    JCAxisTitle xTitle = new JCAxisTitle("Time");    xTitle.setPlacement(JCLegend.SOUTH);    xTitle.setPlacementIsDefault(false);    xaxis.setTitle(xTitle);        // set up yaxis    JCAxis yaxis = getDataView(0).getYAxis();    yaxis.setGridVisible(true);    //    yaxis.setMin(-1);    //    yaxis.setMax(1);    yaxis.setMin(0);    yaxis.setMax(100);    //    yaxis.setNumSpacing(.2);    yaxis.setNumSpacing(10);    JCAxisTitle yTitle = new JCAxisTitle("Relative Load");    yTitle.setPlacement(JCLegend.WEST);    yTitle.setPlacementIsDefault(false);    try {      yTitle.setRotation(ChartText.DEG_270);    } catch (Exception e) {      if(log.isErrorEnabled()) {        log.error("StripChart: " + e);      }    }    yaxis.setTitle(yTitle);    // Set Colors    setBackground(Color.lightGray);    setForeground(Color.black);    setOpaque(true);    getChartArea().setBackground(tan);    getChartArea().setForeground(Color.black);    getChartArea().setOpaque(true);    getChartArea().getPlotArea().setBackground(lightTan);    yaxis.getGridStyle().getLineStyle().setColor(Color.black);    getDataView(0).getSeries(0).getStyle().getSymbolStyle().setShape(JCSymbolStyle.NONE);    getDataView(0).getSeries(0).getStyle().getLineStyle().setColor(Color.blue);    // Borders    getChartArea().setBorder(BorderFactory.createRaisedBevelBorder());    getChartArea().setAxisBoundingBox(true);    // Fonts    getChartArea().setFont(new Font("Helvetica",Font.PLAIN,12));    setFont(new Font("Helvetica",Font.PLAIN,12));  }