GNCartesianChartWidget class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- GNCartesianChartWidget
- Available extensions
Constructors
-
GNCartesianChartWidget.new({Key? key, ChartAxis primaryChartXAxis = const CategoryAxis(), ChartAxis primaryChartYAxis = const NumericAxis(), ChartTitle chartTitle = const ChartTitle(), Legend chartLegend = const Legend(), EdgeInsets chartMargin = const EdgeInsets.all(25), Color? chartBgColor, Color? chartBorderColor, ZoomPanBehavior? chartZoomPanBehavior, TooltipBehavior? chartToolTipBehavior, required List<
CartesianSeries> cartesianSeriesList, double? chartBorderWidth, Color? plotAreaBackgroundColor, Color? plotAreaBorderColor, double plotAreaBorderWidth = CommonSpace.DECIMAL_07, ImageProvider<Object> ? plotAreaBackgroundImage, ChartTooltipCallback? onTooltipRender, ChartActualRangeChangedCallback? onActualRangeChanged, ChartDataLabelRenderCallback? onDataLabelRender, ChartLegendRenderCallback? onLegendItemRender, ChartTrackballCallback? onTrackballPositionChanging, ChartCrosshairCallback? onCrosshairPositionChanging, ChartZoomingCallback? onZooming, ChartZoomingCallback? onZoomStart, ChartZoomingCallback? onZoomEnd, ChartZoomingCallback? onZoomReset, ChartAxisLabelTapCallback? onAxisLabelTapped, DataLabelTapCallback? onDataLabelTapped, ChartLegendTapCallback? onLegendTapped, ChartSelectionCallback? onSelectionChanged, ChartTouchInteractionCallback? onChartTouchInteractionUp, ChartTouchInteractionCallback? onChartTouchInteractionDown, ChartTouchInteractionCallback? onChartTouchInteractionMove, ChartMarkerRenderCallback? onMarkerRender, bool isTransposed = false, bool enableAxisAnimation = false, List<CartesianChartAnnotation> ? annotations, LoadMoreViewBuilderCallback? loadMoreIndicatorBuilder, ChartPlotAreaSwipeCallback? onPlotAreaSwipe, List<Color> ? palette, SelectionType selectionType = SelectionType.point, ActivationMode selectionGesture = ActivationMode.singleTap, bool enableMultiSelection = false, CrosshairBehavior? crosshairBehavior, TrackballBehavior? trackballBehavior, List<ChartAxis> axes = const <ChartAxis>[], List<TechnicalIndicator> indicators = const <TechnicalIndicator>[], bool enableSideBySideSeriesPlacement = true}) -
const
Properties
-
annotations
→ List<
CartesianChartAnnotation> ? -
final
-
axes
→ List<
ChartAxis> -
final
-
cartesianSeriesList
→ List<
CartesianSeries> -
Customize ToolTip Behavior for chart.
final
- chartBgColor → Color?
-
Customize Background | Border Color for chart.
final
- chartBorderColor → Color?
-
final
- chartBorderWidth → double?
-
final
- chartLegend → Legend
-
Customizes the legend in the chart.
final
- chartMargin → EdgeInsets
-
Margin for chart.
final
- chartTitle → ChartTitle
-
Customizes the chart title.
final
- chartToolTipBehavior → TooltipBehavior?
-
Customize ToolTip Behavior for chart.
final
- chartZoomPanBehavior → ZoomPanBehavior?
-
Customize Zoom Behavior for chart.
final
- crosshairBehavior → CrosshairBehavior?
-
final
- enableAxisAnimation → bool
-
final
- enableMultiSelection → bool
-
final
- enableSideBySideSeriesPlacement → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
indicators
→ List<
TechnicalIndicator> -
final
- isTransposed → bool
-
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- loadMoreIndicatorBuilder → LoadMoreViewBuilderCallback?
-
final
- onActualRangeChanged → ChartActualRangeChangedCallback?
-
final
- onAxisLabelTapped → ChartAxisLabelTapCallback?
-
final
- onChartTouchInteractionDown → ChartTouchInteractionCallback?
-
final
- onChartTouchInteractionMove → ChartTouchInteractionCallback?
-
final
- onChartTouchInteractionUp → ChartTouchInteractionCallback?
-
final
- onCrosshairPositionChanging → ChartCrosshairCallback?
-
final
- onDataLabelRender → ChartDataLabelRenderCallback?
-
final
- onDataLabelTapped → DataLabelTapCallback?
-
final
- onLegendItemRender → ChartLegendRenderCallback?
-
final
- onLegendTapped → ChartLegendTapCallback?
-
final
- onMarkerRender → ChartMarkerRenderCallback?
-
final
- onPlotAreaSwipe → ChartPlotAreaSwipeCallback?
-
final
- onSelectionChanged → ChartSelectionCallback?
-
final
- onTooltipRender → ChartTooltipCallback?
-
final
- onTrackballPositionChanging → ChartTrackballCallback?
-
final
- onZoomEnd → ChartZoomingCallback?
-
final
- onZooming → ChartZoomingCallback?
-
final
- onZoomReset → ChartZoomingCallback?
-
final
- onZoomStart → ChartZoomingCallback?
-
final
-
palette
→ List<
Color> ? -
final
- plotAreaBackgroundColor → Color?
-
final
-
plotAreaBackgroundImage
→ ImageProvider<
Object> ? -
final
- plotAreaBorderColor → Color?
-
final
- plotAreaBorderWidth → double
-
final
- primaryChartXAxis → ChartAxis
-
Customizes the primary x-axis in chart.
final
- primaryChartYAxis → ChartAxis
-
Customizes the primary y-axis in chart.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionGesture → ActivationMode
-
final
- selectionType → SelectionType
-
final
- trackballBehavior → TrackballBehavior?
-
final
Methods
-
animate(
{Key? key, List< Effect> ? effects, AnimateCallback? onInit, AnimateCallback? onPlay, AnimateCallback? onComplete, bool? autoPlay, Duration? delay, AnimationController? controller, Adapter? adapter, double? target, double? value}) → Animate -
Available on Widget, provided by the AnimateWidgetExtensions extension
Wraps the target Widget in an Animate instance, and returns the instance for chaining calls. Ex.myWidget.animate()
is equivalent toAnimate(child: myWidget)
. -
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