Advice about Charts and Quasar
-
Hi everyone,
Do you have any experience using Charts with Quasar? Could you recommend some plugin or give me some advice on which one to use?
-
Check useful tips section in this forum https://forum.quasar-framework.org/topic/4158/quasar-e-apex-charts-sample-application
-
Thanks @metalsadman
I will test these options, thank so much!
-
@eurus-pro
Hi,
Try vue-chart.js. It’s wrapper for chart.js library. Great, if you need high customizable library with a lot of plugins. -
I’d second that, chart js is the way to go, if you’re feeling adventurous give d3.js a spin
-
d3.js is an incredibly powerful set of functions, not only graphics but other stuff as well. I used d3-sparql to do SPARQL queries against Wikidata and it works great. However, I am finding it difficult to locate examples of d3 graphics in Quasar. The description in https://github.com/CorpGlory/d3vue/blob/master/src/d3-components/circle-mount.vue for Vue.js is helpful and the simple circle works. In template have a div with <svg> element in the example, const d3 = require(‘d3’) appears to work rather than using import (although I used import { sparql} from ‘d3-sparql’ to get the sparql-only function. It would be helpful to have some Quasar-d3 example applications, although it appears that Vue.js use of d3 may carry over to Quasar with few, if any, special considerations. Are others enthusiastic about d3 for graphics and other functions, or is this not a good way to go? I am adventurous, but only if it is worthwhile!