A line chart of data rows (xField, yField; dates or numbers on x), with bands, ticks, markers and lines given as data (usually bound).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
animate
→ const PropDef<
bool> - Animates numeric data changes; initial and design-canvas values rest.
-
animateIn
→ const PropDef<
bool> - Draws in (rising from zero) when it first shows (a running app).
-
animationDuration
→ const PropDef<
int> - Milliseconds. Zero applies data changes immediately.
-
areaBands
→ const PropDef<
List< Json> > -
Parts of the area under the curve:
[{"from", "to", "below", "color", "barColor"?}]. -
areaBottomColor
→ const PropDef<
Color> -
areaTopColor
→ const PropDef<
Color?> -
Null: the theme's primary at 10 % (
ControlTheme), so it reads in light and dark. -
axisColor
→ const PropDef<
Color?> -
Null: the theme's outline (
ControlTheme), so it reads in light and dark. -
axisLabelStyle
→ const PropDef<
TextStyle> -
axisTitleStyle
→ const PropDef<
TextStyle> -
bands
→ const PropDef<
List< Json> > -
Full-height bands:
[{"from", "to", "color", "opacity"?}]. -
clip
→ const PropDef<
bool> - Clips the chart to its box; off, labels (a reference line's above the plot) and out-of-domain values can draw beyond it.
-
cursorColor
→ const PropDef<
Color?> -
Null: the theme's onSurface (
ControlTheme), so it reads in light and dark. -
cursorRingFill
→ const PropDef<
Color?> -
Null: the theme's surface (
ControlTheme), so it reads in light and dark. -
data
→ const PropDef<
List< Json> > -
gridColor
→ const PropDef<
Color?> -
Null: the theme's outlineVariant (
ControlTheme), so it reads in light and dark. -
lineColor
→ const PropDef<
Color?> -
Null: the theme's primary (
ControlTheme), so it reads in light and dark. -
lineWidth
→ const PropDef<
double> -
markerHollowColor
→ const PropDef<
Color?> -
Null: the theme's surface (
ControlTheme), so it reads in light and dark. -
markerLabelStyle
→ const PropDef<
TextStyle> -
markers
→ const PropDef<
List< Json> > -
Circles on points:
[{"x", "y", "label"?, "filled"?, "above"?, "color"?, "radius"?, ...}]. -
plotPadding
→ const PropDef<
EdgeInsets> - Room around the plot for the axes and labels.
-
referenceLines
→ const PropDef<
List< Json> > -
Dashed horizontal lines:
[{"y", "color"?, "width"?, "dash"?: [on, off], "label"?, "labelColor"?, "labelBelow"?, "labelAlign"?: "end" | "start"}]; a label sits at the line's end (or start, with labelAlign "start"), above the line unless labelBelow, in axisLabelStyle (bold, the line's color unless labelColor). -
scrubEnabled
→ const PropDef<
bool> - Hovering or dragging selects the nearest point in a running app.
-
scrubStep
→ const PropDef<
double> -
selectedX
→ const PropDef<
double?> - The point (nearest x) with the cursor and tooltip; null for none.
-
semanticLabel
→ const PropDef<
String> -
smooth
→ const PropDef<
bool> - spec → const WidgetSpec
-
tagBackground
→ const PropDef<
Color?> -
Null: the theme's onSurface (
ControlTheme), so it reads in light and dark. -
tagTextStyle
→ const PropDef<
TextStyle> -
tooltipBackground
→ const PropDef<
Color?> -
Null: the theme's onSurface (an inverted surface) (
ControlTheme), so it reads in light and dark. -
tooltipLabelField
→ const PropDef<
String> - The tooltip's first line: this row field, else the x (tooltipXFormat for dates).
-
tooltipLabelStyle
→ const PropDef<
TextStyle> - The tooltip at selectedX: its first line (the x, small) and the y value (bigger, bold), each merged over its default.
-
tooltipShadowColor
→ const PropDef<
Color> -
tooltipTrend
→ const PropDef<
bool> -
tooltipValueStyle
→ const PropDef<
TextStyle> -
tooltipXFormat
→ const PropDef<
String> -
tooltipYDecimals
→ const PropDef<
int> -
tooltipYScale
→ const PropDef<
double> -
tooltipYSuffix
→ const PropDef<
String> -
verticalLines
→ const PropDef<
List< Json> > -
Dashed vertical lines:
[{"x", "color"?, "dash"?, "label"?, "dotOnCurve"?, "dotColor"?}]. -
xField
→ const PropDef<
String> -
xLabelAnchor
→ const PropDef<
LineChartXLabelAnchor> - Where each x label sits about its tick (xLabelOffset then moves it).
-
xLabelOffset
→ const PropDef<
double> - Moves every x label right by this much (negative: left).
-
xMax
→ const PropDef<
double?> -
xMin
→ const PropDef<
double?> -
xTicks
→ const PropDef<
List< Json> > -
X axis ticks:
[{"x", "label"}]. -
yAxisTitle
→ const PropDef<
String> -
yField
→ const PropDef<
String> -
yMax
→ const PropDef<
double?> -
yMin
→ const PropDef<
double?> -
yTicks
→ const PropDef<
List< Json> > -
Horizontal grid lines:
[{"y", "label"?, "color"?, "align"?: "start"}]. -
zeroLineColor
→ const PropDef<
Color?> -
Null: the theme's outline (
ControlTheme), so it reads in light and dark.