File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export function ChartLegend({
2222 actions ?: React . ReactNode ;
2323 position : "bottom" | "side" ;
2424 i18nStrings ?: BaseI18nStrings ;
25- onItemHighlight ?: ( detail : CoreChartProps . LegendHoverDetail ) => void ;
25+ onItemHighlight ?: ( detail : CoreChartProps . LegendItemHighlightDetail ) => void ;
2626 getLegendTooltipContent ?: CoreChartProps . GetLegendTooltipContent ;
2727} ) {
2828 const i18n = useInternalI18n ( "[charts]" ) ;
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ export interface CoreChartProps
344344 /**
345345 * Called when a legend item is highlighted.
346346 */
347- onLegendItemHighlight ?: ( detail : CoreChartProps . LegendHoverDetail ) => void ;
347+ onLegendItemHighlight ?: ( detail : CoreChartProps . LegendItemHighlightDetail ) => void ;
348348 /**
349349 * Called when series/points visibility changes due to user interaction with legend or filter.
350350 */
@@ -444,7 +444,7 @@ export namespace CoreChartProps {
444444 items : TooltipContentItem [ ] ;
445445 }
446446
447- export interface LegendHoverDetail {
447+ export interface LegendItemHighlightDetail {
448448 item : LegendItem ;
449449 }
450450 export interface VisibleItemsChangeDetail {
You can’t perform that action at this time.
0 commit comments