đī¸ Environment â
Browser support â
The chart is built based on html5 canvas and needs to run on a browser that supports canvas. If it needs to run on the mobile terminal, please use webview to load it.
Polyfill â
core.js â
The internal collection of the chart uses Map
for compatibility with unsupported older browsers.
javascript
import 'core.js';
import { init } from 'klincharts';
Intl.js â
Charts rely on Intl
, some browsers do not have this API.
javascript
import 'intl';
import 'intl/local-data/jsonp/en';
import { init } from 'klincharts';