DChartLineN class
Numeric Line Chart\
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- DChartLineN
Constructors
-
DChartLineN({Key? key, required List<
NumericGroup> groupList, bool animate = false, ConfigRenderLine configRenderLine = const ConfigRenderLine(), ConfigRenderPoint? configRenderPoint, Duration animationDuration = const Duration(milliseconds: 300), DomainAxis? domainAxis, MeasureAxis? measureAxis, MeasureAxis? secondaryMeasureAxis, AreaColorN? areaColor, FillPatternN? fillPattern, FillColorN? fillColor, DashPatternN? dashPattern, String barLabelValue(NumericGroup group, NumericData data, int? index)?, bool? flipVertical = false, LayoutMargin? layoutMargin, bool allowSliding = false, void onUpdatedListener(NumericData data)?, void onChangedListener(NumericData data)?}) -
Numeric Line Chart
const
Properties
- allowSliding → bool
-
give user access to slide chart viewport
set initial viewport in domainAxis
if set true, this will affect to 'measure viewport'. measure viewport will auto adjust depend on min/max from item chart value
To fix this, set viewport inmeasueAxis
default: falsefinal - animate → bool
-
animate chart when build
default: falsefinal - animationDuration → Duration
-
duration animate a chart when build
default:Duration(milliseconds: 300)
final - areaColor → AreaColorN?
-
areaColor
returns the area color for a given data value.
If not provided, then group color will be used 10% opacity by default.
Specify for Line type
to activate custom areaColor,ConfigRenderLine -> includeArea
must betrue
final - barLabelValue → String Function(NumericGroup group, NumericData data, int? index)?
-
set custom format value for label bar
final
- configRenderLine → ConfigRenderLine
-
style line
final
- configRenderPoint → ConfigRenderPoint?
-
style point
final
- dashPattern → DashPatternN?
-
set pattern
specify for line patternfinal - domainAxis → DomainAxis?
-
customize domain axis
final
- fillColor → FillColorN?
-
set fill chart where has fill box like bar
default: based on Group colorfinal - fillPattern → FillPatternN?
-
custom fill pattern
default: solidfinal - flipVertical → bool?
-
when
vertical
is true, line chart will be flip
sort reversed measure axis/ default: falsefinal -
groupList
→ List<
NumericGroup> -
group
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- layoutMargin → LayoutMargin?
-
margin from outer chart to wrapper box
default: 20px for each sidefinal - measureAxis → MeasureAxis?
-
customize measure axis
final
- onChangedListener → void Function(NumericData data)?
-
listen which data is changed selected
final
- onUpdatedListener → void Function(NumericData data)?
-
listen which data is selected
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryMeasureAxis → MeasureAxis?
-
customize secondary measure axis
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of DiagnosticsNode objects describing this node's
children.
inherited
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited