Skip to content

🏝ī¸ 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';