XAxisConfiguration class abstract

Implemented types
Annotations
  • @anonymous
  • @JS()

Constructors

XAxisConfiguration({String type, bool localtime, List<String> categories, XTickConfiguration tick, dynamic max, dynamic min, dynamic padding, num height, dynamic extent, dynamic label, bool clipPath, bool show, List<AxesConfiguration> axes})
factory

Properties

axes List<AxesConfiguration>
Set additional axes for Axis
getter/setter pairinherited
categories List<String>
Set category names on category axis. This must be an array that includes category names in string. If category names are included in the date by data.x option, this is not required.
getter/setter pair
clipPath bool
Set clip-path attribute for x axis element.
getter/setter pair
extent ↔ dynamic
Set default extent for subchart and zoom. This can be an array or function that returns an array.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height num
Set height of x axis. The height of x axis can be set manually by this option. If you need more space for x axis, please use this option for that. The unit is pixel.
getter/setter pair
label ↔ dynamic
Set label on x axis. You can set x axis label and change its position by this option. string and object can be passed and we can change the poisiton by passing object that has position key. Available position differs according to the axis direction (vertical or horizontal). If string set, the position will be the default.
getter/setter pair
localtime bool
Set how to treat the timezone of x values. If true, treat x value as localtime. If false, convert to UTC internally.
getter/setter pair
max ↔ dynamic
Set max value of x axis range. When specified max.value is greater than the bound data value, setting max.fit=true will make x axis max to be fitted to the bound data max value.
getter/setter pair
min ↔ dynamic
Set min value of x axis range. When specified min.value is lower than the bound data value, setting min.fit=true will make x axis min to be fitted to the bound data min value.
getter/setter pair
padding ↔ dynamic
Set padding for x axis. If this option is set, the range of x axis will increase/decrease according to the values. If no padding is needed in the ragen of x axis, 0 should be set. On category axis, this option will be ignored.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
show bool
Show or hide axis.
getter/setter pairinherited
tick XTickConfiguration
getter/setter pair
type String
Set type of x axis (timeseries, category, indexed, log) NOTE: log type:
getter/setter pair

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