Open rnidea2code opened 9 months ago
tooltipComponent={ <Tooltip value={chartData} position={{x: 10, y: 5}} theme={{ label: {fontSize: 12}, shape: {width: 50,height:50}, formatter(value) { return (
); // return `${Number(value.y).toFixed(2)}`; }, }} /> }
I had tried to create my custom component for the tooltips but not able to give position on the custom tooltips box it's take fixed position so please give me suggestion for that how can i set my tooltips on my chart data point
tooltipComponent={ <Tooltip value={chartData} position={{x: 10, y: 5}} theme={{ label: {fontSize: 12}, shape: {width: 50,height:50}, formatter(value) { return (
I had tried to create my custom component for the tooltips but not able to give position on the custom tooltips box it's take fixed position so please give me suggestion for that how can i set my tooltips on my chart data point