问题标签 [lightweight-charts]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
javascript - Lightweight TradingView Chart is not showing CrossHair on ReactApp. Its working in normal html page. Any idea what can be wrong?
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
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.
javascript - TradingView 轻量级图表 - 修复左右价格刻度的宽度
有没有办法将右侧(和左侧)价格刻度的宽度固定为一定数量的像素?比如说,右边的价格比例为 50 像素,左边的价格比例为 70 像素?
对于reprex,请参阅https://jsfiddle.net/TradingView/cnbamtuh/,从下面的正确价格比例代码获取,以及https://jsfiddle.net/TradingView/6s01gdje/,它显示左侧价格比例. 我在下面代码的注释 (//) 中添加了一个不起作用的选项,但拥有它会很有用。有什么办法可以完成这种行为吗?
谢谢