AreaChartStyle class
Configuration for the overall style and appearance of the area chart.
Constructors
-
AreaChartStyle.new({List<
Color> colors = const [Colors.blue, Colors.green, Colors.red], Color gridColor = Colors.grey, Color backgroundColor = Colors.white, TextStyle? labelStyle, double defaultLineWidth = 2.0, double defaultPointSize = 4.0, bool showPoints = true, bool showGrid = true, Duration animationDuration = const Duration(milliseconds: 1500), Curve animationCurve = Curves.easeInOut, EdgeInsets padding = const EdgeInsets.all(24), int horizontalGridLines = 5, bool forceYAxisFromZero = true, String? title, String? xAxisTitle, String? yAxisTitle}) -
Creates an instance of
AreaChartStyle
with default or custom properties.const -
AreaChartStyle.fromPlotlyLayout(Map<
String, dynamic> layout) -
Creates an
AreaChartStyle
from a Plotly layout object.factory
Properties
- animationCurve → Curve
-
final
- animationDuration → Duration
-
final
- backgroundColor → Color
-
final
-
colors
→ List<
Color> -
final
- defaultLineWidth → double
-
final
- defaultPointSize → double
-
final
- forceYAxisFromZero → bool
-
final
- gridColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- horizontalGridLines → int
-
final
- labelStyle → TextStyle?
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showGrid → bool
-
final
- showPoints → bool
-
final
- title → String?
-
final
- xAxisTitle → String?
-
final
- yAxisTitle → String?
-
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