UNPKG

prodap-chatbot-domain

Version:

Classes utilizadas na resposta de todas as Intents do Assistente Virtual

26 lines 919 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const ChartAbstract_1 = require("./ChartAbstract"); const ChartTypes_1 = require("./ChartTypes"); class PieChart extends ChartAbstract_1.default { constructor(props) { super(props, ChartTypes_1.default.PIE_CHART, ''); this.data = []; this.hasLabels = props.hasLabels; this.hasLegends = props.hasLegends; this.hasTitle = props.hasTitle; this.innerRadius = props.innerRadius; this.theme = props.theme; this.startAngle = props.startAngle; this.endAngle = props.endAngle; this.padAngle = props.padAngle; this.gauge = props.gauge; this.minimumLabelValue = props.minimumLabelValue; } addData(...rows) { this.data = this.data.concat(rows); return this; } } exports.default = PieChart; //# sourceMappingURL=PieChart.js.map