Interface: CustomBarItemData<HorzScaleItem, TData>
Renderer data for an item within the custom series.
Type parameters
Name | Type |
---|---|
HorzScaleItem | HorzScaleItem |
TData | extends CustomData <HorzScaleItem > = CustomData <HorzScaleItem > |
Properties
x
• x: number
Horizontal coordinate for the item. Measured from the left edge of the pane in pixels.
time
• time: number
Time scale index for the item. This isn't the timestamp but rather the logical index.
originalData
• originalData: TData
Original data for the item.
barColor
• barColor: string
Color assigned for the item, typically used for price line and price scale label.