Package Exports
- @datarailsshared/dr_renderer
- @datarailsshared/dr_renderer/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@datarailsshared/dr_renderer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Datarails renderer
This project was generated by amazing Datarails R&D team
Install
npm i @datarailsshared/dr_rendererUsage
const dr_renderer = require( "@datarailsshared/dr_renderer");
dr_renderer.init($, window, window.document);
let default_colors = ["#106bd0", "#00cee8", "#95c8d8", "#89cff0", "#FE746D", "#6ADC4C", "#9B9AD9", "#ff8000", "#C11B12", "#5a41f9"];
let hr = dr_renderer.getInitHighchartsRenderer($, document, default_colors, Highcharts);Development
Types
To be able to compile types with npm run build:types you need to install typescript globally:
npm i -g typescript
Publish to npm
Just merge to prod branch