What problem does this feature solve?
使用的是54.1的版本代码如下
option = {
angleAxis: {},
radiusAxis: {
type: 'category',
data: ['应收工程款', '甲1234', '甲方报量报出', '内部产值'],
z: 10,
axisLabel: {
hideOverlap: false,
showMaxLabel: true,
}
},
polar: {},
series: [
{
type: 'bar',
data: [8],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 8,],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 0, 8, 0],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 0, 0, 8],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
}
],
legend: {
show: true,
data: ['A', 'B', 'C']
}
};
如下图所示,radiusAxis.data中的第二个坐标名称没有显示
想问下如何才能在极坐标中展示所有的坐标name
What does the proposed API look like?
使用的是54.1的版本代码如下
option = {
angleAxis: {},
radiusAxis: {
type: 'category',
data: ['应收工程款', '甲1234', '甲方报量报出', '内部产值'],
z: 10,
axisLabel: {
hideOverlap: false,
showMaxLabel: true,
}
},
polar: {},
series: [
{
type: 'bar',
data: [8],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 8,],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 0, 8, 0],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 0, 0, 8],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
}
],
legend: {
show: true,
data: ['A', 'B', 'C']
}
};
如下图所示,radiusAxis.data中的第二个坐标名称没有显示
4条答案
按热度按时间qyzbxkaa1#
@Alan055 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
[Feature] radiusAxis.data in polar coordinates is not fully displayed
BODY
What problem does this feature solve?
The version code of 54.1 is used as follows
option = {
angleAxis: {},
radiusAxis: {
type: 'category',
data: ['Project receivable', 'A 1234', 'Party A's report', 'Internal output value'],
z: 10,
axisLabel: {
hideOverlap: false,
showMaxLabel: true,
}
},
polar: {},
series: [
{
type: 'bar',
data: [8],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 8,],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 0, 8, 0],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 0, 0, 8],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
}
],
legend: {
show: true,
data: ['A', 'B', 'C']
}
};
As shown in the figure below, the second coordinate name in radiusAxis.data is not displayed
I would like to ask how to display all coordinates name in polar coordinates
What does the proposed API look like?
The version code of 54.1 is used as follows
option = {
angleAxis: {},
radiusAxis: {
type: 'category',
data: ['Project receivable', 'A 1234', 'Party A's report', 'Internal output value'],
z: 10,
axisLabel: {
hideOverlap: false,
showMaxLabel: true,
}
},
polar: {},
series: [
{
type: 'bar',
data: [8],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 8,],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 0, 8, 0],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
},
{
type: 'bar',
data: [0, 0, 0, 8],
coordinateSystem: 'polar',
emphasis: {
focus: 'series'
}
}
],
legend: {
show: true,
data: ['A', 'B', 'C']
}
};
As shown in the figure below, the second coordinate name in radiusAxis.data is not displayed
I would like to ask how to display all coordinates name in polar coordinates
5ktev3wc2#
已收到,我会尽快查看的,谢谢(自动回复)
qojgxg4l3#
@Alan055 Alan055你可以加个radiusAxis.axisLabel.interval = 0 的配置项,类似于这样
##解释如下https://echarts.apache.org/zh/option.html#radiusAxis.axisLabel
ffdz8vbo4#
好的,万分感谢…
------------------ 原始邮件 ------------------ 发件人: Miroku ***@***.***> 发送时间: 2022年12月27日 22:30 收件人: apache/echarts ***@***.***> 抄送: Alan ***@***.***>, Mention ***@***.***> 主题: 回复:[apache/echarts] [Feature] 极坐标中radiusAxis.data显示不全 (Issue #18089) @Alan055 Alan055你可以加个radiusAxis.axisLabel.interval = 0 的配置项,类似于这样 ##解释如下https://echarts.apache.org/zh/option.html#radiusAxis.axisLabel — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***>