Dart Documentationorson_chartsAxis3D

Axis3D abstract class

The base interface implemented by all axes.

Extends

ChartElement > Axis3D

Subclasses

AbstractAxis3D, CategoryAxis3D, ValueAxis3D

Properties

abstract Color get labelColor #

Returns the foreground color for the axis label (see also tickLabelColor).

abstract void set labelColor(Color color) #

Sets the foreground color for the axis label and sends an Axis3DChangeEvent to all registered listeners.

abstract Font get labelFont #

Returns the font used to display the axis label.

abstract void set labelFont(Font font) #

Sets the font used to display the axis label and sends an Axis3DChangeEvent to all registered listeners.

abstract Range get range #

Returns the axis range.

abstract void set range(Range range) #

Sets the axis range and sends an Axis3DChangeEvent to all registered listeners.

abstract Color get tickLabelColor #

Returns the foreground color for the axis tick labels.

abstract void set tickLabelColor(Color color) #

Sets the foreground color for the axis tick labels and sends an Axis3DChangeEvent to all registered listeners.

abstract Font get tickLabelFont #

Returns the font for tick labels.

abstract void set tickLabelFont(Font font) #

Sets the font for tick labels and sends an Axis3DChangeEvent to all registered listeners.

abstract bool get visible #

Returns a flag that controls the visibility of the axis.

abstract void set visible(bool visible) #

Sets the visibility of the axis and sends an AxisChangeEvent to all registered listeners.

Methods

abstract void addChangeListener(Axis3DChangeListener listener) #

Registers a listener to receive notification of changes to the axis.

abstract void draw(CanvasRenderingContext2D context, Point startPt, Point endPt, Point opposingPt, bool labels, List<TickData> tickData) #

Draws the axis on a canvas between the startPt and the endPt. If the labels flag is set, then the tickData is used to draw labels on the opposite side of the line from opposingPt.

abstract void receive(ChartElementVisitor visitor) #

inherited from ChartElement

Receives a visitor. This is part of a general mechanism for traversing all the elements that make up a chart structure.

abstract void removeChangeListener(Axis3DChangeListener listener) #

Deregisters a listener so that it no longer receives notification of changes to the axis.

abstract dynamic setRangeBounds(num min, num max) #

Sets the axis range by specifying the bounds and sends an Axis3DChangeEvent to all registered listeners.

abstract num translateToWorld(num value, num length) #

Translates a data value to world coordinates, assuming that the axis starts at the origin and has the specified length.