title: How to create line chart with multiple colors
body: <p>How to create a line chart to indicate the on and off states of a component between given set of time periods.I want the charts to be created in java using jfreechart.The sample o/p i need is:</p>
  
  <p>The elements are,
  the different electronic components and the green line,red line and orange indicates working, not working and semi working conditions of the component at the given time represented in X axis.</p>