Files
gzth/ks_dashboard_ninja/static/src/items/chart/doughnut_chart.js
T
2024-11-14 19:22:51 +08:00

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();
})
}
}