title: How to dynamically change line style in JavaFX 2.0 line chart?
body: <p>In our JavaFX project we need a line chart. I can easy stylize the whole chart and series using CSS, but content of our chart can change dynamically:</p>
  
  <ol>
  <li><p>number of series and their displaying order depends on user actions and his data. Each series represents a concrete data category and the each category has its own style, eg. category A is shown as a dotted line and category B is shown as a dashed line. The chart can contain 0 or more series for each category,</p></li>
  <li><p>style of series depends on data values too, eg. series line over the average is red, and below is blue.</p></li>
  </ol>
  
  <p>How to do it in JavaFX?</p>