@unovis/angular 1.2.1-beta.1 → 1.2.1-beta.3

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.
@@ -439,7 +439,7 @@
439
439
  /** Animation duration of all the components within the container. Default: `undefined` */
440
440
  this.duration = undefined;
441
441
  /** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
442
- this.margin = { top: 10, bottom: 10, left: 10, right: 10 };
442
+ this.margin = { top: 0, bottom: 0, left: 0, right: 0 };
443
443
  /** Padding. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
444
444
  this.padding = {};
445
445
  /** Enables automatic calculation of chart margins based on the size of the axes. Default: `true` */
@@ -600,7 +600,7 @@
600
600
  var VisSingleContainerComponent = /** @class */ (function () {
601
601
  function VisSingleContainerComponent() {
602
602
  /** Margins. Default: `{ top: 0, bottom: 0, left: 0, right: 0 }` */
603
- this.margin = { top: 10, bottom: 10, left: 10, right: 10 };
603
+ this.margin = { top: 0, bottom: 0, left: 0, right: 0 };
604
604
  }
605
605
  VisSingleContainerComponent.prototype.ngAfterViewInit = function () {
606
606
  this.chart = new ts.SingleContainer(this.containerRef.nativeElement, this.getConfig(), this.data);
@@ -1523,8 +1523,8 @@
1523
1523
  (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
1524
1524
  };
1525
1525
  VisScatterComponent.prototype.getConfig = function () {
1526
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, size = _d.size, sizeScale = _d.sizeScale, sizeRange = _d.sizeRange, shape = _d.shape, label = _d.label, labelColor = _d.labelColor, cursor = _d.cursor, labelTextBrightnessRatio = _d.labelTextBrightnessRatio, labelPosition = _d.labelPosition, strokeColor = _d.strokeColor, strokeWidth = _d.strokeWidth;
1527
- var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, size: size, sizeScale: sizeScale, sizeRange: sizeRange, shape: shape, label: label, labelColor: labelColor, cursor: cursor, labelTextBrightnessRatio: labelTextBrightnessRatio, labelPosition: labelPosition, strokeColor: strokeColor, strokeWidth: strokeWidth };
1526
+ var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, x = _d.x, y = _d.y, id = _d.id, color = _d.color, xScale = _d.xScale, yScale = _d.yScale, excludeFromDomainCalculation = _d.excludeFromDomainCalculation, size = _d.size, sizeScale = _d.sizeScale, sizeRange = _d.sizeRange, shape = _d.shape, label = _d.label, labelColor = _d.labelColor, labelHideOverlapping = _d.labelHideOverlapping, cursor = _d.cursor, labelTextBrightnessRatio = _d.labelTextBrightnessRatio, labelPosition = _d.labelPosition, strokeColor = _d.strokeColor, strokeWidth = _d.strokeWidth;
1527
+ var config = { duration: duration, events: events, attributes: attributes, x: x, y: y, id: id, color: color, xScale: xScale, yScale: yScale, excludeFromDomainCalculation: excludeFromDomainCalculation, size: size, sizeScale: sizeScale, sizeRange: sizeRange, shape: shape, label: label, labelColor: labelColor, labelHideOverlapping: labelHideOverlapping, cursor: cursor, labelTextBrightnessRatio: labelTextBrightnessRatio, labelPosition: labelPosition, strokeColor: strokeColor, strokeWidth: strokeWidth };
1528
1528
  var keys = Object.keys(config);
1529
1529
  keys.forEach(function (key) {
1530
1530
  if (config[key] === undefined)
@@ -1535,7 +1535,7 @@
1535
1535
  return VisScatterComponent;
1536
1536
  }());
1537
1537
  VisScatterComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisScatterComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
1538
- VisScatterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisScatterComponent, selector: "vis-scatter", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", size: "size", sizeScale: "sizeScale", sizeRange: "sizeRange", shape: "shape", label: "label", labelColor: "labelColor", cursor: "cursor", labelTextBrightnessRatio: "labelTextBrightnessRatio", labelPosition: "labelPosition", strokeColor: "strokeColor", strokeWidth: "strokeWidth", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisScatterComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1538
+ VisScatterComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisScatterComponent, selector: "vis-scatter", inputs: { duration: "duration", events: "events", attributes: "attributes", x: "x", y: "y", id: "id", color: "color", xScale: "xScale", yScale: "yScale", excludeFromDomainCalculation: "excludeFromDomainCalculation", size: "size", sizeScale: "sizeScale", sizeRange: "sizeRange", shape: "shape", label: "label", labelColor: "labelColor", labelHideOverlapping: "labelHideOverlapping", cursor: "cursor", labelTextBrightnessRatio: "labelTextBrightnessRatio", labelPosition: "labelPosition", strokeColor: "strokeColor", strokeWidth: "strokeWidth", data: "data" }, providers: [{ provide: VisXYComponent, useExisting: VisScatterComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
1539
1539
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisScatterComponent, decorators: [{
1540
1540
  type: i0.Component,
1541
1541
  args: [{
@@ -1576,6 +1576,8 @@
1576
1576
  type: i0.Input
1577
1577
  }], labelColor: [{
1578
1578
  type: i0.Input
1579
+ }], labelHideOverlapping: [{
1580
+ type: i0.Input
1579
1581
  }], cursor: [{
1580
1582
  type: i0.Input
1581
1583
  }], labelTextBrightnessRatio: [{
@@ -2429,8 +2431,8 @@
2429
2431
  (_c = this.componentContainer) === null || _c === void 0 ? void 0 : _c.render();
2430
2432
  };
2431
2433
  VisNestedDonutComponent.prototype.getConfig = function () {
2432
- var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, angleRange = _d.angleRange, direction = _d.direction, value = _d.value, centralLabel = _d.centralLabel, centralSubLabel = _d.centralSubLabel, centralSubLabelWrap = _d.centralSubLabelWrap, showBackground = _d.showBackground, layers = _d.layers, layerSettings = _d.layerSettings, layerPadding = _d.layerPadding, cornerRadius = _d.cornerRadius, emptySegmentAngle = _d.emptySegmentAngle, hideOverflowingSegmentLabels = _d.hideOverflowingSegmentLabels, segmentColor = _d.segmentColor, segmentLabel = _d.segmentLabel, segmentLabelColor = _d.segmentLabelColor, showEmptySegments = _d.showEmptySegments;
2433
- var config = { duration: duration, events: events, attributes: attributes, angleRange: angleRange, direction: direction, value: value, centralLabel: centralLabel, centralSubLabel: centralSubLabel, centralSubLabelWrap: centralSubLabelWrap, showBackground: showBackground, layers: layers, layerSettings: layerSettings, layerPadding: layerPadding, cornerRadius: cornerRadius, emptySegmentAngle: emptySegmentAngle, hideOverflowingSegmentLabels: hideOverflowingSegmentLabels, segmentColor: segmentColor, segmentLabel: segmentLabel, segmentLabelColor: segmentLabelColor, showEmptySegments: showEmptySegments };
2434
+ var _d = this, duration = _d.duration, events = _d.events, attributes = _d.attributes, angleRange = _d.angleRange, direction = _d.direction, value = _d.value, centralLabel = _d.centralLabel, centralSubLabel = _d.centralSubLabel, centralSubLabelWrap = _d.centralSubLabelWrap, showBackground = _d.showBackground, sort = _d.sort, layers = _d.layers, layerSettings = _d.layerSettings, layerPadding = _d.layerPadding, cornerRadius = _d.cornerRadius, emptySegmentAngle = _d.emptySegmentAngle, hideOverflowingSegmentLabels = _d.hideOverflowingSegmentLabels, segmentColor = _d.segmentColor, segmentLabel = _d.segmentLabel, segmentLabelColor = _d.segmentLabelColor, showEmptySegments = _d.showEmptySegments;
2435
+ var config = { duration: duration, events: events, attributes: attributes, angleRange: angleRange, direction: direction, value: value, centralLabel: centralLabel, centralSubLabel: centralSubLabel, centralSubLabelWrap: centralSubLabelWrap, showBackground: showBackground, sort: sort, layers: layers, layerSettings: layerSettings, layerPadding: layerPadding, cornerRadius: cornerRadius, emptySegmentAngle: emptySegmentAngle, hideOverflowingSegmentLabels: hideOverflowingSegmentLabels, segmentColor: segmentColor, segmentLabel: segmentLabel, segmentLabelColor: segmentLabelColor, showEmptySegments: showEmptySegments };
2434
2436
  var keys = Object.keys(config);
2435
2437
  keys.forEach(function (key) {
2436
2438
  if (config[key] === undefined)
@@ -2441,7 +2443,7 @@
2441
2443
  return VisNestedDonutComponent;
2442
2444
  }());
2443
2445
  VisNestedDonutComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
2444
- VisNestedDonutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisNestedDonutComponent, selector: "vis-nested-donut", inputs: { duration: "duration", events: "events", attributes: "attributes", angleRange: "angleRange", direction: "direction", value: "value", centralLabel: "centralLabel", centralSubLabel: "centralSubLabel", centralSubLabelWrap: "centralSubLabelWrap", showBackground: "showBackground", layers: "layers", layerSettings: "layerSettings", layerPadding: "layerPadding", cornerRadius: "cornerRadius", emptySegmentAngle: "emptySegmentAngle", hideOverflowingSegmentLabels: "hideOverflowingSegmentLabels", segmentColor: "segmentColor", segmentLabel: "segmentLabel", segmentLabelColor: "segmentLabelColor", showEmptySegments: "showEmptySegments", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisNestedDonutComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
2446
+ VisNestedDonutComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: VisNestedDonutComponent, selector: "vis-nested-donut", inputs: { duration: "duration", events: "events", attributes: "attributes", angleRange: "angleRange", direction: "direction", value: "value", centralLabel: "centralLabel", centralSubLabel: "centralSubLabel", centralSubLabelWrap: "centralSubLabelWrap", showBackground: "showBackground", sort: "sort", layers: "layers", layerSettings: "layerSettings", layerPadding: "layerPadding", cornerRadius: "cornerRadius", emptySegmentAngle: "emptySegmentAngle", hideOverflowingSegmentLabels: "hideOverflowingSegmentLabels", segmentColor: "segmentColor", segmentLabel: "segmentLabel", segmentLabelColor: "segmentLabelColor", showEmptySegments: "showEmptySegments", data: "data" }, providers: [{ provide: VisCoreComponent, useExisting: VisNestedDonutComponent }], usesOnChanges: true, ngImport: i0__namespace, template: '', isInline: true });
2445
2447
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: VisNestedDonutComponent, decorators: [{
2446
2448
  type: i0.Component,
2447
2449
  args: [{
@@ -2470,6 +2472,8 @@
2470
2472
  type: i0.Input
2471
2473
  }], showBackground: [{
2472
2474
  type: i0.Input
2475
+ }], sort: [{
2476
+ type: i0.Input
2473
2477
  }], layers: [{
2474
2478
  type: i0.Input
2475
2479
  }], layerSettings: [{