ultrasoundmoney / frontend

ultrasound.money frontend
https://ultrasound.money
MIT License
216 stars 73 forks source link

Animate the annualised supply growth. #248

Open alextes opened 1 year ago

alextes commented 1 year ago

We tell highcharts to use custom HTML to get more control of styling and that we'll define a callback function to do it. In order to animate something, it would have to be updating the CSS or potentially change the textNode, or not be using HTML entirely but something like SVG. I don't see a way to use custom HTML styling, and have the element update in the chart.

We could explore using native elements of highcharts and styling those, or using a different functionality entirely. I know there are data point labels for example. This requires introducing a new highcharts extension (may be included already?) which looks and renders differently.