[Ovmsdev] Chart lib for the web UI (was Re: Auto start/init)

Mark Webb-Johnson mark at webb-johnson.net
Mon Mar 5 16:02:45 HKT 2018


Chartist-js seems fine for what we need.

For gauges, I am talking about something like Torque. The ability to create a dashboard with gauges mapped to metrics. Useful both on web and on Apps. Anyway, not at all urgent or high priority.

Regards, Mark.

> On 5 Mar 2018, at 3:53 PM, Michael Balzer <dexter at expeedo.de> wrote:
> 
> Highcharts can be used free for non-commercial projects:
> 
> https://www.highcharts.com/products/highcharts/#non-commercial <https://www.highcharts.com/products/highcharts/#non-commercial>
> 
> …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/ <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.
> 
> Regards,
> Michael
> 
> 
> 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):
>> 
>> Charts (bar, line, pie, etc)
>> 
>> http://www.chartjs.org/ <http://www.chartjs.org/>
>> https://gionkunz.github.io/chartist-js/index.html <https://gionkunz.github.io/chartist-js/index.html>
>> 
>> Gauges
>> 
>> https://canvas-gauges.com/ <https://canvas-gauges.com/>
>> 
>> 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:
>>> 
>>> Steve,
>>> 
>>> 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/ <http://www.chartjs.org/>
>>> - https://gionkunz.github.io/chartist-js/index.html <https://gionkunz.github.io/chartist-js/index.html>
>>> - https://www.highcharts.com/ <https://www.highcharts.com/>
>>> - https://www.fusioncharts.com/ <https://www.fusioncharts.com/>
>>> 
>>> Regards,
>>> Michael
>>> 
>>> 
>>> Am 04.03.2018 um 17:49 schrieb Stephen Casner:
>>>> Michael,
>>>> 
>>>> 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>
>>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
>>> 
>>> -- 
>>> 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>
>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
>> 
>> 
>> 
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
> 
> -- 
> 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
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180305/fa53fb11/attachment.htm>


More information about the OvmsDev mailing list