Skip to content
Snippets Groups Projects
Unverified Commit 06b1649e authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #32588 from ufundo/chartkit-format-fallback

ChartKit - fallback if no format settings are set
parents 15ca2ea5 83762620
Branches
No related tags found
No related merge requests found
......@@ -538,6 +538,9 @@
this.getCanvasStyle = () => {
const formatSettings = this.settings.format;
if (!formatSettings) {
return {};
}
return {
backgroundColor: formatSettings.backgroundColor,
padding: formatSettings.padding.outer,
......@@ -547,6 +550,9 @@
this.getContainerStyle = () => {
const formatSettings = this.settings.format;
if (!formatSettings) {
return {};
}
return {
height: formatSettings.height,
width: formatSettings.width,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment