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

Abierto
#3,342 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Vue
Estrellas
17.5k
Forks
3.6k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

### 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?
没有显示

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.