echarts [Feature] brush.type = 'lineY'时,可以新增个属性设置brush选中区域的宽度么?

csbfibhn  于 2022-12-31  发布在  Echarts
关注(0)|答案(1)|浏览(133)

What problem does this feature solve?

目前的brush.type = 'lineY'时,选中的只有图表中的图形,不能包括坐标轴label,希望可以通过设置width或padding,扩大brush.type = 'lineY'时的横向选中范围,以及可以自定义设置border样式。比如borderWidth: 5, 1, 5, 1,或增加brush的图标或背景图

What does the proposed API look like?

brush.type = 'lineY'时只能选中图表,不能选中坐标轴label问题。
brush: {
padding: 0, 0, 0, 20
}

wfveoks0

wfveoks01#

@snowyang2021 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] brush.type = 'lineY', can I add a new property to set the width of the rush selected area?

BODY

What problem does this feature solve?

At present, when rush.type = 'lineY', only the graph in the chart is selected, and the axis label cannot be included, and it is hoped that by setting width or padding, the horizontal selection range when rush.type = 'lineY' can be expanded, and the borderer style can be customized. For example, beadWidth: 5, 1, 5, 1, or add a rush icon or background image

What does the proposed API look like?

Brush.type = 'lineY' can only select the chart, not the axis label issue.
brush: {
padding: 0, 0, 0, 20
}

相关问题