Dart Documentationorson_chartsChartStyle

ChartStyle abstract class

The interface for an object that can provide the attributes for a chart style. A default implementation is provided by the StandardChartStyle class, and some predefined styles are provided by the ChartStyles class.

Subclasses

StandardChartStyle

Properties

final Color axisLabelColor #

Returns the foreground color used for the main label on a chart's axes.

final Font axisLabelFont #

Returns the font used for the main label on a chart's axes.

final Color axisTickLabelColor #

Returns the color for the tick labels on a chart's axes.

final Font axisTickLabelFont #

Returns the font used for the tick labels on a chart's axes.

final RectanglePainter backgroundPainter #

Returns the painter for the background.

final Color chartBoxColor #

Returns the color for the chartbox.

final Color gridlineColor #

Returns the color for the gridlines.

final Stroke gridlineStroke #

Returns the line stroke for the gridlines.

final Color legendFooterBackgroundColor #

Returns the background color for the legend footer.

final Color legendFooterColor #

Returns the color for the legend footer text.

final Font legendFooterFont #

Returns the font used for the legend footer.

final Color legendHeaderBackgroundColor #

Returns the background color for the legend header.

final Color legendHeaderColor #

Returns the color used for the legend header.

final Font legendHeaderFont #

Returns the font used for the legend header.

final Color legendItemBackgroundColor #

Returns the background color used for legend item text.

final Color legendItemColor #

Returns the color used for legend item text.

final Font legendItemFont #

Returns the font used for items in the legend.

final Rectangle legendItemShape #

Returns the default shape for legend items.

final Color sectionLabelColor #

Returns the foreground color for the section labels on pie charts.

final Font sectionLabelFont #

Returns the font used for section labels on pie charts.

final List<Color> standardColors #

Returns the list of standard colors used for data items.

final Color subtitleBackgroundColor #

Returns the background color for the chart subtitle.

final Color subtitleColor #

Returns the foreground color for the chart subtitle.

final Font subtitleFont #

Returns the font used for the chart subtitle.

final Color titleBackgroundColor #

Returns the background color for the chart title.

final Color titleColor #

Returns the foreground color for the chart title.

final Font titleFont #

Returns the font used for the chart title.

final bool xAxisGridlinesVisible #

Returns a flag that controls whether or not gridlines are drawn for the x-axis.

final bool yAxisGridlinesVisible #

Returns a flag that controls whether or not gridlines are drawn for the y-axis.

final bool zAxisGridlinesVisible #

Returns a flag that controls whether or not gridlines are drawn for the z-axis.

Methods

abstract void addStyleChangeListener(ChartStyleChangeListener listener) #

Registers a listener so that it will receive notification of changes to this ChartStyle instance.

abstract void removeStyleChangeListener(ChartStyleChangeListener listener) #

Deegisters a listener so that it will no longer receive notification of changes to this ChartStyle instance.