horizontal x primary -> bottom vertical x primary -> left horizontal x secondary -> top vertical x secondary -> right
| Field Summary | |
|---|---|
| static String | |
| static String | |
| static String | |
| static String | |
| static String | |
| static String | |
| static String | |
| Constructor Summary | |
|---|---|
| void | The instance initializer. |
| Method Summary | |
|---|---|
| String | Returns the axisStroke field, string representation of the VectorStroke used to draw the line of the axis. |
| jsx3.chart.ChartLabel | Returns the optional jsx3.chart.ChartLabel child. |
| int | Returns the display width, the maximum amount of space perpendicular to the axis and outside of the data area that the ticks and labels may occupy (doesn't include area given to axis title). |
| boolean | Returns the horizontal field, whether this is an x axis, otherwise it is a y axis. |
| String | Returns the labelClass field, the CSS class used to render major tick labels. |
| String | Number | Returns the labelColor field, the RGB color value of the label font; note that this is the only way to set the color of the text, using a CSS style attribute will have no effect. |
| Function | Returns the labelFunction field. |
| int | Returns the labelGap field, the pixel gap between the tick lines and the labels. |
| String | Returns the labelStyle field, the CSS style attribute used to render major tick labels. |
| int | Returns the minorTickDivisions field, number of minor tick divisions between major ticks; the number of minor ticks drawn will be this number minus 1. |
| int | Returns the minorTickLength field, the length in pixels of the minor tick (if tickPlacement is "cross" the length will actually be twice this. |
| String | Returns the minorTickPlacement field, where to place the minor ticks. |
| String | Returns the minorTickStroke field, string representation of VectorStroke used to draw minor ticks. |
| jsx3.chart.Axis | Returns the opposing axis. |
| boolean | Returns the showAxis field, whether to show the line along the axis. |
| boolean | Returns the showLabels field, whether to show major tick labels. |
| int | Returns the tickLength field, the length in pixels of the major tick (if tickPlacement is "cross" the length will actually be twice this. |
| String | Returns the tickPlacement field, where to place the major ticks. |
| String | Returns the tickStroke field, string representation of VectorStroke used to draw major ticks. |
| static String | Deprecated. |
| static String | formats labels as a percent, ie "50%" |
| static String | formats labels in scientific notation, ie "5e2" |
| void | setAxisStroke(axisStroke : String) Sets the axisStroke field. |
| void | setDisplayWidth(displayWidth : int) Sets the displayWidth field. |
| void | setHorizontal(horizontal : boolean) Sets the horizontal field. |
| void | setLabelClass(labelClass : String) Sets the labelClass field. |
| void | setLabelColor(labelColor : String | Number) Sets the labelColor field. |
| void | setLabelFunction(labelFunction : String) Sets the labelFunction field, allows for formatting and transformation of a major tick label; should eval to a function with the signature function(object) : string. |
| void | setLabelGap(labelGap : int) Sets the labelGap field. |
| void | setLabelPlacement(labelPlacement : String) Sets the labelPlacement field, checks for invalid values. |
| void | setLabelStyle(labelStyle : String) Sets the labelStyle field. |
| void | setMinorTickDivisions(minorTickDivisions : int) Sets the minorTickDivisions field. |
| void | setMinorTickLength(minorTickLength : int) Sets the minorTickLength field. |
| void | setMinorTickPlacement(minorTickPlacement : String) Sets the minorTickPlacement field. |
| void | setMinorTickStroke(minorTickStroke : String) Sets the minorTickStroke field. |
| void | setShowAxis(showAxis : boolean) Sets the showAxis field. |
| void | setShowLabels(showLabels : boolean) Sets the showLabels field. |
| void | setTickLength(tickLength : int) Sets the tickLength field. |
| void | setTickPlacement(tickPlacement : String) Sets the tickPlacement field. |
| void | setTickStroke(tickStroke : String) Sets the tickStroke field. |
| Methods Inherited From jsx3.chart.ChartComponent |
|---|
| getChart |
| Methods Inherited From jsx3.gui.Block |
|---|
| getBackground, getBackgroundColor, getBorder, getCSSOverride, getClassName, getColor, getCursor, getDimensions, getDisplay, getFontName, getFontSize, getFontWeight, getHeight, getIndex, getLeft, getMargin, getOverflow, getPadding, getRelativePosition, getTagName, getText, getTextAlign, getTip, getTop, getVisibility, getWidth, getZIndex, hideMask, paint, setBackground, setBackgroundColor, setBorder, setCSSOverride, setClassName, setColor, setCursor, setDimensions, setDisplay, setFontName, setFontSize, setFontWeight, setHeight, setIndex, setLeft, setMargin, setOverflow, setPadding, setRelativePosition, setTagName, setText, setTextAlign, setTip, setTop, setVisibility, setWidth, setZIndex, showMask |
| Methods Inherited From jsx3.gui.Interactive |
|---|
| doEvent, getCanDrag, getCanDrop, getCanMove, getCanSpy, getEvent, getEvents, getMenu, hasEvent, registerHotKey, removeEvent, removeEvents, setCanDrag, setCanDrop, setCanMove, setCanSpy, setEvent, setMenu, setSpyStyles, showSpy |
| Methods Inherited From jsx3.gui.Painted |
|---|
| focus, getAbsolutePosition, getAttribute, getAttributes, getDynamicProperty, getRendered, insertHTML, onAfterPaint, paintChild, paintChildren, recalcBox, removeAttribute, removeAttributes, repaint, setAttribute, setDynamicProperty |
| Methods Inherited From jsx3.util.EventDispatcher |
|---|
| publish, subscribe, unsubscribe, unsubscribeAll |
| Methods Inherited From jsx3.lang.Object |
|---|
| clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf |
| Field Detail |
|---|
| Constructor Detail |
|---|
| Method Detail |
|---|