Mark Silverwood

Results 179 comments of Mark Silverwood

The `shiftVisibleRangeOnNewBar` option only applies when you are adding new data using the [`update()`](https://tradingview.github.io/lightweight-charts/docs/api/interfaces/ISeriesApi#update) method on the series instance. Your updateData function is using `setData()` which replaces the entire dataset....

I may be mistaken but I don't think you can do this directly. You could try create a new Astro component which will read the source file from your disk...

If the goal is to make the entire `serve-handler` options object customisable from the command line then it may be a bit cumbersome to achieve that with a JSON string....

Agreed, that makes sense. It would be out of scope to add all those options from a third-party lib. I can use `npx serve` or create my own script to...

I've created a stackbiltz example where the site functions correctly on `npm run start`, but not when running `npm run serve`. https://stackblitz.com/edit/github-sifwoz?file=docusaurus.config.js **It appears that this behaviour only occurs when...

Within `serve.ts`, if I set `cleanUrls: false` then it works as expected. However, if I remove the http 302 'found' redirect logic then it works as well (without changing the...

We have an example showing how to configure the chart to display both the price and volume on a single chart here: https://tradingview.github.io/lightweight-charts/tutorials/how_to/price-and-volume You could also display the volume on...

Could you please describe in more detail what the issue is with `subscribeClick`? If this is a bug report then please include the following sections: observed behaviour, expected behaviour, the...

Thanks. The bug has been fixed, and will be included in the next release of the library. If you require the fix now then you can clone the repo onto...

Related: https://tradingview.github.io/lightweight-charts/docs/api/interfaces/ChartOptions#trackingmode