Dart Documentationorson_chartsValueAxis3D

ValueAxis3D abstract class

The interface that must be supported by an axis that is used as the value axis in a CategoryPlot3D or an x, y, or z-axis in an XYZPlot.

Extends

ChartElement > Axis3D > ValueAxis3D

Subclasses

NumberAxis3D

Properties

abstract Color get labelColor #

inherited from Axis3D

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

abstract void set labelColor(Color color) #

inherited from Axis3D

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

abstract Font get labelFont #

inherited from Axis3D

Returns the font used to display the axis label.

abstract void set labelFont(Font font) #

inherited from Axis3D

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

abstract Range get range #

inherited from Axis3D

Returns the axis range.

abstract void set range(Range range) #

inherited from Axis3D

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

abstract Color get tickLabelColor #

inherited from Axis3D

Returns the foreground color for the axis tick labels.

abstract void set tickLabelColor(Color color) #

inherited from Axis3D

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

abstract Font get tickLabelFont #

inherited from Axis3D

Returns the font for tick labels.

abstract void set tickLabelFont(Font font) #

inherited from Axis3D

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

abstract bool get visible #

inherited from Axis3D

Returns a flag that controls the visibility of the axis.

abstract void set visible(bool visible) #

inherited from Axis3D

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

Methods

abstract void addChangeListener(Axis3DChangeListener listener) #

inherited from Axis3D

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

abstract void configureAsValueAxis(CategoryPlot3D plot) #

Configures the axis for use as the value axis with the specified plot.

abstract void configureAsXAxis(XYZPlot plot) #

Configures the axis for use as the x-axis with the specified plot.

abstract void configureAsYAxis(XYZPlot plot) #

Configures the axis for use as the y-axis with the specified plot.

abstract void configureAsZAxis(XYZPlot plot) #

Configures the axis for use as the z-axis with the specified plot.

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

inherited from Axis3D

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 List<TickData> generateTickData(num tickUnit) #

Generates a list of tick data records for the axis given the specified tickUnit.

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) #

inherited from Axis3D

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

abstract num selectTick(CanvasRenderingContext2D context, Point pt0, Point pt1, Point opposingPt) #

Selects an appropriate tick size given that the axis will be drawn between pt0 and pt1 on the specified canvas ( context). The opposingPt is point which is on the opposite side of the line to where the labels will be drawn. This is a convenient way to specify the label location given the underlying implementation.

abstract dynamic setRangeBounds(num min, num max) #

inherited from Axis3D

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

abstract num translateToWorld(num value, num length) #

inherited from Axis3D

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