1

I have a LineChart on my app from react-native-charts-wrapper and usually after the user taps on the chart the dates's bar appears on the chart like this:

enter image description here

But i need to set like just point selection, like this:

enter image description here

But i could not find any ways how to make it. Can somebody recommend me please how can i do it?

jocoders
  • 1,594
  • 2
  • 19
  • 54

1 Answers1

0

You can do it with:

chart.dispatchAction({
  type: 'highlight',
  dataIndex: your_index,
});

More information you can find in docs. https://echarts.apache.org/en/api.html#action.highlight

M.N.
  • 65
  • 8