Class GraphDataItem

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.

Index

Properties

Properties

public alpha: number

Opacity of the data item.

public bullet: string

Bullet type.

public bulletSize: number

Bullet size.

public category: string

Category value.

public color: string

Color of the data item.

public customBullet: string

Custom bullet (path to file name).

public dataContext: Object

Original object from data provider.

public description: string

Description.

public fillColors: Array<any>

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

public percents: Object

Object which holds percents when recalculateToPercents is set to true.

public serialDataItem: SerialDataItem

SerialDataItem of this graphDataItem

public url: string

url

public values: Object

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

public x: number

x coordinate of the data item.

public y: number

y coordinate of the data item.