0

enter image description here

ref: https://info.uniswap.org/#/

So I am trying to figure out how to make the createChart(...).addAreaSeries have a smooth line? And bring the labels from x-axis closer to the margin. I am look into Uniswap source code, however there is no hints.

IntFooBar
  • 174
  • 3
  • 18

1 Answers1

0

lightweight-charts doesn't support smoothing lines yet (and probably won't).

As I can see from the picture and the page your referred there is no lightweight-charts, it is some other library (which uses SVG instead of canvas). Probably they use lightweight-charts somewhere else.

timocov
  • 1,088
  • 6
  • 16