We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import { Bar } from '@antv/g2plot'; const data = [ { year: '1951 年', value: 38 }, { year: '1952 年', value: 52 }, { year: '1956 年', value: 61 }, { year: '1957 年', value: 145 }, { year: '1958 年', value: 48 }, ]; const bar = new Bar('container', { data, xField: 'value', yField: 'year', seriesField: 'year', yAxis: { title: { text: 'yAxis', autoRotate: false, rotation: Math.PI / 2 }, }, xAxis: { title: { text: 'xAxis', autoRotate: false, rotation: Math.PI }, }, legend: { position: 'top-left', }, }); bar.render();
现象:方向没有变化
The text was updated successfully, but these errors were encountered:
No branches or pull requests
现象:方向没有变化
The text was updated successfully, but these errors were encountered: