title: Difficulty Changing background colour of JFreeChart
body: <p>Im trying to change the <strong>background color</strong> to my bar chart and so far nothing seems to be working</p>
  
  <p>Here is my code below:</p>
  
  <pre><code>JFreeChart expbarchart = ChartFactory.createBarChart("Monthly Expenditures", "Expenditure Type", "Amount (£)", barexp, PlotOrientation.VERTICAL, false, true, false);
      ChartPanel expframe = new ChartPanel(expbarchart);
      expframe.setLocation(695, 49);
      expframe.setSize(641,500);
      expframe.setBorder(new EtchedBorder(EtchedBorder.LOWERED, new Color(173, 216, 230), null));
      graphpanel.add(expframe);
  </code></pre>
  
  <p>I have tried doing <code>.setbackground()</code> and it does not seem to work</p>
  
  <p>Thanks</p>