Skip to content
New issue

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

[Bug] 组合透视图type=“common”+direction=horizontal时,y轴渲染错误 #1453

Closed
a1419735487 opened this issue Apr 8, 2024 · 0 comments · Fixed by #1455
Closed
Assignees
Labels
bug Something isn't working

Comments

@a1419735487
Copy link

Version

0.23.1

Link to Minimal Reproduction

-1

Steps to Reproduce

{
"indicators": [
{
"chartSpec": {
"series": [
{
"xField": "indicator_val_0",
"data": {"id": "f39e3aee43194dbeab81417bb54ee60f"},
"yField": ["col_fld_tmp_mg_4"],
"seriesField": "series_field_01",
"type": "bar",
"direction": "horizontal",
"label": {"visible": true},
}
],
"type": "common",
},
"cellType": "chart",
"chartModule": "vchart",
}
],
"indicatorsAsCol": true,
"records": [
{
"col_fld_tmp_mg_4": "毛衣",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 181.25
},
{
"col_fld_tmp_mg_4": "裙子",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 137.99
},
{
"col_fld_tmp_mg_4": "当季新品",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 110.82
},
{
"col_fld_tmp_mg_4": "牛仔裤",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 101.48
},
{
"col_fld_tmp_mg_4": "配件",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 96.19
},
{
"col_fld_tmp_mg_4": "T恤",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 83.58
},
{
"col_fld_tmp_mg_4": "运动",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 65.77
},
{
"col_fld_tmp_mg_4": "短裤",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 38.16
},
{
"col_fld_tmp_mg_4": "袜子",
"col_fld_tmp_zb_3_title": "平均销售额",
"series_field_01": "平均销售额 ",
"indicator_val_0": 35.12
}
],
"widthMode": "standard",
"heightMode": "standard",
"autoFillWidth": true,
"autoFillHeight": true,
"container": {}
}

img_v3_029o_ea624f43-bae3-43bf-87ed-9e7a0024fa7g

Current Behavior

-1

Expected Behavior

修复它

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

@a1419735487 a1419735487 added the bug Something isn't working label Apr 8, 2024
@Rui-Sun Rui-Sun linked a pull request Apr 8, 2024 that will close this issue
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants