GraphDataItem

Type class

GraphDataItem holds all the information about the graph's data item. When working with a chart, you do not create GraphDataItem objects or change it's properties directly. GraphDataItem is passed to you by events when user interacts with data item on the chart. The list of properties below will help you to extract data item's value/coordinate/etc.

Inheritance

GraphDataItem does not extend any other symbol.

GraphDataItem is not extended by any other symbol.

Properties

alpha
#

Type number

Opacity of the data item.

bullet
#

Type string

Bullet type.

bulletSize
#

Type number

Bullet size.

category
#

Type string

Category value.

color
#

Type color

Color of the data item.

customBullet
#

Type string

Custom bullet (path to file name).

dataContext
#

Type object

Original object from data provider.

description
#

Type string

Description.

fillColors
#

Type color[]

Array of colors of the data item, used by column and candlestick chart only.

percents
#

Type object

Object which holds percents when recalculateToPercents is set to true.

serialDataItem
#

Type SerialDataItem

SerialDataItem of this graphDataItem

url
#

Type string

url

values
#

Type object

Object which holds values of the data item (value, open, close, low, high).

x
#

Type number

x coordinate of the data item.

y
#

Type number

y coordinate of the data item.

Methods

GraphDataItem does not have any methods.

Events

GraphDataItem does not have any events.

Adapters

GraphDataItem does not have any adapters.