Replies: 1 comment
-
Hi @Gilson401 I the library won't return this extra data for you as it only cares about prices and times. But seeing as you provide the data you could lookup the data you need in the event handler. Something like this https://codesandbox.io/s/nostalgic-violet-3st0oq?file=/index.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In lineChart, series.setData() accepts an array of objects containing { time: 'some_time_value', value: 'some_price_value' }.
I wonder add others key-values in this object to get them at crosshairMove and display more data in tooltip then only current point price and time. Is it possible?
Example code:
` function updateChartData() {
const btcValues = []
const assetPrices = []
const termoValues = []
`
Beta Was this translation helpful? Give feedback.
All reactions