LineSpec
Defines the appearance of a line in a line chart.
Parameters
the color of the line.
the thickness of the line (in dp).
an optional DynamicShader to use for the area below the line.
the stroke cap for the line.
an optional Component that can be drawn at a given point on the line.
the size of the point (in dp).
an optional TextComponent to use for data labels.
the vertical position of data labels relative to the line.
the ValueFormatter to use for data labels.
the rotation of data labels (in degrees).
the PointConnector for the line.
Constructors
Defines the appearance of a line in a line chart.
Types
Defines the shape of a line in a line chart by specifying how points are to be connected.
Properties
Returns true
if the lineBackgroundShader is not null, and false
otherwise.
The stroke cap for the line.
Functions
Creates a new LineChart.LineSpec based on this one, updating select properties.
Draws the line background.
Draws the line.