0

I implemented the charts in react app but I am not able to see the Crosshair horizontal and vertical lines on hovering the chart. I am using AreaSeries with below setting

chart.applyOptions({
crosshair: {
mode: CrosshairMode.Normal,
vertLine: {
color: 'FF0000',
width: 2,
visible:true,
labelVisible:true
},
horzLine: {
color: 'FF0000',
width: 2,
visible:true,
labelVisible:true
}
}
})

Can someone please tell me what I am missing here? When i tried this implementation in html page then it works fine. Not able to understand what might be the reason behind cross hair not working in reactapp.

4

0 回答 0