-
🐛 Bug description [Please make everyone to understand it]Pie/Column/Bar not render correctly when field name contains asterisk character
https://codesandbox.io/s/serene-nightingale-tpzq01?file=/index.ts 📷 Step to reproduce🏞 Expected result🚑 Any additional [like screenshots]
|
Beta Was this translation helpful? Give feedback.
Answered by
hustcc
May 29, 2023
Replies: 1 comment
-
import { Chart } from '@antv/g2';
const chart = new Chart();
chart
.interval()
.position('x*y') // 👈🏻 这里
chart.render(); 在 4.x 中无解,这个在 G2 5.0 中默认已经解决了。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hustcc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
*
在 G2 4.x 中属于是关键词,在代码中会用于分割:在 4.x 中无解,这个在 G2 5.0 中默认已经解决了。