Dart Documentationorson_chartsColorSource

ColorSource abstract class

A source of colors used by the PiePlot3D class. A default implementation is provided by the StandardColorSource class.

Subclasses

StandardColorSource

Methods

abstract Color getColor(Comparable key) #

Returns a color corresponding to the specified key.

abstract void setColor(Comparable key, Color color) #

Sets the color that corresponds to the specified key.

abstract void style(List<Color> colors) #

Applies a new list of colors to the color source in order to update it.