Class Index | File Index

Classes


Class Tee.Chart.Axis-Labels

Displays text to annotate axes
Defined in: <..\..\src\teechart.js>.

Class Summary
Constructor Attributes Constructor Name and Description
<inner>  
Tee.Chart.Axis-Labels(chart, axis)
Field Summary
Field Attributes Field Name and Description
 
alternate=false=false
When true, labels are displayed at alternate positions to fit more labels in the same space.
 
dateFormat="shortDate"="shortDate"
Configures string format for date & time labels
 
decimals=2=2
Defines the number of decimals for floating-point numeric labels.
 
Defines the visual properties to paint the axis title.
 
labelStyle="auto"="auto"
Determines label contents from series data ("auto", "value", "mark", "text").
 
rotation=0=0
Defines the label rotation angle from 0 to 360 degree.
 
Determines if axis labels will be displayed or not.
Method Summary
Method Attributes Method Name and Description
 
 
 
getLabel(value)
 
width(value)
Class Detail
<inner> Tee.Chart.Axis-Labels(chart, axis)
Parameters:
{Tee.Chart} chart
The chart object this axis labels object belongs to.
axis
Field Detail
{Boolean} alternate=false
When true, labels are displayed at alternate positions to fit more labels in the same space.

{String} dateFormat="shortDate"
Configures string format for date & time labels

{Number} decimals=2
Defines the number of decimals for floating-point numeric labels.

{Tee.Format} format
Defines the visual properties to paint the axis title.

{String} labelStyle="auto"
Determines label contents from series data ("auto", "value", "mark", "text").

{Number} rotation=0
Defines the label rotation angle from 0 to 360 degree.

{Boolean} visible
Determines if axis labels will be displayed or not.
Default Value:
true
Method Detail
checkStyle()

formatValueString(value)
Parameters:
value

{String} getLabel(value)
Parameters:
value
Returns:
{String} Returns the series label that corresponds to a given value, (or the value if no label exists).

{Number} width(value)
Parameters:
value
Returns:
{Number} Returns the width in pixels of value converted to string.

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Jul 04 2014 13:24:58 GMT+0200 (CEST)