Information on this website refers to a deprecated product, and is provided only for historical reference. Please use the Version Switcher above to select an appropriate documentation website for the product you are using.

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.

Inheritance

ChartCursorSettings does not extend any other symbol.

ChartCursorSettings is not extended by any other symbol.

Properties

bulletsEnabled
#

Type boolean

Default

Specifies if bullet for each graph will follow the cursor.

bulletSize
#

Type number

Default

Size of bullets, following the cursor.

categoryBalloonAlpha
#

Type number

Default

Opacity of the category balloon.

categoryBalloonColor
#

Type string

Default

Color of the category balloon.

categoryBalloonDateFormats
#

Type array

Default [{
  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.

categoryBalloonEnabled
#

Type boolean

Default

Specifies whether category balloon is enabled.

cursorAlpha
#

Type number

Default

Opacity of the cursor line.

cursorColor
#

Type string

Default

Color of the cursor line.

cursorPosition
#

Type string

Default

Possible values: "start", "middle" and "mouse".

enabled
#

Type boolean

Default true

Set this to "false" if you don't want chart cursor to appear in your charts.

pan
#

Type boolean

Default

If this is set to true, the user will be able to pan the chart instead of zooming.

valueBalloonsEnabled
#

Type boolean

Default false

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
#

Type boolean

Default

Specifies 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.

Adapters

ChartCursorSettings does not have any adapters.