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';