airyland / airyland/vux

[Bug Report] v-chart 自定义渲染提示Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.remoteFunction (<anonymous>:2:14) at VueComponent.renderChart (webpack-internal:///679:109:13) at VueComponent.invoker

Offen
#3,342 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Vue
Sterne
17.5k
Forks
3.6k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### VUX version
2.9.2

### OS/Browsers version
window7/Google Chrome版本 71.0.3578.98

### Vue version
2.5.21

### Code

```html

renderChart ({ chart }) {
var data = [{
country: '巴西',
population: 15000
}, {
country: '中国',
population: 180007
}];

chart.source(data)
chart.axis('country', {
label: null
});
chart.axis('population', {
line: null,
label: {
formatter(text, item, index) {// eslint-disable-line
return text / 1000 'M';
},
}
});

chart.legend({
position: 'right'
});


chart.coord({transposed: true});
chart.interval().position('country*population');
chart.render();

}
```

### Steps to reproduce
加载就可以

### What is Expected?
population所在的坐标轴的数值会除以1000并显示m

### What is actually happening?
没有显示

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.