<axis>
an axis for a chart

JavaScript: lz.axis
extends <drawview> » <view> » <node> » lz.Eventable »
[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

Attributes

Name Type (tag) Type (js) Default Category
axisEnabled boolean boolean true read/write
  enable or disable the axis
columnName string String   read/write
  Indicates the column name associated to the axis
fixedRange boolean boolean false read/write
  Fix the range of the axis to the maximum & minimum
interval expression any 5 read/write
  Indicates the interval of values between the tic marks of the axis
labelReposEnabled boolean boolean true read/write
  Attribute that controls if the labels are vertically repositioned to avoid overlaping
labelrotation string String horizontal read/write
  Indicates the axis title rotation can be 'horizontal' or 'vertical'
majorInterval number Number 5 read/write
  Allows to customize the interval of the Major Tics Marks
majorTickEnabled boolean boolean true read/write
  enable Major Tics Marks
maximum expression any 100 read/write
  Numerical value that indicates the Maximum value in the axis can be positive or negative value
minimum expression any 0 read/write
  Numerical value that indicates the Minimum value in the axis can be positive or negative value
minorTickEnabled boolean boolean false read/write
  enable minor Tics Marks
ticklabelcolumn string String '' read/write
  Data Column that is used to override the values of Tic Marks labels
tickMarksLabelsEnabled boolean boolean true read/write
  enable the rendering of tic Marks labels
title string String   read/write
  Axis title label
titleLocation string String default read/write
  Indicates the placement of the Axis title possible values: 'low','high','default'
titleX number Number null read/write
  Indicates the placement in X position of the Axis title
titleY number Number null read/write
  Indicates the placement in Y position of the Axis title
type string String   read/write
  Indicates the axis type can be 'linear' or 'categorical'

Methods

processData()
axis.processData(pLabel);
Method for extensible label rendering
Parameter Name Type Description
pLabel    

render()
axis.render();
Render method render Axis Title, Axis lines, Tic Marks and TickMarks labels

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <drawview>

oncontext

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy