YAxisConfiguration class

Annotations
  • @anonymous
  • @JS()

Constructors

YAxisConfiguration({bool show, bool inner, num max, num min, bool inverted, num center, dynamic label, YTickConfiguration tick, dynamic padding, List<num> JS$default })
factory

Properties

center ↔ num
Set center value of y axis.
read / write
inner ↔ bool
Show y axis inside of the chart.
read / write
inverted ↔ bool
Change the direction of y axis. If true set, the direction will be from the top to the bottom.
read / write
JS$default ↔ List<num>
Set default range of y axis. This option set the default value for y axis when there is no data on init.
read / write
label ↔ dynamic
Set label on y axis. This option works in the same way as axis.x.label. Valid horizontal positions: inner-right (Default), inner-center, inner-left, outer-right, outer-center, outer-left Valid vertical positions: inner-top, inner-middle, inner-bottom, outer-top, outer-middle, outer-bottom
read / write
max ↔ num
Set max value of y axis.
read / write
min ↔ num
Set min value of y axis.
read / write
padding ↔ dynamic
Set padding for y axis. You can set padding for y axis to create more space on the edge of the axis. This option accepts object and it can include top and bottom. top, bottom will be treated as pixels.
read / write
show ↔ bool
Show or hide y axis.
read / write
tick YTickConfiguration
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited