LineChartStyle class
Constructors
LineChartStyle ({required LegendStyle ? legendStyle , required List <DatasetStyle > datasetStyles , RangeDatasetStyle ? rangeDatasetStyle , AxisStyle ? topAxisStyle , AxisStyle ? bottomAxisStyle , AxisStyle ? leftAxisStyle , AxisStyle ? rightAxisStyle , HighlightStyle ? highlightStyle , SelectionLabelStyle ? selectionLabelStyle , Duration ? animationDuration = const Duration(seconds: 1) })
LineChartStyle.fromTheme (BuildContext context , {List <Color > ? datasetColors })
factory
Methods
copyRemoving ({dynamic legend = false , dynamic selectionLabel = false , dynamic bottomAxis = false , dynamic topAxis = false , dynamic leftAxis = false , dynamic rightAxis = false })
→ LineChartStyle
Copies the style with the indicated elements removed.
pass true to remove elements
copyRemovingAxis ({bool left = false , bool right = false , bool top = false , bool bottom = false })
→ LineChartStyle
Copies the style with the indicated axis removed.
pass true to remove the named axis.
copyWith ({LegendStyle ? legendStyle , List <DatasetStyle > ? datasetStyles , RangeDatasetStyle ? rangeDatasetStyle , AxisStyle ? topAxisStyle , AxisStyle ? bottomAxisStyle , AxisStyle ? leftAxisStyle , AxisStyle ? rightAxisStyle , SelectionLabelStyle ? selectionLabelStyle , Duration ? animationDuration , HighlightStyle ? highlightStyle })
→ LineChartStyle
copyWithAxes ({AxisStyle ? topAxisStyle , AxisStyle ? bottomAxisStyle , AxisStyle ? leftAxisStyle , AxisStyle ? rightAxisStyle })
→ LineChartStyle
Copies the style with the specified axes. Differs from copyWith
in that unxpecified or null axes are not present in the copy.
Useful for removing axes.
copyWithoutLegend ()
→ LineChartStyle
datasetStyleOfIndex (int index )
→ DatasetStyle
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited