Exemplo n.º 1
0
    /** The constructor for the custom renderer, which will set the colours of the Area */
    public CustomRenderer() {
      ColourMap mappedColours = GetColourMap();
      this.setSeriesShape(0, ShapeUtilities.createDiagonalCross(SCATTERPOINTSIZE, 1));

      this.colors = new Paint[mappedColours.getColourArray().length];

      for (int i = 0; i < mappedColours.getColourArray().length; i++) {
        this.colors[i] = mappedColours.getColour(i);
      }
    }