code: public JFreeChartRender setStyle(int style) {
          switch (style) {
              case JFreeChartRender.STYLE_THESIS:
                  return this.setBaseShapesVisible(true).
                          setBaseShapesFilled(false).
                          setBaseLinesVisible(false).
                          setLegendItemFont(new Font("Dialog", Font.PLAIN, 9)).
                          setBackgroundPaint(Color.white).
                          setGridPaint(Color.gray).
                          setInsertLast(false).
                          removeLegend();
              case JFreeChartRender.STYLE_THESIS_LEGEND:
                  return this.setBaseShapesVisible(true).
                          setBaseShapesFilled(false).
                          setBaseLinesVisible(false).
                          setLegendItemFont(new Font("Dialog", Font.PLAIN, 9)).
                          setBackgroundPaint(Color.white).
                          setGridPaint(Color.gray).
                          setInsertLast(false);
              default:
                  return this;
          }
      }
docs: Applies prepared style to a chart.
  
  Recognizes {@link JFreeChartRender#STYLE_THESIS} and {@link JFreeChartRender#STYLE_THESIS_LEGEND}.
  
  @param style code of style
  @return updated chart