leavebody opened a new issue #16745:
URL: https://github.com/apache/echarts/issues/16745
### What problem does this feature solve?
平行坐标图中,如果一个series中的某值缺失,折线会跳过对应的axis。这导致我们不容易判断这个值是缺失的还是正好等于折线与该轴的交点值。对于枚举类型,可以使用一个特殊的枚举值来标明缺失值,但是对于数值类型,没有办法合理地处理缺失值。
希望可以给y-axis一个单独的tick用于缺失值的折线经过它。
In parallelAxis graph, if a value in a series is missing, the line skips the
corresponding axis. This makes it difficult to tell whether this value is
missing or exactly equal to the value of the intersection of the polyline and
the axis. For enum types, a special enum value can be used to indicate missing
values, but for numeric types, there is no way to handle missing values
sensibly.
### What does the proposed API look like?
parallelAxis: [
{dim: 0, name: schema[0].text},
{dim: 1, name: schema[1].text,
emptyValueHandling: {
method: "extraTick", // or "skip", for the
current behavior
extraTickName: "default",
}
}
...
]
series: [
{
name: '北京',
type: 'parallel',
data: [
[1, , 9, 56, 0.46, 18, 6, '良'], // empty value in
the 2nd axis will go through an extra tick named "default"
[2, 25, 11, 21, 0.65, 34, 9, '优'],
...
]
},
...
]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]