3 ms·
Awesome! Do you have an simple one page example where you're pulling the lib from a CDN?
by mrborgen 9y ago
Awesome! Do you have an simple one page example where you're pulling the lib from a CDN?
- Golodhros 9y agoIt's coming! We have an issue with our webpack configuration and the way we create the 'whole' bundle, but it will be ready soon!
- metafunctor 9y agoI spent a few moments trying to use this as a standalone JS library for showing a simple chart, but couldn't make it work. I cannot see anything useful being exported from dist/bundled/britecharts.min.js. I'd prefer to simply load d3.js, then britecharts.js on top of that, and be on my way. This is how metricsgraphics.js worked, and it was super simple to take into use.
- Golodhros 9y agoHi Metafunctor, thanks for checking out Britecharts! I am sorry that you just find our current bug with the build! We have an issue about that, and we will be trying to fix it ASAP. I totally understand, having all the charts available in one file is an important use case. In the meanwhile, you can use the individual chart bundles, like '/dist/umd/bar.min.js' and either load it with require/commonJS or load it with a script tag (it would be assigned to document.britecharts.bar).
- deleted 9y ago[deleted]