Name

axis — an axis for a chart

Synopsis

LZX: axis
JavaScript: axis
Type: Class
Access: public
Topic: Charting And Graphing.Common
Declared in: lps/components/charts/common/axis.lzx

Description

[Warning] Warning
This component is of Beta quality and is subject to change.
A abstract class that represents one of the axes of a rectangular chart. In general, axis isn't instantiated directly

Superclass Chain

axis

Known Subclasses

Known Direct Subclasses: horizontalaxis, verticalaxis

Details

Properties (18)

axisEnabled
<attribute name="axisEnabled" type="boolean" value="true" />
public var axisEnabled : Boolean;
enable or disable the axis
columnName
<attribute name="columnName" type="string" />
public var columnName : String;
Indicates the column name associated to the axis
fixedRange
<attribute name="fixedRange" type="boolean" value="false" />
public var fixedRange : Boolean;
Fix the range of the axis to the maximum & minimum
interval
<attribute name="interval" value="5" />
public var interval;
Indicates the interval of values between the tic marks of the axis
labelReposEnabled
<attribute name="labelReposEnabled" type="boolean" value="true" />
public var labelReposEnabled : Boolean;
Attribute that controls if the labels are vertically repositioned to avoid overlaping
labelrotation
<attribute name="labelrotation" type="string" value="horizontal" />
public var labelrotation : String;
Indicates the axis title rotation can be 'horizontal' or 'vertical'
majorInterval
<attribute name="majorInterval" type="number" value="5" />
public var majorInterval : Number;
Allows to customize the interval of the Major Tics Marks
majorTickEnabled
<attribute name="majorTickEnabled" type="boolean" value="true" />
public var majorTickEnabled : Boolean;
enable Major Tics Marks
maximum
<attribute name="maximum" value="100" />
public var maximum;
Numerical value that indicates the Maximum value in the axis can be positive or negative value
minimum
<attribute name="minimum" value="0" />
public var minimum;
Numerical value that indicates the Minimum value in the axis can be positive or negative value
minorTickEnabled
<attribute name="minorTickEnabled" type="boolean" value="false" />
public var minorTickEnabled : Boolean;
enable minor Tics Marks
ticklabelcolumn
<attribute name="ticklabelcolumn" type="string" value="$once{''}" />
public var ticklabelcolumn : String;
Data Column that is used to override the values of Tic Marks labels
tickMarksLabelsEnabled
<attribute name="tickMarksLabelsEnabled" type="boolean" value="true" />
public var tickMarksLabelsEnabled : Boolean;
enable the rendering of tic Marks labels
title
<attribute name="title" type="string" />
public var title : String;
Axis title label
titleLocation
<attribute name="titleLocation" type="string" value="default" />
public var titleLocation : String;
Indicates the placement of the Axis title possible values: 'low','high','default'
titleX
<attribute name="titleX" type="number" value="null" />
public var titleX : Number;
Indicates the placement in X position of the Axis title
titleY
<attribute name="titleY" type="number" value="null" />
public var titleY : Number;
Indicates the placement in Y position of the Axis title
type
<attribute name="type" type="string" />
public var type : String;
Indicates the axis type can be 'linear' or 'categorical'

Methods (2)

processData()
<method name="processData" args="pLabel" />
public function processData(pLabel);
Method for extensible label rendering
render()
<method name="render" />
public function render();
Render method render Axis Title, Axis lines, Tic Marks and TickMarks labels

LZX Synopsis

<class name="axis">
  <attribute name=" axisEnabled " type="boolean" value="true" />
  <attribute name=" columnName " type="string" />
  <attribute name=" fixedRange " type="boolean" value="false" />
  <attribute name=" interval " value="5" />
  <attribute name=" labelReposEnabled " type="boolean" value="true" />
  <attribute name=" labelrotation " type="string" value="horizontal" />
  <attribute name=" majorInterval " type="number" value="5" />
  <attribute name=" majorTickEnabled " type="boolean" value="true" />
  <attribute name=" maximum " value="100" />
  <attribute name=" minimum " value="0" />
  <attribute name=" minorTickEnabled " type="boolean" value="false" />
  <attribute name=" ticklabelcolumn " type="string" value="$once{''}" />
  <attribute name=" tickMarksLabelsEnabled " type="boolean" value="true" />
  <attribute name=" title " type="string" />
  <attribute name=" titleLocation " type="string" value="default" />
  <attribute name=" titleX " type="number" value="null" />
  <attribute name=" titleY " type="number" value="null" />
  <attribute name=" type " type="string" />
  <method name=" processData " args="pLabel" />
  <method name=" render " />
</class>

JavaScript Synopsis

public axis {
  public var axisEnabled  : Boolean;
  public var columnName  : String;
  public var fixedRange  : Boolean;
  public var interval ;
  public var labelReposEnabled  : Boolean;
  public var labelrotation  : String;
  public var majorInterval  : Number;
  public var majorTickEnabled  : Boolean;
  public var maximum ;
  public var minimum ;
  public var minorTickEnabled  : Boolean;
  public var ticklabelcolumn  : String;
  public var tickMarksLabelsEnabled  : Boolean;
  public var title  : String;
  public var titleLocation  : String;
  public var titleX  : Number;
  public var titleY  : Number;
  public var type  : String;
  prototype public function processData (pLabel);
  prototype public function render ();
}