Property | Type | Default | Description |
---|
bulletsEnabled | Boolean | false | Specifies if bullet for each graph will follow the cursor. |
bulletSize | Number | 8 | Size of bullets, following the cursor. |
categoryBalloonAlpha | Number | 1 | Opacity of the category balloon. |
categoryBalloonColor | String | | Color of the category balloon. cursorColor is used if not set. |
categoryBalloonDateFormat | String | MMM DD, YYYY | Category balloon date format (used only if category axis parses dates). Check this page for instructions on how to format dates. |
categoryBalloonEnabled | Boolean | true | Specifies whether category balloon is enabled. |
categoryBalloonFunction | Function | | Allows formatting any category balloon text you want. categoryBalloonFunction should return a string which will be displayed in a balloon. When categoryBalloonFunction is called, category value (or date) is passed as an argument. |
color | String | #FFFFFF | Text color. |
cursorAlpha | Number | 1 | Opacity of the cursor line. |
cursorColor | String | #CC0000 | Color of the cursor line. |
cursorPosition | String | | Specifies where the cursor line should be placed - on the beginning of the period (day, hour, etc) or in the middle (only when parseDates property of categoryAxis is set to true). If you want the cursor to follow mouse and not to glue to the nearest data point, set "mouse" here. Possible values are: "start", "middle", "mouse". |
enabled | Boolean | true | Specifies whether cursor is enabled. |
oneBalloonOnly | Boolean | false | If this is set to true, only one balloon at a time will be displayed. Note, this is quite CPU consuming. |
pan | Boolean | false | If this is set to true, the user will be able to pan the chart (Serial only) instead of zooming. |
selectionAlpha | Number | | Opacity of the selection. |
selectWithoutZooming | Boolean | false | Specifies if cursor should only mark selected area but not zoom-in after user releases mouse button. |
valueBalloonsEnabled | Boolean | true | Specifies whether value balloons are enabled. In case they are not, the balloons might be displayed anyway, when the user rolls-over the column or bullet. |
zoomable | Boolean | true | Specifies if the user can zoom-in the chart. If pan is set to true, zoomable is switched to false automatically. |
zooming | Boolean | | Indicates if currently user is selecting some chart area to zoom-in. |
Name | Event object | Description |
---|
changed | {type:"changed", index:Number, zooming:Boolean, mostCloseGraph:AmGraph, chart:AmChart } | Dispatched when cursor position is changed. "index" is a series index over which chart cursors currently is. "zooming" specifies if user is currently zooming (is selecting) the chart. mostCloseGraph property is set only when oneBalloonOnly is set to true. |
onHideCursor | {type:"onHideCursor", chart:AmChart} | Dispatched when cursor is hidden. |
selected | {type:"changed", index:Number, zooming:Boolean, chart:AmChart} | Dispatched if selectWithoutZooming is set to true and when user selects some period. start and end are indices or time stamp (when categoryAxis.parseDates is true) of selection start/end. |
zoomed | {type:"changed", index:Number, zooming:Boolean, chart:AmChart} | Dispatched when user zooms to some period. start and end are indices or time stamp (when categoryAxis.parseDates is true) of selection start/end. |