XAxisConfiguration class abstract

Annotations
  • @anonymous
  • @JS()

Constructors

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

Properties

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
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. 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
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.
getter/setter pair
min ↔ dynamic
Set min value of x axis range.
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 x axis.
getter/setter pair
tick XTickConfiguration
getter/setter pair
type String
Set type of x axis (timeseries, category, indexed)
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