@tetacom/svg-charts 1.0.1 → 1.0.2
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.
- package/dist/chart/chart/chart.component.d.ts +1 -1
- package/dist/chart/model/enum/public-api.d.ts +7 -0
- package/dist/chart/model/public-api.d.ts +13 -0
- package/dist/esm2020/chart/chart/chart.component.mjs +3 -3
- package/dist/esm2020/chart/model/enum/public-api.mjs +8 -0
- package/dist/esm2020/chart/model/public-api.mjs +14 -0
- package/dist/esm2020/public-api.mjs +2 -1
- package/dist/fesm2015/tetacom-svg-charts.mjs +31 -3
- package/dist/fesm2015/tetacom-svg-charts.mjs.map +1 -1
- package/dist/fesm2020/tetacom-svg-charts.mjs +31 -3
- package/dist/fesm2020/tetacom-svg-charts.mjs.map +1 -1
- package/dist/public-api.d.ts +1 -0
- package/package.json +1 -1
- package/src/chart/Chart.stories.ts +2 -2
- package/src/chart/chart/chart.component.ts +1 -1
- package/src/chart/model/public-api.ts +14 -0
- package/src/public-api.ts +1 -0
|
@@ -1493,7 +1493,7 @@ class ChartComponent {
|
|
|
1493
1493
|
}
|
|
1494
1494
|
}
|
|
1495
1495
|
ChartComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ChartComponent, deps: [{ token: ChartService }, { token: ZoomService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1496
|
-
ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ChartComponent, selector: "teta-chart", inputs: { config: "config" }, outputs: { plotBandsMove: "plotBandsMove", plotLinesMove: "plotLinesMove", pointMove: "pointMove" }, providers: [
|
|
1496
|
+
ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.1", type: ChartComponent, selector: "teta-svg-chart", inputs: { config: "config" }, outputs: { plotBandsMove: "plotBandsMove", plotLinesMove: "plotLinesMove", pointMove: "pointMove" }, providers: [
|
|
1497
1497
|
ChartService,
|
|
1498
1498
|
ZoomService,
|
|
1499
1499
|
ScaleService,
|
|
@@ -1502,7 +1502,7 @@ ChartComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
1502
1502
|
], usesOnChanges: true, ngImport: i0, template: "<div class=\"column column_auto\">\n <teta-chart-container class=\"chart-container\" [config]=\"config\"></teta-chart-container>\n</div>\n\n<teta-legend *ngIf=\"config.legend?.enable === true\" [series]=\"config.series\"></teta-legend>\n", styles: [":host{display:flex;flex-direction:column;height:100%;width:100%}\n"], components: [{ type: ChartContainerComponent, selector: "teta-chart-container", inputs: ["config"] }, { type: LegendComponent, selector: "teta-legend", inputs: ["series"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1503
1503
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ChartComponent, decorators: [{
|
|
1504
1504
|
type: Component,
|
|
1505
|
-
args: [{ selector: 'teta-chart', providers: [
|
|
1505
|
+
args: [{ selector: 'teta-svg-chart', providers: [
|
|
1506
1506
|
ChartService,
|
|
1507
1507
|
ZoomService,
|
|
1508
1508
|
ScaleService,
|
|
@@ -1563,6 +1563,34 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
|
|
|
1563
1563
|
}]
|
|
1564
1564
|
}] });
|
|
1565
1565
|
|
|
1566
|
+
class Plotband {
|
|
1567
|
+
constructor(options) {
|
|
1568
|
+
this.id = options?.id;
|
|
1569
|
+
this.from = options?.from;
|
|
1570
|
+
this.to = options?.to;
|
|
1571
|
+
this.label = options?.label;
|
|
1572
|
+
this.showGrabbers =
|
|
1573
|
+
options?.showGrabbers != null ? options.showGrabbers : true;
|
|
1574
|
+
this.draggable = options?.draggable != null ? options?.draggable : false;
|
|
1575
|
+
this.resizable = options?.resizable != null ? options?.resizable : true;
|
|
1576
|
+
this.min = options?.min;
|
|
1577
|
+
this.max = options?.max;
|
|
1578
|
+
this.style = options?.style;
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
class PlotLine {
|
|
1583
|
+
constructor(options) {
|
|
1584
|
+
this.id = options?.id;
|
|
1585
|
+
this.value = options?.value;
|
|
1586
|
+
this.label = options?.label;
|
|
1587
|
+
this.min = options?.min;
|
|
1588
|
+
this.max = options?.max;
|
|
1589
|
+
this.draggable = options?.draggable;
|
|
1590
|
+
this.style = options?.style;
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1566
1594
|
/*
|
|
1567
1595
|
* Public API Surface of chart
|
|
1568
1596
|
*/
|
|
@@ -1571,5 +1599,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImpor
|
|
|
1571
1599
|
* Generated bundle index. Do not edit.
|
|
1572
1600
|
*/
|
|
1573
1601
|
|
|
1574
|
-
export { ChartComponent, ChartModule, ChartService };
|
|
1602
|
+
export { AxisOrientation, AxisType, BrushType, ChartBounds, ChartComponent, ChartModule, ChartService, DragPointType, PlotLine, Plotband, SeriesType, TooltipTracking, ZoomType };
|
|
1575
1603
|
//# sourceMappingURL=tetacom-svg-charts.mjs.map
|