Interface ChartStyle

All Known Implementing Classes:
StandardChartStyle

public interface ChartStyle
A chart style provides styling attributes for a chart. To apply a style to a chart, use the Chart3D.setStyle(org.jfree.chart3d.style.ChartStyle) method. See the ChartStyles class for predefined styles.
Since:
1.2
  • Method Details

    • getBackgroundPainter

      Returns the painter that fills the background for the chart.
      Returns:
      The painter (never null).
    • getTitleFont

      Returns the title font.
      Returns:
      The title font (never null).
    • getTitleColor

      Returns the foreground color for the chart title.
      Returns:
      The foreground color (never null).
    • getTitleBackgroundColor

      Returns the background color for the chart title.
      Returns:
      The background color for the chart title (never null).
    • getSubtitleFont

      Returns the subtitle font.
      Returns:
      The subtitle font (never null).
    • getSubtitleColor

      Returns the foreground color for the chart subtitle.
      Returns:
      The foreground color (never null).
    • getSubtitleBackgroundColor

      Returns the background color for the chart subtitle.
      Returns:
      The background color (never null).
    • getChartBoxColor

      Returns the color for the chart box, if any.
      Returns:
      The color for the chart box (never null).
    • getColumnAxisGridlinesVisible

      Returns the flag that controls whether or not gridlines are drawn perpendicular to the column axis in category plots.
      Returns:
      A boolean.
    • getRowAxisGridlinesVisible

      Returns the flag that controls whether or not gridlines are drawn perpendicular to the row axis in category plots.
      Returns:
      A boolean.
    • getXAxisGridlinesVisible

      Returns the flag that controls whether or not gridlines are drawn perpendicular to the x-axis (or column axis).
      Returns:
      A boolean.
    • getYAxisGridlinesVisible

      Returns the flag that controls whether or not gridlines are drawn perpendicular to the y-axis (or value axis).
      Returns:
      A boolean.
    • getZAxisGridlinesVisible

      Returns the flag that controls whether or not gridlines are drawn perpendicular to the z-axis (or row axis).
      Returns:
      A boolean.
    • getGridlineColor

      Returns the color used to draw the gridlines.
      Returns:
      The color (never null).
    • getGridlineStroke

      Returns the stroke used to draw the gridlines.
      Returns:
      The stroke (never null).
    • getSectionLabelFont

      Returns the font used for pie section labels.
      Returns:
      The pie section label font (never null).
    • getSectionLabelColor

      Returns the foreground color used for pie section labels.
      Returns:
      The pie section label color (never null).
    • getStandardColors

      Returns the standard colors for the style.
      Returns:
      The standard colors (never null).
    • getAxisLabelFont

      Returns the axis label font. The axis label is usually a description of what the axis represents.
      Returns:
      The axis label font (never null).
      See Also:
    • getAxisLabelColor

      Returns the foreground color for axis labels.
      Returns:
      The foreground color (never null).
    • getAxisTickLabelFont

      Returns the axis tick label font.
      Returns:
      The axis tick label font (never null).
      See Also:
    • getAxisTickLabelColor

      Returns the color used to draw the tick labels on the axis.
      Returns:
      The color (never null).
    • getLegendHeaderFont

      Returns the legend header font.
      Returns:
      The legend header font (never null).
    • getLegendHeaderColor

      Returns the foreground color for the legend header if there is one.
      Returns:
      The color (never null).
    • getLegendHeaderBackgroundColor

      Returns the background color for the legend header if there is one.
      Returns:
      The color (never null).
    • getLegendItemShape

      Returns the standard shape for legend items.
      Returns:
      The legend shape (never null).
    • getLegendItemFont

      Returns the legend item font.
      Returns:
      The legend item font (never null).
    • getLegendItemColor

      Returns the foreground color for legend items.
      Returns:
      The foreground color (never null).
    • getLegendItemBackgroundColor

      Returns the background color for legend items.
      Returns:
      The background color (never null).
    • getLegendFooterFont

      Returns the legend footer font.
      Returns:
      The legend footer font (never null).
    • getLegendFooterColor

      Returns the color used for the legend footer text (if any).
      Returns:
      The color (never null).
    • getLegendFooterBackgroundColor

      Returns the color used for the background of legend footer text (if any).
      Returns:
      The color (never null).
    • getMarkerLabelFont

      Returns the font used to draw marker labels.
      Returns:
      The font used to draw marker labels (never null).
    • getMarkerLabelColor

      Returns the color for the marker labels.
      Returns:
      The color for the marker labels (never null).
    • getMarkerLineStroke

      Returns the stroke used to draw marker lines.
      Returns:
      The stroke used to draw marker lines (never null).
    • getMarkerLineColor

      Returns the color used to draw marker lines.
      Returns:
      The color used to draw marker lines (never null).
    • getMarkerFillColor

      Returns the color used to fill the band representing the marker range.
      Returns:
      The fill color (never null).
    • clone

      Returns a clone of the chart style.
      Returns:
      A clone (never null).
    • addChangeListener

      Registers a listener to receive notification of changes to the chart style. Typically the chart registers with its style, and applies the style changes when it receives notification of any change.
      Parameters:
      listener - the listener (null not permitted).
    • removeChangeListener

      Deregisters a listener so that it no longer receives notification of chart changes.
      Parameters:
      listener - the listener (null not permitted).