UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

28 lines (27 loc) 1.2 kB
var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); import { ChartType } from '../../../../../constants/chart-style'; import SimpleBarChartStyleService from './bar-base'; var StackBarChartStyleService = /** @class */ (function (_super) { __extends(StackBarChartStyleService, _super); function StackBarChartStyleService() { var _this = _super !== null && _super.apply(this, arguments) || this; // 图表类型 _this.chartType = ChartType.StackBar; _this.stack = true; return _this; } return StackBarChartStyleService; }(SimpleBarChartStyleService)); export default StackBarChartStyleService;