mirror of
https://github.com/apache/superset.git
synced 2024-09-19 20:19:37 -04:00
feat: update type for line chart series (#175)
* feat: update type for line chart series * fix: another place
This commit is contained in:
parent
ea70378e94
commit
bb501adda5
@ -30,9 +30,7 @@ export interface TooltipProps {
|
||||
allSeries: Series[];
|
||||
datum: SeriesValue;
|
||||
series: {
|
||||
[key: string]: {
|
||||
y: number;
|
||||
};
|
||||
[key: string]: SeriesValue;
|
||||
};
|
||||
theme: typeof chartTheme;
|
||||
}
|
||||
@ -215,9 +213,7 @@ export default class LineChart extends PureComponent<Props> {
|
||||
}: {
|
||||
datum: SeriesValue;
|
||||
series: {
|
||||
[key: string]: {
|
||||
y: number;
|
||||
};
|
||||
[key: string]: SeriesValue;
|
||||
};
|
||||
}) => (
|
||||
<TooltipRenderer
|
||||
|
Loading…
Reference in New Issue
Block a user