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[];
|
allSeries: Series[];
|
||||||
datum: SeriesValue;
|
datum: SeriesValue;
|
||||||
series: {
|
series: {
|
||||||
[key: string]: {
|
[key: string]: SeriesValue;
|
||||||
y: number;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
theme: typeof chartTheme;
|
theme: typeof chartTheme;
|
||||||
}
|
}
|
||||||
@ -215,9 +213,7 @@ export default class LineChart extends PureComponent<Props> {
|
|||||||
}: {
|
}: {
|
||||||
datum: SeriesValue;
|
datum: SeriesValue;
|
||||||
series: {
|
series: {
|
||||||
[key: string]: {
|
[key: string]: SeriesValue;
|
||||||
y: number;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}) => (
|
}) => (
|
||||||
<TooltipRenderer
|
<TooltipRenderer
|
||||||
|
Loading…
Reference in New Issue
Block a user