diff --git a/packages/@ourworldindata/grapher/src/stackedCharts/AbstractStackedChart.tsx b/packages/@ourworldindata/grapher/src/stackedCharts/AbstractStackedChart.tsx index 066b183437c..9004f813505 100644 --- a/packages/@ourworldindata/grapher/src/stackedCharts/AbstractStackedChart.tsx +++ b/packages/@ourworldindata/grapher/src/stackedCharts/AbstractStackedChart.tsx @@ -143,6 +143,10 @@ export class AbstractStackedChart return this.props.bounds ?? DEFAULT_BOUNDS } + @computed get isStatic(): boolean { + return this.manager.isStatic ?? false + } + @computed get fontSize(): number { return this.manager.fontSize ?? BASE_FONT_SIZE } diff --git a/packages/@ourworldindata/grapher/src/stackedCharts/StackedAreaChart.tsx b/packages/@ourworldindata/grapher/src/stackedCharts/StackedAreaChart.tsx index 88b5bfc9c1f..e4cadcec2c5 100644 --- a/packages/@ourworldindata/grapher/src/stackedCharts/StackedAreaChart.tsx +++ b/packages/@ourworldindata/grapher/src/stackedCharts/StackedAreaChart.tsx @@ -61,8 +61,8 @@ interface AreasProps extends React.SVGAttributes { seriesArr: readonly StackedSeries