svandecappelle / jQPlot

JQplot revival
http://svandecappelle.github.io/jQPlot/
MIT License
29 stars 13 forks source link

Question on new interface standards. #48

Open svandecappelle opened 8 years ago

svandecappelle commented 8 years ago

A question to know if the actual standards displaying jqplot is at now yet corresponding to the HTML5 and web standard.

Especially on:

NB: comment to add more propositions.

RubenOlsen commented 8 years ago

I am not sure what you mean by actual standards with regards to displaying graphs? As far as I am aware of, but I might of course be mistaken, there is no set HTML5 standards when it comes to toolbars, fonts and colours.

However, as jQPlot is a jQuery add-on - it might make more sense to hook into how jQuery is dealing with styling and colours. Default colour palettes should in principle really follow jQuery. I write "in principle", because my experience with styling jQuery widgets is that jQuery out-of-the-box uses very few colours compared to a bar chart with maybe 20 bars.

A cool thing would be to have a tool (can be a plugin to jQPlot) where the current jQuery CSS is taken as input and dynamically generates a colour palette based on the colours it finds in the CSS. There is a lot of theories on colour and colour palettes out there. This if of course not a small endeavor - quite difficult to do correctly in practice. An intermediate solution is to have a CSS generator for jQPlot colours with some live rendering of a few charts.

I must admit that even if I have been using jQPlot since 2009 in various projects, I have never ever change the style of the plots :-)

johanbove commented 8 years ago

Interesting idea. Might be good to explain a bit more in detail what you mean. If you're talking about HTML and web standards, can you give us an existing example or article?

johanbove commented 8 years ago

Noticed an issue with "font-awesome.min.css"; the file is referenced, but it is not included in the "dist" folder so a 404 error is generated.