【发布时间】:2019-05-11 16:13:52
【问题描述】:
在 highcharts 中,通过单击数据点,我需要通过在 react 中传递点值来重定向到另一个页面。 我正在使用到达/路由器。有没有什么可以让我们像反应/路由器链接这样的点。
plotOptions :{
series: {
cursor: 'pointer',
point: {
events: {
click: function () {
console.log(this);
// want to redirect to other component like Link in Reach/router.
}
}
}
}
}
【问题讨论】:
标签: reactjs highcharts react-highcharts reach-router