Base Axis Method Examples
Methods Demonstrated
Desired Result
Default Base Axis
Source Code
- Rendering Source Code...
Methods Demonstrated
- addBin
Description
This chart will use bins to set up the order in which to place the incoming STRING X-Data.
Source Code
- Rendering Source Code...
Methods Demonstrated
- setExtremes
- getExtremes
Desired Result
This chart will set the X extremes to -20,20.
Source Code
- Rendering Source Code...
Methods Demonstrated
- pixelToPoint
- pointToPixel
Description
In this chart you can double-click on a point to get alerted it's X and Y values, along with those values converted to screen pixels, and back into chart points.
Source Code
- Rendering Source Code...
Methods Demonstrated
- hide
- show
- hideGrid
- showGrid
Desired Result
These buttons hide and show the axis and its grid.
Source Code
- Rendering Source Code...
Methods Demonstrated
- setZoom
- getZoom
- resetZoom
Description
These buttons will change the current zoom on the X Axis and alert it's current zoom state.
Source Code
- Rendering Source Code...
Methods Demonstrated
- getZoomBoxCoordinates
Desired Result
When you zoom in this chart, it will alert the zoom box coordinates for the bottom and left axis.
Source Code
- Rendering Source Code...
Methods Demonstrated
- getZoomBoxCoordinates
Description
These buttons will set the axis caption, and show and hide its crosshair at X=2
Source Code
- Rendering Source Code...