Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
showLabel: this.props.showChartLabel
},
tooltip: {
suffix: "%"
},
legend: {
align: this.props.legendAlignment
}
};
var theme = this.props.chartThemeConfig;
// tui.chart.registerTheme('newTheme', theme);
// For apply theme
tui.registerTheme("myTheme", theme);
options.theme = "myTheme";
tui.pieChart(container, data, options);
}