Ovilia commented on code in PR #19552:
URL: https://github.com/apache/echarts/pull/19552#discussion_r1467193705
##########
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:
This may not be correct. With this change, the opacity in the tooltip of pie
series cannot use `series.data.itemStyle.opacity`.
--
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]