I use CombinedChart: candle + bar
My candleData:
[{
"close": 123.8,
"date": 2023-03-03T09:25:00.000Z,
"index": 0,
"marker": "lorem ipsum dolor",
"open": 456,
"shadowH": 499,
"shadowL": 311,
"volume": 5
}, {
"close": 123,
"date": 2023-03-03T09:30:00.000Z,
"index": 1,
"marker": "lorem ipsum dolor",
"open": 456,
"shadowH": 499,
"shadowL": 311,
"volume": 21
}, ..... etc ]
I need to set selected point programmatically.
For this I use:
and
this._candleStickChartRef.highlights([{ .... but I don't know what I should enter here }]);
Hello.
I use CombinedChart: candle + bar My candleData: [{ "close": 123.8, "date": 2023-03-03T09:25:00.000Z, "index": 0, "marker": "lorem ipsum dolor", "open": 456, "shadowH": 499, "shadowL": 311, "volume": 5 }, { "close": 123, "date": 2023-03-03T09:30:00.000Z, "index": 1, "marker": "lorem ipsum dolor", "open": 456, "shadowH": 499, "shadowL": 311, "volume": 21 }, ..... etc ]
I need to set selected point programmatically. For this I use: and this._candleStickChartRef.highlights([{ .... but I don't know what I should enter here }]);
Please, help me.
Specifications
"react-native": "0.66.5", "react-native-charts-wrapper": "0.5.9"