21 lines
400 B
JavaScript
21 lines
400 B
JavaScript
/** @odoo-module **/
|
|
|
|
import { KsChartBase } from "./chart_base"
|
|
|
|
const { onWillStart, onMounted } = owl;
|
|
|
|
export class KsDoughnutChart extends KsChartBase {
|
|
|
|
static template = 'ks_dashboard_ninja.chartBase';
|
|
setup() {
|
|
super.setup();
|
|
this.type = 'doughnut';
|
|
|
|
onWillStart(() => {
|
|
|
|
})
|
|
onMounted(() => {
|
|
this.renderChart();
|
|
})
|
|
}
|
|
} |