@progress/kendo-react-charts
Version:
React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package
43 lines (42 loc) • 1.61 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { Align, Offset } from '@progress/kendo-react-popup';
import { InstanceObserver } from '@progress/kendo-charts';
import { SharedTooltipContext, TooltipContext } from './Context.js';
import { ChartContext } from '../ChartContext.js';
import * as React from 'react';
/**
* @hidden
*/
export interface SeriesTooltipState {
className?: string | undefined;
popupShown: boolean;
popupAlign?: Align;
popupOffset?: Offset;
popupStyles?: any;
popupContext?: TooltipContext | SharedTooltipContext;
shared?: boolean;
}
/**
* @hidden
*/
export declare class SeriesTooltip extends React.Component<{}, SeriesTooltipState> {
static contextType: React.Context<import('../ChartContext').ChartContextType | null>;
context: React.ContextType<typeof ChartContext>;
readonly state: SeriesTooltipState;
chartObserver: InstanceObserver | null;
componentDidMount(): void;
render(): React.JSX.Element;
componentWillUnmount(): void;
onShowTooltip(e: any): void;
onHideTooltip(): void;
createSharedTooltipContext(e: any): SharedTooltipContext;
createTooltipContext(e: any): TooltipContext;
findRenderFunctionByIndex(seriesIdx: number): any;
findRenderFunction(): any;
}