Mark Silverwood

Results 179 comments of Mark Silverwood

You could try use the `fitContent` method on the timeScale. `chart.timeScale().fitContent()` This will make the content fit the full width of the chart. The timeScale tick mark labels will always...

The library will automatically include half a bar width of space to the left of the first point and the right of the last point. This is to ensure that...

I believe that this is an issue with the example you've provided (and how it is integrated with React). If you call `setData` after you create the areaSeries then appears...

I've created a reproduction without the React part: https://codesandbox.io/p/sandbox/lightweight-charts-ts-starter-forked-5g5ene So the issue only occurs when both `fixLeftEdge` and `fixRightEdge` are true, and you are adding data to a chart which...

It seems that applying options to the timeScale again will trigger a re-render which fixes this problem and doesn't use the `fitContent` method. ```js chart.timeScale().applyOptions({}); ``` Even though the options...

Scale margins can no longer be set via the series options as of version 4.0. Please see this section in our Migration guide for v3 to v4: https://tradingview.github.io/lightweight-charts/docs/migrations/from-v3-to-v4#scalemargins-option-has-been-removed-from-series-options When you...

The error is that the base value for the price formatter isn't a valid value. The base value for a price formatter can be calculated using this equation: `base =...

With regards to scales. It is possible to assign which scale a series should belong to. This is achieved by setting `priceScaleId` within the series options. (A similar example is...

Have you copied all the files to correct directories? https://github.com/tradingview/charting-library-examples/tree/master/react-native#how-to-start---android The files are copied to different directories for iOS and Android. To get a more concrete answer on what the...

This issue has been resolved with the [`v4.0.0`](https://github.com/tradingview/lightweight-charts/releases/tag/v4.0.0) release.