G2
G2 copied to clipboard
[feature] linear 维度支持跳过指定区域
- [x] I have searched the issues of this repository and believe that this is not a duplicate.
What problem does this feature solve?
减少了多折线(复用Y轴)图中无用的空白区域面积,例如下图的橙色部分
What does the proposed API look like?
{
type: 'linear',
skip: value => value >=80 && value< 100
}
很好的 issue,分段 scale,目前暂时没有,规划中,但是优先级并没有非常高!不过,你这边可以先尝试用 pow scale + yaxis label formatter 来减少中间的空白。