Skip to content

Commit

Permalink
chore: Remove TreemapChartScope from ClimateMappedAfrica
Browse files Browse the repository at this point in the history
  • Loading branch information
m453h committed Aug 5, 2024
1 parent cab619e commit f1cb325
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 245 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { Scope } from "@hurumap/core";

import MultiLineChartScope from "./MultiLineChartScope";
import StackedChartScope from "./StackedChartScope";
import TreemapChartScope from "./TreemapChartScope";
import VerticalBarChartScope from "./VerticalBarChartScope";
import VerticalStackedChartScope from "./VerticalStackedChartScope";

import { hurumapArgs } from "@/climatemappedafrica/config";
import theme from "@/climatemappedafrica/theme";

const { BarChartScope, LineChartScope, DonutChartScope } = Scope;
const { BarChartScope, LineChartScope, DonutChartScope, TreemapChartScope } =
Scope;

export default function configureScope(
indicator,
Expand Down Expand Up @@ -74,7 +74,7 @@ export default function configureScope(
vegaSpec = DonutChartScope(scopeOptions);
break;
case "treemap":
vegaSpec = TreemapChartScope(..._scopeOptions);
vegaSpec = TreemapChartScope(scopeOptions);
break;
case "stacked":
if (isMobile) {
Expand Down

0 comments on commit f1cb325

Please sign in to comment.