You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.
I'm trying to figure out how to use NVD3's function highlightPoint as an option passed to a react-nvd3 component. The NVD3 documentation says nothing, nor react-nvd3's README.
I looked into NVD3 source code and saw that this is simple function, but I couldn't figure it out how react-nvd3's option turn into this function call.
I tried with no success to pass an array, a object and a array of arrays, like:
I'm trying to figure out how to use NVD3's function highlightPoint as an option passed to a react-nvd3 component. The NVD3 documentation says nothing, nor react-nvd3's README.
I looked into NVD3 source code and saw that this is simple function, but I couldn't figure it out how react-nvd3's option turn into this function call.
I tried with no success to pass an array, a object and a array of arrays, like:
<NVD3Chart id="line-chart" type="lineChart" datum={this.state.data} x="variable1" y="variable2" options={{ highlightPoint: {seriesIndex: 0, pointIndex: 0, isHoverOver: true} }} />
Or with:
options={{highlightPoint: [0, 0, true]}}
Or with:
options={{highlightPoint: [[0, 0, true]]}}
Does anyone know what I'm missing?
Thanks in advance.
The text was updated successfully, but these errors were encountered: