ChartOptions class

Options for chart allow to configure certain sizes, colors, and layout.

Generally, some defaults are provided here. Some options, mostly sizing related, may be overridden or adjusted by the chart auto-layout, see SimpleChartContainer.

Annotations

Constructors

ChartOptions({IterativeLayoutOptions iterativeLayoutOptions = const IterativeLayoutOptions(), LegendOptions legendOptions = const LegendOptions(), XContainerOptions xContainerOptions = const XContainerOptions(), YContainerOptions yContainerOptions = const YContainerOptions(), DataContainerOptions dataContainerOptions = const DataContainerOptions(), LabelCommonOptions labelCommonOptions = const LabelCommonOptions(), LineChartOptions lineChartOptions = const LineChartOptions(), VerticalBarChartOptions verticalBarChartOptions = const VerticalBarChartOptions()})
const
ChartOptions.noLabels()
Convenience constructor sets all values to default except labels and gridlines are defined not to show.
const

Properties

dataContainerOptions DataContainerOptions
final
hashCode int
The hash code for this object.
no setterinherited
iterativeLayoutOptions IterativeLayoutOptions
final
labelCommonOptions LabelCommonOptions
final
legendOptions LegendOptions
final
lineChartOptions LineChartOptions
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
verticalBarChartOptions VerticalBarChartOptions
final
xContainerOptions XContainerOptions
final
yContainerOptions YContainerOptions
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited