AxA enum

Axis attribute names definitions. See also AXIS_DEFAULT_ATTRIBUTES. The attribute values are Strings (possibly a String resulting from json encoded Map or List). You may pass any of these attributes to an axis constructor. The respective defaults attributes will be overridden. POSITION A String with possibly several characters.

  1. If containing a "b", the tick marks, axis labels and the legend are drawn below the axis. Needed if you want to position the axis at the bottom of the data area. If containing a "t", the tick marks, axis labels and the legend are above the axis. Needed if you want to position the axis at the top of the data area.
  2. If containing a "g", grid lines at the positions of the tick marks will be drawn, with a length of gridLength pixels.
  3. If containing a "-" (minus sign), the axis direction is reversed: Biggest to smallest values, rather tan smallest to biggest.
  4. If containing a "y", the axis direction is vertical, otherwise horizontal. This can be used to create the second coordinate axis for a 2D array which is, for example, displayed as a contour plot: a) first create a horizontal axis b) then create a vertical axis, where the parameter npoints must be the array length in the second dimension.

Constants

EXTRA_SPACE_FOR_EDGE_LABELS_X → const AxA
const AxA(0)
EXTRA_SPACE_FOR_EDGE_LABELS_Y → const AxA
const AxA(1)
FONT_SIZE → const AxA
const AxA(2)
LABELS_OFFSET_Y → const AxA
const AxA(3)
LEGENDTEXT → const AxA
const AxA(4)
LEGENDTEXT_LEFT_OFFSET_Y → const AxA
const AxA(6)
LEGENDTEXT_OFFSET_X → const AxA
const AxA(5)
LEGENDTEXT_RIGHT_OFFSET_Y → const AxA
const AxA(7)
NLABELS_X → const AxA
const AxA(8)
NLABELS_Y → const AxA
const AxA(9)
PHYS_X_START → const AxA
const AxA(10)
PHYS_X_WIDTH → const AxA
const AxA(11)
POSITION → const AxA
const AxA(12)
STROKE → const AxA
const AxA(13)
STROKE_WIDTH → const AxA
const AxA(14)
TEXT_COLOR_X → const AxA
const AxA(15)
TEXT_COLOR_Y → const AxA
const AxA(16)
TICK_LENGTH → const AxA
const AxA(17)
values → const List<AxA>

A constant List of the values in this enum, in order of their declaration.

const List<AxA>
XYGRID_STROKE → const AxA
const AxA(19)
XYGRID_STROKE_DASH → const AxA
const AxA(22)
XYGRID_STROKE_OPACITY → const AxA
const AxA(21)
XYGRID_STROKE_WIDTH → const AxA
const AxA(20)
YLEGENDTEXT_DIRECTION → const AxA
const AxA(18)

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
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.
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited