linghaoSu commented on code in PR #19552:
URL: https://github.com/apache/echarts/pull/19552#discussion_r1467748442
##########
src/component/tooltip/tooltipMarkup.ts:
##########
@@ -480,9 +480,8 @@ export function retrieveVisualColorForTooltipMarker(
export function retrieveVisualOpacityForTooltipMarker(
series: SeriesModel,
- dataIndex: number
): number {
- const style = series.getData().getItemVisual(dataIndex, 'style');
+ const style = series.getData().getVisual('style');
Review Comment:
<img width="964" alt="image"
src="https://github.com/apache/echarts/assets/56526981/9ca2b827-b3d5-448a-a910-2d85fc7fa042">
After some testing, I found that the brush operation changes the colour of
the graphic item, which will result in a colour change when tooltip is used, so
would it also make sense for the brush operation to change the opacity of the
tooltip?
--
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]