title: Enabling/Disabling drawing of a JFreeChart
body: <p>I have a chart created as shown below, and I am adding values to the TimeSeries (in a different location in my program). The ChartPanel is actually contained within a JTabbedPane, and I would like to not redraw the chart unless it's tab is being displayed. Is there any way for me to signal that rendering should not occur when new data comes into the TimeSeries unless that tab is the one currently being shown? I'm guessing there is some call that signals the data has been updated and a new rendering is needed, so basically I want to intercept that call and do nothing if the tab is not being shown, let the call through if the tab is being shown, and call it once manually when the user switches to that tab. This isn't a major issue with one ChartPanel in the background, but I have a few on different tabs and it's starting to eat CPU like nasty to update 4-5 charts constantly. </p>
  
  <pre><code>    sAccuracy = new TimeSeries("a");
      TimeSeriesCollection dataset = new TimeSeriesCollection(sAccuracy);
      JFreeChart c = ChartFactory.createTimeSeriesChart("Accuracy",
              "", "Percent", dataset, false, false, false);
  
      ChartPanel cp = new ChartPanel(c);
  </code></pre>