bbj-screen-widget 2.4.55 → 2.4.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6606,9 +6606,17 @@
6606
6606
  lineHeight: '',
6607
6607
  };
6608
6608
  _this.align = 'auto';
6609
+ _this.label = false;
6609
6610
  _this.shape = 'polygon';
6610
6611
  _this.area = false;
6611
- _this.radius = 100;
6612
+ _this.grid = {
6613
+ top: 30,
6614
+ right: 30,
6615
+ bottom: 40,
6616
+ left: 36,
6617
+ };
6618
+ // @Property('缩放', { type: 'number' })
6619
+ // radius = 100;
6612
6620
  _this.chartOption = {};
6613
6621
  _this._data = [
6614
6622
  { x: '销售', y: 10, m: 37, s: '预算' },
@@ -6652,11 +6660,23 @@
6652
6660
  textStyle: style,
6653
6661
  },
6654
6662
  indicator: [],
6655
- radius: this.radius,
6656
6663
  },
6657
6664
  color: this.lineColor,
6665
+ grid: {
6666
+ top: this.grid.top,
6667
+ right: this.grid.right,
6668
+ left: this.grid.left,
6669
+ bottom: this.grid.bottom,
6670
+ },
6658
6671
  series: [
6659
6672
  {
6673
+ label: {
6674
+ show: this.label,
6675
+ textStyle: this.getTextStyle(this.font),
6676
+ formatter: function (params) {
6677
+ return params.value;
6678
+ },
6679
+ },
6660
6680
  type: 'radar',
6661
6681
  areaStyle: { opacity: this.area ? 0.3 : 0 },
6662
6682
  data: [],
@@ -6791,6 +6811,10 @@
6791
6811
  }),
6792
6812
  __metadata("design:type", Object)
6793
6813
  ], exports.ɵi.prototype, "align", void 0);
6814
+ __decorate([
6815
+ bbjWidgetBase.Property('标签', { type: 'boolean' }),
6816
+ __metadata("design:type", Object)
6817
+ ], exports.ɵi.prototype, "label", void 0);
6794
6818
  __decorate([
6795
6819
  bbjWidgetBase.Property('形状', {
6796
6820
  ui: { widget: 'select' },
@@ -6808,9 +6832,9 @@
6808
6832
  __metadata("design:type", Object)
6809
6833
  ], exports.ɵi.prototype, "area", void 0);
6810
6834
  __decorate([
6811
- bbjWidgetBase.Property('缩放', { type: 'number' }),
6835
+ bbjWidgetBase.Property('边距', { ui: { widget: 'myGrid' } }),
6812
6836
  __metadata("design:type", Object)
6813
- ], exports.ɵi.prototype, "radius", void 0);
6837
+ ], exports.ɵi.prototype, "grid", void 0);
6814
6838
  __decorate([
6815
6839
  bbjWidgetBase.Data({
6816
6840
  properties: {