Mark Silverwood

Results 179 comments of Mark Silverwood

Perhaps you are having issues because you are using the same data for both the candlestick and the histogram series. Does this fix the issue? ```js useEffect(() => { if...

It depends on the type of series that the data is intended for. The library expects one of the following: - 'Line type' data, which has `value` - or 'Bar...

In principle it should be fine to add a different checker for each data type. It would probably only add a tiny bit to the bundle size and be easy...

Thank you for reporting this. This is something that could be improved and fixed on the library.

Thanks @tpunt, we will have a more detailed look into this during our work for the next major release of the library.

Yes, it is a feature which you could have a go at implementing. First step would be to discuss the possible API change. Perhaps adding an optional property called `price`...

You can use a formatter function for the time: - https://tradingview.github.io/lightweight-charts/docs/api/interfaces/LocalizationOptions#timeformatter

Within the chart settings you could set [`handleScroll`](https://tradingview.github.io/lightweight-charts/docs/api/interfaces/ChartOptionsBase#handlescroll) and [`handleScale`](https://tradingview.github.io/lightweight-charts/docs/api/interfaces/ChartOptionsBase#handlescale) to `false`. Or you could just place a transparent `div` on top of the chart with the following css property...

There is a single graphics test which is failing: - make-series-hidden The gridlines are being drawn in the wrong places for all the DPRs except `1`. Golden: ![make-series-hidden-golden](https://github.com/tradingview/lightweight-charts/assets/3482679/beb6a3de-fc75-4ccb-82da-4dc0343685bb) Test: ![make-series-hidden-test](https://github.com/tradingview/lightweight-charts/assets/3482679/cb330327-8c66-45b0-8d6c-ce2ddc15effd)