UNPKG

tfp

Version:

A Web UI framework for TaskBuilder

46 lines (39 loc) 1.05 kB
import Chart from "../chart.js"; /** * 线柱结合图组件 * @param {[type]} dataModel [description] */ export default class ChartLineBar extends Chart { constructor(__tfp, dataModel, parent) { super(__tfp, "ChartLineBar", dataModel, parent); } get categoryField() { return this.dataModel.categoryField } set categoryField(value) { this.dataModel.categoryField = value; } get stack() { return this.dataModel.stack } set stack(value) { this.dataModel.stack = value ? true : false; if(this._jqObj) { // } } get series() { return this.dataModel.series } set series(value) { this.dataModel.series = value; } get showArea() { return this.dataModel.showArea } set showArea(value) { this.dataModel.showArea = value ? true : false; if(this._jqObj) { // } } get smooth() { return this.dataModel.smooth } set smooth(value) { this.dataModel.smooth = value ? true : false; if(this._jqObj) { // } } }