-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Closed as not planned
Labels
difficulty: easyIssues that can be fixed more easily than the average.Issues that can be fixed more easily than the average.enThis issue is in EnglishThis issue is in Englishnew-featurestaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.topic: brush
Description
What problem does this feature solve?
I would like to use the brush to select an area of the chart.
I would not like the cursor when using the brush to be a crosshair, I would rather it be a regular pointer.
Therefore I suggest adding a cursor option to the brush object so that the developer can set the brush cursor themselves.
https://echarts.apache.org/en/option.html#brush
What does the proposed API look like?
brush:
{
xAxisIndex: 'all',
brushLink: 'all',
cursor: 'pointer', // new option
brushType: 'lineX',
brushMode: 'single',
transformable: false,
removeOnClick: true,
cursor: 'wait',
brushStyle: {
borderWidth: 0,
color: 'rgba(255,255,255,0.01)',
},
outOfBrush: {
colorAlpha: 0.4,
color: '#153A59'
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
difficulty: easyIssues that can be fixed more easily than the average.Issues that can be fixed more easily than the average.enThis issue is in EnglishThis issue is in Englishnew-featurestaleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.topic: brush