ChartCursorSettings
Type class
ChartCursorSettings settings set's settings for chart cursor. If you change a property after the chart is initialized, you should call stockChart.validateNow() method in order for it to work. If there is no default value specified, default value of ChartCursor class will be used.
Sources
This information about ChartCursorSettings is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
ChartCursorSettings does not extend any other symbol.
ChartCursorSettings is not extended by any other symbol.
Properties
bulletsEnabledType
booleanDefaultSpecifies if bullet for each graph will follow the cursor.
bulletSizeType
numberDefaultSize of bullets, following the cursor.
categoryBalloonAlphaType
numberDefaultOpacity of the category balloon.
categoryBalloonColorType
stringDefaultColor of the category balloon.
categoryBalloonDateFormatsType
arrayDefault[{period:"YYYY", format:"YYYY"}, {period:"MM", format:"MMM, YYYY"}, {period:"WW", format:"MMM DD, YYYY"}, {period:"DD", format:"MMM DD, YYYY"}, {period:"hh", format:"JJ:NN"}, {period:"mm", format:"JJ:NN"}, {period:"ss", format:"JJ:NN:SS"}, {period:"fff", format:"JJ:NN:SS"}]Array of date format objects. Date format object must have "period" and "format" items. Available periods are: fff - millisecond, ss - second, mm - minute, hh - hour, DD - date, WW - week, MM - month, YYYY - year.
categoryBalloonEnabledType
booleanDefaultSpecifies whether category balloon is enabled.
cursorAlphaType
numberDefaultOpacity of the cursor line.
cursorColorType
stringDefaultColor of the cursor line.
cursorPositionType
stringDefaultPossible values: "start", "middle" and "mouse".
enabledType
booleanDefaulttrueSet this to "false" if you don't want chart cursor to appear in your charts.
panType
booleanDefaultIf this is set to true, the user will be able to pan the chart instead of zooming.
valueBalloonsEnabledType
booleanDefaultfalseSpecifies 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.
zoomableType
booleanDefaultSpecifies if the user can zoom-in the chart. If pan is set to true, zoomable is switched to false automatically.
Methods
ChartCursorSettings does not have any methods.
Events
ChartCursorSettings does not have any events.