[Ovmsdev] Chart lib for the web UI (was Re: Auto start/init)
dexter at expeedo.de
Mon Mar 5 15:53:11 HKT 2018
Highcharts can be used free for non-commercial projects:
…but is quite fat, as well as chart.js and FusionCharts.
Chartist-js is my current preference.
Gauges can be done otherwise, but they also don't need to be super fancy. Canvas Gauges needs 13 kB gzipped, which is quite a lot for just gauges.
http://bernii.github.io/gauge.js/ would be my choice, that's just 4.8 kB gzipped. Maybe the gauge charts in chartist-js even are sufficient, with some extra
lines of code to add a pointer, but another 4.8 kB wouldn't hurt too much given the just 10 kB of chartist.
Am 05.03.2018 um 03:19 schrieb Mark Webb-Johnson:
> I use highcharts in my day job. Good, but expensive and not easily licensable for embedded. Open Source would also be a better fit.
> I suspect that avoiding commercial charting libraries will limit our choice.
> Maybe splitting the requirements into two would help (rather than trying to find one that does both):
> 1. Charts (bar, line, pie, etc)
> 2. Gauges
> I’m certainly looking for something similar for the App side.
> Regards, Mark
>> On 5 Mar 2018, at 2:43 AM, Michael Balzer <dexter at expeedo.de <mailto:dexter at expeedo.de>> wrote:
>> yes, we definitely should include a charting lib, so we can do nice real time dashboards and statistics.
>> I need to check some new projects first. I've been using Flot for business backends, but it's become very outdated now.
>> New libs to check currently on my list:
>> - http://www.chartjs.org/
>> - https://gionkunz.github.io/chartist-js/index.html
>> - https://www.highcharts.com/
>> - https://www.fusioncharts.com/
>> Am 04.03.2018 um 17:49 schrieb Stephen Casner:
>>> Is there a graphing package that would be feasible to include in our web server?
>>> -- Steve
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
>> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OvmsDev