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.
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.
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.