Class BaseSeriesColors

java.lang.Object
de.edgesoft.edgeutils.xchart.BaseSeriesColors
All Implemented Interfaces:
org.knowm.xchart.style.colors.SeriesColors

public class BaseSeriesColors
extends java.lang.Object
implements org.knowm.xchart.style.colors.SeriesColors
Class providing base xchart SeriesColors.

Legal stuff

Copyright 2010-2020 Ekkart Kleinod ekleinod@edgesoft.de

This file is part of edgeutils.

edgeutils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

edgeutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with edgeutils. If not, see http://www.gnu.org/licenses/.

Since:
0.10.0
Author:
Ekkart Kleinod
  • Constructor Summary

    Constructors 
    Constructor Description
    BaseSeriesColors()
    Constructor, setting all schemes.
  • Method Summary

    Modifier and Type Method Description
    java.awt.Color[] getSeriesColors()
    Returns default array of colors (.
    java.awt.Color[] getSeriesColors​(Colorschemes theColorscheme)
    Returns colors for given color scheme.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getSeriesColors

      public java.awt.Color[] getSeriesColors()
      Returns default array of colors (.
      Specified by:
      getSeriesColors in interface org.knowm.xchart.style.colors.SeriesColors
      Returns:
      default color array
    • getSeriesColors

      public java.awt.Color[] getSeriesColors​(Colorschemes theColorscheme)
      Returns colors for given color scheme.
      Parameters:
      theColorscheme - color scheme
      Returns:
      color array of scheme