Skip to content

Commit

Permalink
Merge branch 'master' of http://github.com/datawheel/canon into featu…
Browse files Browse the repository at this point in the history
…re-local-images
  • Loading branch information
jhmullen committed Dec 7, 2020
2 parents 37dc1be + c1fbb56 commit 331fdf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/vizbuilder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@datawheel/canon-vizbuilder",
"sideEffects": ["*.css"],
"description": "A visualization explorer for OLAP cube servers.",
"version": "0.4.3",
"version": "0.4.4",
"main": "./src/index.js",
"types": "./src/index.d.ts",
"author": "Francisco Abarzúa <francisco@datawheel.us>",
Expand Down
4 changes: 3 additions & 1 deletion packages/vizbuilder/src/helpers/chartConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ export default function createChartConfig(chart, uiParams) {
};
}

config.data = chart.data;
config.tooltipConfig = tooltipGenerator(chart, uiParams);
config.zoom = chartType === "geomap" && isSingleChart;

Expand All @@ -99,6 +98,9 @@ export default function createChartConfig(chart, uiParams) {
// });
// }

assign(config, uiParams.measureConfig || {});
config.data = chart.data;

return config;
}

Expand Down

0 comments on commit 331fdf3

Please sign in to comment.