Interface: TimescaleMark
Charting Library.TimescaleMark
Properties
color
• color: string
Color for the timescale mark
id
• id: string
| number
ID of the timescale mark
imageUrl
• Optional
imageUrl: string
Optional URL for an image to be displayed within the timescale mark.
The image should ideally be square in dimension. You can use any image type which the browser supports natively.
Examples:
https://s3-symbol-logo.tradingview.com/crypto/XTVCBTC.svg
/images/myImage.png
data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3...
data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/4...
label
• label: string
Label for the timescale mark
labelFontColor
• Optional
labelFontColor: string
Color for the timescale mark text label.
If undefined then the value provided for color
will be used.
shape
• Optional
shape: TimeScaleMarkShape
Shape of the timescale mark
showLabelWhenImageLoaded
• Optional
showLabelWhenImageLoaded: boolean
Continue to show text label even when an image has been loaded for the timescale mark.
Defaults to false
if undefined.
time
• time: number
Time for the mark. Amount of milliseconds since Unix epoch start in UTC timezone.
tooltip
• tooltip: string
[]
Tooltip content