UNPKG

cione-comp-lib

Version:

`$ yarn add cione-comp-lib` 或者 `$ npm i cione-comp-lib -S`

58 lines (57 loc) 1.62 kB
import { __extends } from "../../../../tslib/tslib.es6.mjs"; import SeriesModel from "../../model/Series.mjs"; import { WhiskerBoxCommonMixin } from "../helper/whiskerBoxCommon.mjs"; import { mixin } from "../../../../zrender/lib/core/util.mjs"; var BoxplotSeriesModel = function(_super) { __extends(BoxplotSeriesModel2, _super); function BoxplotSeriesModel2() { var _this = _super !== null && _super.apply(this, arguments) || this; _this.type = BoxplotSeriesModel2.type; _this.defaultValueDimensions = [{ name: "min", defaultTooltip: true }, { name: "Q1", defaultTooltip: true }, { name: "median", defaultTooltip: true }, { name: "Q3", defaultTooltip: true }, { name: "max", defaultTooltip: true }]; _this.visualDrawType = "stroke"; return _this; } BoxplotSeriesModel2.type = "series.boxplot"; BoxplotSeriesModel2.dependencies = ["xAxis", "yAxis", "grid"]; BoxplotSeriesModel2.defaultOption = { z: 2, coordinateSystem: "cartesian2d", legendHoverLink: true, layout: null, boxWidth: [7, 50], itemStyle: { color: "#fff", borderWidth: 1 }, emphasis: { scale: true, itemStyle: { borderWidth: 2, shadowBlur: 5, shadowOffsetX: 1, shadowOffsetY: 1, shadowColor: "rgba(0,0,0,0.2)" } }, animationDuration: 800 }; return BoxplotSeriesModel2; }(SeriesModel); mixin(BoxplotSeriesModel, WhiskerBoxCommonMixin, true); var BoxplotSeriesModel$1 = BoxplotSeriesModel; export { BoxplotSeriesModel$1 as default };