▲ | jollyllama 11 days ago | ||||||||||||||||||||||
Looks like it could work nicely with HTMX. | |||||||||||||||||||||||
▲ | anentropic 10 days ago | parent | next [-] | ||||||||||||||||||||||
I'm using ECharts with HTMX + AlpineJS, with ECharts wrapped in an Alpine component I had to disable hx-history to get around a problem of the charts getting double instantiated it feels a bit of a lame workaround but I never managed to get to the bottom of it apart from that, totally happy | |||||||||||||||||||||||
▲ | wlkr 11 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Funny seeing this here with your comment, as I was exploring using ECharts for a project recently to work exactly with HTMX from a Clojure backend. I eventually settled on Chart.js as I found that for my use case, I wanted the charts to more easily fit their dynamically sized container, which isn’t quite as simple with ECharts and Vega. I also didn't need particularly complex plots. Nevertheless, this is a nice project! There remain some open challenges with web-based visualisation libraries more generally around responsive design and accessibility, but we’ve come a long way. | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | dismalaf 11 days ago | parent | prev [-] | ||||||||||||||||||||||
Not sure about HTMX specifically, but I've used it with Rails/Hotwire/Stimulus (similar conceptually) and it works great. |