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
使用line图,x轴有三个值,对于每一个x值,纵轴y轴有2000个值,希望brush选中区域放大,有两个问题:
还有一个问题,y轴怎么加上slider呢,如下尝试都没用: scrollbar: { yAxis: true, }, slider: { yAxis: true, },
谢谢。
一个x值对应2000个y值的情况
很多点无法展示出来,堆积在chart上方:
const config = { data: jsonData, xField: 'param', yField: 'value', seriesField: 'pos', legend: false, interactions: [ { type:'brush', }, ], };
<Line {...config} />
"@ant-design/charts": "^1.4.3", "@ant-design/icons": "^4.6.2", "@ant-design/pro-components": "2.6.41", "antd": "^4.24.7",
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 bug 描述
使用line图,x轴有三个值,对于每一个x值,纵轴y轴有2000个值,希望brush选中区域放大,有两个问题:
还有一个问题,y轴怎么加上slider呢,如下尝试都没用:
scrollbar: {
yAxis: true,
},
slider: {
yAxis: true,
},
谢谢。
📷 复现步骤 [清晰描述复现步骤,让别人也能看到问题]
一个x值对应2000个y值的情况
很多点无法展示出来,堆积在chart上方:
🏞 期望结果
💻 复现代码
const config = {
data: jsonData,
xField: 'param',
yField: 'value',
seriesField: 'pos',
legend: false,
interactions: [
{
type:'brush',
},
],
};
<Line {...config} />
© 版本信息
"@ant-design/charts": "^1.4.3",
"@ant-design/icons": "^4.6.2",
"@ant-design/pro-components": "2.6.41",
"antd": "^4.24.7",
🚑 其他信息 [如截图等其他信息可以贴在这里]
The text was updated successfully, but these errors were encountered: