4 ms·
I don't need JQuery, but Flot chart still depends on JQuery. I searched for a lightweight alternative, tried Zepto which isn't doesn't work correctly with Flot
by frik 11y ago
I don't need JQuery, but Flot chart still depends on JQuery. I searched for a lightweight alternative, tried Zepto which isn't doesn't work correctly with Flot and it uses very bad coding practises (various suggestions even from Mozilla devs were marked as won't fix). I read Cash isn't an compatible alternative either. Hmm, hopefully Flot drops JQuery as requirement, as it's a really good charting library and the only free one that is very comparable to Highcharts.
- naranha 11y agoI switched from Flotjs to c3js a while back and have no regrets. It still needs d3js as a dependency though.
- onli 11y agoDid you find a solution for its file size? For my side-project I had to choose between c3js and flot, and while flot was 56KB + a few KB for some plugins, c3js + d3js was 300KB. JQuery was already used and thus did not count against flot. C3js made a good impression otherwise and flot seems to be dead (no activity on https://github.com/flot/flot https://github.com/flot/flot, or is there a living fork?) making that decision hard.
- naranha 11y agoUnfortunately no. We needed d3 for some other things so it wasn't a concern. C3js development doesn't seem to be very active either - hadn't looked at it in a while -, but it's still a pretty good library.
- deleted 11y ago[deleted]