@nova-ui/dashboards 12.0.33 → 12.0.35
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/bundles/nova-ui-dashboards.umd.js +204 -90
- package/bundles/nova-ui-dashboards.umd.js.map +1 -1
- package/esm2015/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +52 -15
- package/esm2015/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +21 -6
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +7 -7
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +9 -8
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +17 -12
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +7 -7
- package/esm2015/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +27 -23
- package/esm2015/lib/components/timeseries-widget/timeseries-helpers.js +9 -1
- package/esm2015/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +7 -1
- package/esm2015/lib/components/timeseries-widget/timeseries-scales.service.js +16 -7
- package/esm2015/lib/components/timeseries-widget/timeseries-widget.component.js +23 -7
- package/esm2015/lib/components/timeseries-widget/types.js +3 -3
- package/esm2015/lib/functions/round-array-values.js +33 -0
- package/fesm2015/nova-ui-dashboards.js +199 -90
- package/fesm2015/nova-ui-dashboards.js.map +1 -1
- package/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +11 -5
- package/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +4 -2
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +3 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +3 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +3 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +3 -3
- package/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +9 -7
- package/lib/components/timeseries-widget/timeseries-helpers.d.ts +4 -1
- package/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +1 -0
- package/lib/components/timeseries-widget/timeseries-widget.component.d.ts +4 -3
- package/lib/components/timeseries-widget/types.d.ts +5 -2
- package/lib/functions/round-array-values.d.ts +1 -0
- package/package.json +3 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.d.ts +10 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js +47 -11
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/status-bar-chart/status-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.d.ts +4 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js +15 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/timeseries-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js +3 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/line-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js +5 -5
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js +13 -9
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-bar-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.d.ts +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js +3 -4
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/chart-types/stacked-percentage-area-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.d.ts +8 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js +20 -16
- package/sdk/atoms/src/lib/components/timeseries-widget/chart-presets/xy-chart/xy-chart.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.d.ts +4 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js +10 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-helpers.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.d.ts +1 -0
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js +7 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-inspection-menu/timeseries-inspection-menu.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js +15 -6
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-scales.service.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.d.ts +4 -3
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js +21 -5
- package/sdk/atoms/src/lib/components/timeseries-widget/timeseries-widget.component.js.map +1 -1
- package/sdk/atoms/src/lib/components/timeseries-widget/types.d.ts +5 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/types.js +2 -2
- package/sdk/atoms/src/lib/components/timeseries-widget/types.js.map +1 -1
- package/sdk/atoms/src/lib/functions/round-array-values.d.ts +1 -0
- package/sdk/atoms/src/lib/functions/round-array-values.js +37 -0
- package/sdk/atoms/src/lib/functions/round-array-values.js.map +1 -0
- package/sdk/locale/messages.en.xlf +18 -18
|
@@ -7096,11 +7096,11 @@
|
|
|
7096
7096
|
/** Enumeration of timeseries chart types recieved from the backend */
|
|
7097
7097
|
exports.TimeseriesChartTypes = void 0;
|
|
7098
7098
|
(function (TimeseriesChartTypes) {
|
|
7099
|
-
TimeseriesChartTypes[TimeseriesChartTypes["
|
|
7099
|
+
TimeseriesChartTypes[TimeseriesChartTypes["line"] = 1] = "line";
|
|
7100
7100
|
TimeseriesChartTypes[TimeseriesChartTypes["counter"] = 2] = "counter";
|
|
7101
7101
|
TimeseriesChartTypes[TimeseriesChartTypes["event"] = 3] = "event";
|
|
7102
7102
|
TimeseriesChartTypes[TimeseriesChartTypes["alert"] = 4] = "alert";
|
|
7103
|
-
TimeseriesChartTypes[TimeseriesChartTypes["
|
|
7103
|
+
TimeseriesChartTypes[TimeseriesChartTypes["status"] = 5] = "status";
|
|
7104
7104
|
TimeseriesChartTypes[TimeseriesChartTypes["multi"] = 6] = "multi";
|
|
7105
7105
|
TimeseriesChartTypes[TimeseriesChartTypes["dpaWaitTime"] = 7] = "dpaWaitTime";
|
|
7106
7106
|
})(exports.TimeseriesChartTypes || (exports.TimeseriesChartTypes = {}));
|
|
@@ -7123,6 +7123,31 @@
|
|
|
7123
7123
|
TimeseriesWidgetProjectType[TimeseriesWidgetProjectType["PerfstackApp"] = 1] = "PerfstackApp";
|
|
7124
7124
|
})(exports.TimeseriesWidgetProjectType || (exports.TimeseriesWidgetProjectType = {}));
|
|
7125
7125
|
|
|
7126
|
+
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7127
|
+
function metricsSeriesMeasurementsMinMax(series, axisUnits) {
|
|
7128
|
+
if (axisUnits === "percent") {
|
|
7129
|
+
return { min: 0, max: 100 };
|
|
7130
|
+
}
|
|
7131
|
+
// skips percent measurements as they are displayed on the left y-axis and would affect right y-axis domain
|
|
7132
|
+
var nonPercentMetrics = series.filter(function (metric) { var _a; return metric.metricUnits !== "percent" && ((_a = metric.data) === null || _a === void 0 ? void 0 : _a.length); });
|
|
7133
|
+
// case where there are no measurements for non-percent metrics, e.g when a license expires
|
|
7134
|
+
if (nonPercentMetrics.length === 0) {
|
|
7135
|
+
return { min: -1, max: 1 };
|
|
7136
|
+
}
|
|
7137
|
+
var measurements = nonPercentMetrics.flatMap(function (m) { var _a; return (_a = m.data) !== null && _a !== void 0 ? _a : []; });
|
|
7138
|
+
return measurements.reduce(function (acc, measurement) { return ({
|
|
7139
|
+
min: Math.min(acc.min, measurement.y),
|
|
7140
|
+
max: Math.max(acc.max, measurement.y),
|
|
7141
|
+
}); }, { min: measurements[0].y, max: measurements[0].y });
|
|
7142
|
+
}
|
|
7143
|
+
function hasTimeseriesWidgetSummaryLegend(type) {
|
|
7144
|
+
return (type === exports.TimeseriesChartTypes.alert ||
|
|
7145
|
+
type === exports.TimeseriesChartTypes.event ||
|
|
7146
|
+
type === exports.TimeseriesChartTypes.multi);
|
|
7147
|
+
}
|
|
7148
|
+
var SUMMARY_LEGEND_BCG_COLOR = "var(--nui-color-brand-six)";
|
|
7149
|
+
var SUMMARY_LEGEND_COLOR = "var(--nui-color-text-light)";
|
|
7150
|
+
|
|
7126
7151
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
7127
7152
|
//
|
|
7128
7153
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
@@ -7142,21 +7167,19 @@
|
|
|
7142
7167
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
7143
7168
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
7144
7169
|
// THE SOFTWARE.
|
|
7145
|
-
function
|
|
7146
|
-
if (
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
max: Math.max(acc.max, measurement.y),
|
|
7159
|
-
}); }, { min: measurements[0].y, max: measurements[0].y });
|
|
7170
|
+
function roundToOptimalDecimals(arr, optimalDecimals) {
|
|
7171
|
+
if (optimalDecimals === void 0) { optimalDecimals = new Map([
|
|
7172
|
+
[1, 2],
|
|
7173
|
+
[2, 2],
|
|
7174
|
+
[3, 2],
|
|
7175
|
+
[4, 1],
|
|
7176
|
+
]); }
|
|
7177
|
+
return arr.map(function (v) {
|
|
7178
|
+
var _a;
|
|
7179
|
+
var digits = Math.floor(Math.abs(v)).toString().length;
|
|
7180
|
+
var optimalDecimalsForDigits = (_a = optimalDecimals.get(digits)) !== null && _a !== void 0 ? _a : 0;
|
|
7181
|
+
return +v.toFixed(optimalDecimalsForDigits);
|
|
7182
|
+
});
|
|
7160
7183
|
}
|
|
7161
7184
|
|
|
7162
7185
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -7228,7 +7251,7 @@
|
|
|
7228
7251
|
* @param scaleConfig
|
|
7229
7252
|
*/
|
|
7230
7253
|
TimeseriesScalesService.prototype.updateConfiguration = function (scale, scaleConfig, widgetConfig) {
|
|
7231
|
-
var _a, _b, _c, _d, _e, _f;
|
|
7254
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
7232
7255
|
switch (scaleConfig.type) {
|
|
7233
7256
|
case exports.TimeseriesScaleType.Time: {
|
|
7234
7257
|
var interval = (_a = scaleConfig.properties) === null || _a === void 0 ? void 0 : _a.timeInterval;
|
|
@@ -7257,15 +7280,17 @@
|
|
|
7257
7280
|
scale.scaleUnits = scaleConfig.properties.axisUnits;
|
|
7258
7281
|
}
|
|
7259
7282
|
if ((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) === exports.TimeseriesChartPreset.StatusBar ||
|
|
7260
|
-
(widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
|
|
7283
|
+
((widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
|
|
7284
|
+
exports.TimeseriesChartPreset.StackedArea &&
|
|
7285
|
+
((_d = scaleConfig.properties) === null || _d === void 0 ? void 0 : _d.axisUnits) === "percent")) {
|
|
7261
7286
|
return;
|
|
7262
7287
|
}
|
|
7263
|
-
if (((
|
|
7288
|
+
if (((_e = scaleConfig.properties) === null || _e === void 0 ? void 0 : _e.axisUnits) === "percent" &&
|
|
7264
7289
|
scale.setFixDomainValues) {
|
|
7265
7290
|
scale.setFixDomainValues([0, 25, 50, 75, 100]);
|
|
7266
7291
|
}
|
|
7267
|
-
if (((
|
|
7268
|
-
((
|
|
7292
|
+
if (((_f = scaleConfig.properties) === null || _f === void 0 ? void 0 : _f.axisUnits) !== "percent" &&
|
|
7293
|
+
((_g = scaleConfig.properties) === null || _g === void 0 ? void 0 : _g.domain) &&
|
|
7269
7294
|
scale.setFixDomainValues) {
|
|
7270
7295
|
var domainAdjusted = (widgetConfig === null || widgetConfig === void 0 ? void 0 : widgetConfig.preset) ===
|
|
7271
7296
|
exports.TimeseriesChartPreset.StackedBar
|
|
@@ -7277,8 +7302,8 @@
|
|
|
7277
7302
|
}
|
|
7278
7303
|
}
|
|
7279
7304
|
};
|
|
7280
|
-
TimeseriesScalesService.prototype.getStackedBarScaleDomain = function (
|
|
7281
|
-
var min =
|
|
7305
|
+
TimeseriesScalesService.prototype.getStackedBarScaleDomain = function (_h) {
|
|
7306
|
+
var min = _h.min, max = _h.max;
|
|
7282
7307
|
if (max === 0 || max % 4 > 0) {
|
|
7283
7308
|
max = max + 4 - (max % 4);
|
|
7284
7309
|
}
|
|
@@ -7291,8 +7316,8 @@
|
|
|
7291
7316
|
max,
|
|
7292
7317
|
];
|
|
7293
7318
|
};
|
|
7294
|
-
TimeseriesScalesService.prototype.getLineScaleDomain = function (
|
|
7295
|
-
var min =
|
|
7319
|
+
TimeseriesScalesService.prototype.getLineScaleDomain = function (_h) {
|
|
7320
|
+
var min = _h.min, max = _h.max;
|
|
7296
7321
|
if (min > max) {
|
|
7297
7322
|
var tmp = min;
|
|
7298
7323
|
min = max;
|
|
@@ -7314,7 +7339,13 @@
|
|
|
7314
7339
|
max += 0.04;
|
|
7315
7340
|
}
|
|
7316
7341
|
var point = (max - min) / 4;
|
|
7317
|
-
return [
|
|
7342
|
+
return roundToOptimalDecimals([
|
|
7343
|
+
min,
|
|
7344
|
+
min + point,
|
|
7345
|
+
min + 2 * point,
|
|
7346
|
+
max - point,
|
|
7347
|
+
max,
|
|
7348
|
+
]);
|
|
7318
7349
|
};
|
|
7319
7350
|
return TimeseriesScalesService;
|
|
7320
7351
|
}());
|
|
@@ -7326,8 +7357,9 @@
|
|
|
7326
7357
|
|
|
7327
7358
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
7328
7359
|
var TimeseriesChartComponent = /** @class */ (function () {
|
|
7329
|
-
function TimeseriesChartComponent(timeseriesScalesService, dataSource) {
|
|
7360
|
+
function TimeseriesChartComponent(eventBus, timeseriesScalesService, dataSource) {
|
|
7330
7361
|
var _this = this;
|
|
7362
|
+
this.eventBus = eventBus;
|
|
7331
7363
|
this.timeseriesScalesService = timeseriesScalesService;
|
|
7332
7364
|
this.dataSource = dataSource;
|
|
7333
7365
|
this.widgetData = {};
|
|
@@ -7475,13 +7507,26 @@
|
|
|
7475
7507
|
finally { if (e_2) throw e_2.error; }
|
|
7476
7508
|
}
|
|
7477
7509
|
};
|
|
7510
|
+
TimeseriesChartComponent.prototype.removeMetric = function (metricId) {
|
|
7511
|
+
this.eventBus.next(CHART_METRIC_REMOVE, {
|
|
7512
|
+
payload: {
|
|
7513
|
+
metricId: metricId,
|
|
7514
|
+
groupUniqueId: this.configuration.groupUniqueId,
|
|
7515
|
+
},
|
|
7516
|
+
});
|
|
7517
|
+
};
|
|
7478
7518
|
return TimeseriesChartComponent;
|
|
7479
7519
|
}());
|
|
7480
7520
|
/** @nocollapse */ TimeseriesChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartComponent, deps: "invalid", target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
7481
7521
|
/** @nocollapse */ TimeseriesChartComponent.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesChartComponent, inputs: { widgetData: "widgetData", configuration: "configuration" }, usesOnChanges: true, ngImport: i0__namespace });
|
|
7482
7522
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesChartComponent, decorators: [{
|
|
7483
7523
|
type: i0.Directive
|
|
7484
|
-
}], ctorParameters: function () {
|
|
7524
|
+
}], ctorParameters: function () {
|
|
7525
|
+
return [{ type: i3__namespace.EventBus, decorators: [{
|
|
7526
|
+
type: i0.Inject,
|
|
7527
|
+
args: [PIZZAGNA_EVENT_BUS]
|
|
7528
|
+
}] }, { type: TimeseriesScalesService }, { type: undefined }];
|
|
7529
|
+
}, propDecorators: { widgetData: [{
|
|
7485
7530
|
type: i0.Input
|
|
7486
7531
|
}], configuration: [{
|
|
7487
7532
|
type: i0.Input
|
|
@@ -7489,15 +7534,17 @@
|
|
|
7489
7534
|
|
|
7490
7535
|
var StatusBarChartComponent = /** @class */ (function (_super) {
|
|
7491
7536
|
__extends(StatusBarChartComponent, _super);
|
|
7492
|
-
function StatusBarChartComponent(iconService, dataSource, timeseriesScalesService, changeDetector, eventBus
|
|
7493
|
-
var _this = _super.call(this, timeseriesScalesService, dataSource) || this;
|
|
7537
|
+
function StatusBarChartComponent(iconService, dataSource, timeseriesScalesService, changeDetector, eventBus) {
|
|
7538
|
+
var _this = _super.call(this, eventBus, timeseriesScalesService, dataSource) || this;
|
|
7494
7539
|
_this.iconService = iconService;
|
|
7495
7540
|
_this.timeseriesScalesService = timeseriesScalesService;
|
|
7496
7541
|
_this.changeDetector = changeDetector;
|
|
7497
7542
|
_this.eventBus = eventBus;
|
|
7498
|
-
_this.zoomPluginsSyncService = zoomPluginsSyncService;
|
|
7499
7543
|
_this.collectionId = i3.uuid("timeseries-status-charts");
|
|
7500
7544
|
_this.chartUpdate$ = new rxjs.Subject();
|
|
7545
|
+
_this.timeseriesChartTypes = exports.TimeseriesChartTypes;
|
|
7546
|
+
_this.summaryLegendBcgColor = SUMMARY_LEGEND_BCG_COLOR;
|
|
7547
|
+
_this.summaryLegendColor = SUMMARY_LEGEND_COLOR;
|
|
7501
7548
|
return _this;
|
|
7502
7549
|
}
|
|
7503
7550
|
StatusBarChartComponent.prototype.ngOnInit = function () { };
|
|
@@ -7513,6 +7560,7 @@
|
|
|
7513
7560
|
};
|
|
7514
7561
|
StatusBarChartComponent.prototype.buildChart = function () {
|
|
7515
7562
|
var _this = this;
|
|
7563
|
+
var _a;
|
|
7516
7564
|
this.buildChart$.next();
|
|
7517
7565
|
this.chartAssist = new i2.SparkChartAssist();
|
|
7518
7566
|
this.accessors = i2.statusAccessors(this.chartAssist.palette.standardColors);
|
|
@@ -7526,9 +7574,13 @@
|
|
|
7526
7574
|
this.accessors.data.marker = function (data) { return data.icon
|
|
7527
7575
|
? _this.iconService.getIconResized(_this.iconService.getIconData(data.icon).code, iconSize)
|
|
7528
7576
|
: undefined; };
|
|
7577
|
+
this.accessors.data.y = function (d) { return d.value; };
|
|
7529
7578
|
// disable pointer events on bars to ensure the zoom drag target is the mouse interactive area rather than the bars
|
|
7530
7579
|
this.renderer = new i2.BarRenderer({
|
|
7531
|
-
highlightStrategy:
|
|
7580
|
+
highlightStrategy: ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.projectType) ===
|
|
7581
|
+
exports.TimeseriesWidgetProjectType.PerfstackApp
|
|
7582
|
+
? new i2.BarHighlightStrategyOutline("x")
|
|
7583
|
+
: new i2.BarHighlightStrategy("x"),
|
|
7532
7584
|
pointerEvents: false,
|
|
7533
7585
|
});
|
|
7534
7586
|
this.setGridConfigFromConfiguration(this.chartAssist.gridConfig);
|
|
@@ -7542,8 +7594,8 @@
|
|
|
7542
7594
|
};
|
|
7543
7595
|
StatusBarChartComponent.prototype.updateChartData = function () {
|
|
7544
7596
|
var _this = this;
|
|
7545
|
-
var _a, _b, _c, _d, _e, _f;
|
|
7546
|
-
var
|
|
7597
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
7598
|
+
var _h = this.chartAssist, gridConfig = _h.gridConfig, lastGridConfig = _h.lastGridConfig;
|
|
7547
7599
|
// hides botom axis if it's not last chart in the group
|
|
7548
7600
|
gridConfig.axis.bottom.visible = !((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.hasAdjacentChart);
|
|
7549
7601
|
lastGridConfig.axis.bottom.visible =
|
|
@@ -7556,16 +7608,26 @@
|
|
|
7556
7608
|
: "nui-chart-border nui-chart-border--thick";
|
|
7557
7609
|
this.chartUpdate$.next();
|
|
7558
7610
|
// Assemble the series set
|
|
7559
|
-
var
|
|
7611
|
+
var series = this.widgetData.series;
|
|
7612
|
+
var summarySerie = this.widgetData.summarySerie
|
|
7613
|
+
? [this.widgetData.summarySerie]
|
|
7614
|
+
: [];
|
|
7615
|
+
if (series.length === 1 &&
|
|
7616
|
+
series[0].id === ((_e = this.widgetData.summarySerie) === null || _e === void 0 ? void 0 : _e.id)) {
|
|
7617
|
+
// if the series contains only one item and its the same as the summary serie,
|
|
7618
|
+
// there is no submetric and only the summary serie should be displayed
|
|
7619
|
+
series = [];
|
|
7620
|
+
}
|
|
7621
|
+
var seriesSet = __spreadArray(__spreadArray([], __read(summarySerie)), __read(series)).map(function (d) { return (Object.assign(Object.assign({}, d), { data: _this.transformData(d.data, _this.scales.x instanceof i2.TimeIntervalScale), accessors: _this.accessors, renderer: _this.renderer, scales: _this.scales })); });
|
|
7560
7622
|
// Update the chart
|
|
7561
7623
|
this.chartAssist.update(seriesSet);
|
|
7562
7624
|
if (this.configuration.enableZoom) {
|
|
7563
|
-
this.chartAssist.sparks.forEach(function (spark) {
|
|
7625
|
+
this.chartAssist.sparks.forEach(function (spark, i) {
|
|
7564
7626
|
var _a, _b, _c, _d, _e;
|
|
7565
7627
|
if (((_a = _this.configuration) === null || _a === void 0 ? void 0 : _a.projectType) ===
|
|
7566
7628
|
exports.TimeseriesWidgetProjectType.PerfstackApp) {
|
|
7567
7629
|
if (!((_b = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _b === void 0 ? void 0 : _b.hasPlugin(i2.TimeseriesZoomPlugin))) {
|
|
7568
|
-
(_c = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _c === void 0 ? void 0 : _c.addPlugin(
|
|
7630
|
+
(_c = spark === null || spark === void 0 ? void 0 : spark.chart) === null || _c === void 0 ? void 0 : _c.addPlugin(_this.zoomPlugins[i]);
|
|
7569
7631
|
}
|
|
7570
7632
|
}
|
|
7571
7633
|
else {
|
|
@@ -7575,7 +7637,7 @@
|
|
|
7575
7637
|
}
|
|
7576
7638
|
});
|
|
7577
7639
|
// only need to subscribe to one chart's SET_DOMAIN_EVENT
|
|
7578
|
-
(
|
|
7640
|
+
(_f = this.chartAssist.sparks[0].chart) === null || _f === void 0 ? void 0 : _f.getEventBus().getStream(i2.SET_DOMAIN_EVENT).pipe(operators.takeUntil(rxjs.merge(this.chartUpdate$, (_g = this.chartAssist.sparks[0].chart) === null || _g === void 0 ? void 0 : _g.eventBus.getStream(i2.DESTROY_EVENT), this.buildChart$))).subscribe(function (event) {
|
|
7579
7641
|
var payload = event.data;
|
|
7580
7642
|
var newDomain = payload[Object.keys(payload)[0]];
|
|
7581
7643
|
_this.eventBus.getStream(SET_TIMEFRAME).next({
|
|
@@ -7607,6 +7669,7 @@
|
|
|
7607
7669
|
color: d.color,
|
|
7608
7670
|
thick: d.thick,
|
|
7609
7671
|
icon: d.icon,
|
|
7672
|
+
value: d.y,
|
|
7610
7673
|
});
|
|
7611
7674
|
}
|
|
7612
7675
|
});
|
|
@@ -7631,11 +7694,26 @@
|
|
|
7631
7694
|
configuration.gridConfig.sideMargin;
|
|
7632
7695
|
}
|
|
7633
7696
|
};
|
|
7697
|
+
StatusBarChartComponent.prototype.displayDeleteButton = function () {
|
|
7698
|
+
return (!!this.configuration.allowLegendMenu &&
|
|
7699
|
+
this.configuration.projectType ===
|
|
7700
|
+
exports.TimeseriesWidgetProjectType.PerfstackApp);
|
|
7701
|
+
};
|
|
7702
|
+
StatusBarChartComponent.prototype.isStatusChart = function () {
|
|
7703
|
+
var _a;
|
|
7704
|
+
return ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.type) !== exports.TimeseriesChartTypes.alert;
|
|
7705
|
+
};
|
|
7706
|
+
StatusBarChartComponent.prototype.getDescriptionSecondary = function (series, index) {
|
|
7707
|
+
if (this.isStatusChart()) {
|
|
7708
|
+
return series.legendDescriptionSecondary;
|
|
7709
|
+
}
|
|
7710
|
+
return index === 0 ? series.legendDescriptionSecondary : "";
|
|
7711
|
+
};
|
|
7634
7712
|
return StatusBarChartComponent;
|
|
7635
7713
|
}(TimeseriesChartComponent));
|
|
7636
7714
|
StatusBarChartComponent.lateLoadKey = "StatusChartComponent";
|
|
7637
|
-
/** @nocollapse */ StatusBarChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StatusBarChartComponent, deps: [{ token: i3__namespace.IconService }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }
|
|
7638
|
-
/** @nocollapse */ StatusBarChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StatusBarChartComponent, selector: "nui-status-bar-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n *ngIf=\"chartAssist\"\n class=\"status-bar-chart\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n class=\"d-flex\"\n *ngFor=\"let spark of chartAssist.sparks
|
|
7715
|
+
/** @nocollapse */ StatusBarChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StatusBarChartComponent, deps: [{ token: i3__namespace.IconService }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }, { token: PIZZAGNA_EVENT_BUS }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
7716
|
+
/** @nocollapse */ StatusBarChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StatusBarChartComponent, selector: "nui-status-bar-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n *ngIf=\"chartAssist\"\n class=\"status-bar-chart\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n class=\"d-flex\"\n *ngFor=\"\n let spark of chartAssist.sparks;\n let i = index;\n trackBy: chartAssist.trackByFn\n \"\n >\n <nui-chart\n class=\"d-flex flex-grow-1\"\n [chart]=\"spark.chart\"\n [nuiChartCollectionId]=\"collectionId\"\n ></nui-chart>\n <div\n class=\"d-flex flex-column pl-2\"\n [class.justify-content-center]=\"\n configuration.type === timeseriesChartTypes.alert &&\n chartAssist.sparks.length > 1\n \"\n [class.last-legend-margin]=\"\n configuration.type === timeseriesChartTypes.alert &&\n i > 0 &&\n i === chartAssist.sparks.length - 1\n \"\n [class.layout-fixed-legend]=\"configuration.gridConfig?.fixedLayout\"\n *ngIf=\"\n spark.chartSeriesSet?.length > 0 && spark.chartSeriesSet[0];\n let series\n \"\n >\n <nui-legend\n class=\"status-bar-chart__legend\"\n [active]=\"chartAssist.isLegendActive\"\n >\n <nui-legend-series\n [descriptionPrimary]=\"series.legendDescriptionPrimary\"\n [descriptionSecondary]=\"getDescriptionSecondary(series, i)\"\n >\n <nui-rich-legend-tile\n *ngIf=\"\n configuration.type === timeseriesChartTypes.alert\n \"\n [value]=\"\n chartAssist.getHighlightedValue(\n series,\n 'y',\n 'value'\n )\n \"\n [backgroundColor]=\"\n i === 0\n ? summaryLegendBcgColor\n : chartAssist.palette.standardColors.get(\n series.id\n )\n \"\n [color]=\"\n i === 0\n ? summaryLegendColor\n : chartAssist.palette.textColors.get(series.id)\n \"\n >\n </nui-rich-legend-tile>\n <div\n *ngIf=\"isStatusChart()\"\n class=\"status-bar-chart__legend__tile d-flex justify-content-center align-items-center\"\n >\n <div\n class=\"w-100 h-100 status-bar-chart__legend__tile__background\"\n [style.background-color]=\"\n getDataPointData(series, 'color')\n \"\n ></div>\n <nui-icon\n *ngIf=\"getDataPointData(series, 'icon'); let icon\"\n class=\"status-bar-chart__legend__tile__icon\"\n [icon]=\"icon\"\n ></nui-icon>\n </div>\n <button\n nui-button\n legendMenu\n *ngIf=\"displayDeleteButton()\"\n (click)=\"removeMetric(series.id)\"\n icon=\"remove\"\n type=\"button\"\n displayStyle=\"action\"\n ></button>\n </nui-legend-series>\n </nui-legend>\n </div>\n </div>\n</div>\n", styles: [".status-bar-chart__legend__tile{width:60px;position:relative}.status-bar-chart__legend__tile__background{position:absolute;opacity:.4}.status-bar-chart__legend__tile__icon{position:absolute}:host ::ng-deep .description-container{flex-grow:1}nui-legend-series:hover{background-color:#f2f2f2;max-width:100%}.layout-fixed-legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed-legend nui-legend{margin:0!important;width:100%}.last-legend-margin{justify-content:start!important;margin-top:7px}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.ButtonComponent, selector: "[nui-button]", inputs: ["ariaLabel", "isRepeat", "iconColor", "size", "displayStyle", "icon", "iconRight", "isBusy", "isEmpty"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }] });
|
|
7639
7717
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StatusBarChartComponent, decorators: [{
|
|
7640
7718
|
type: i0.Component,
|
|
7641
7719
|
args: [{
|
|
@@ -7652,7 +7730,7 @@
|
|
|
7652
7730
|
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }, { type: i3__namespace.EventBus, decorators: [{
|
|
7653
7731
|
type: i0.Inject,
|
|
7654
7732
|
args: [PIZZAGNA_EVENT_BUS]
|
|
7655
|
-
}] }
|
|
7733
|
+
}] }];
|
|
7656
7734
|
} });
|
|
7657
7735
|
|
|
7658
7736
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -8188,14 +8266,16 @@
|
|
|
8188
8266
|
|
|
8189
8267
|
var XYChartComponent = /** @class */ (function (_super) {
|
|
8190
8268
|
__extends(XYChartComponent, _super);
|
|
8191
|
-
function XYChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8192
|
-
var _this = _super.call(this, timeseriesScalesService, dataSource) || this;
|
|
8269
|
+
function XYChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
8270
|
+
var _this = _super.call(this, eventBus, timeseriesScalesService, dataSource) || this;
|
|
8193
8271
|
_this.eventBus = eventBus;
|
|
8194
8272
|
_this.timeseriesScalesService = timeseriesScalesService;
|
|
8195
8273
|
_this.changeDetector = changeDetector;
|
|
8196
|
-
_this.zoomPluginsSyncService = zoomPluginsSyncService;
|
|
8197
8274
|
_this.valueAccessorKey = "y";
|
|
8198
8275
|
_this.collectionId = "";
|
|
8276
|
+
_this.timeseriesChartTypes = exports.TimeseriesChartTypes;
|
|
8277
|
+
_this.summaryLegendBcgColor = SUMMARY_LEGEND_BCG_COLOR;
|
|
8278
|
+
_this.summaryLegendColor = SUMMARY_LEGEND_COLOR;
|
|
8199
8279
|
_this.transformers = new Map([
|
|
8200
8280
|
[
|
|
8201
8281
|
exports.TimeseriesTransformer.None,
|
|
@@ -8270,7 +8350,7 @@
|
|
|
8270
8350
|
if (scales.yRight) {
|
|
8271
8351
|
yScales.push(scales.yRight);
|
|
8272
8352
|
}
|
|
8273
|
-
|
|
8353
|
+
var dataMapped = data.map(function (series) {
|
|
8274
8354
|
var _a;
|
|
8275
8355
|
// matches scale units to the metric unit for either left y-axis scale or right y-axis scale
|
|
8276
8356
|
var yScale = yScales.find(function (yScale) { return yScale.scaleUnits === series.metricUnits; });
|
|
@@ -8283,6 +8363,16 @@
|
|
|
8283
8363
|
y: yScale,
|
|
8284
8364
|
}, renderer: _this.renderer, accessors: _this.accessors });
|
|
8285
8365
|
});
|
|
8366
|
+
if (this.widgetData.summarySerie) {
|
|
8367
|
+
this.summarySerie = Object.assign(Object.assign({}, this.widgetData.summarySerie), { accessors: new i2.XYAccessors(), renderer: new i2.XYRenderer({
|
|
8368
|
+
ignoreForDomainCalculation: true,
|
|
8369
|
+
}), scales: {
|
|
8370
|
+
x: scales.x,
|
|
8371
|
+
y: scales.y,
|
|
8372
|
+
}, showInLegend: false, preprocess: false });
|
|
8373
|
+
dataMapped.push(this.summarySerie);
|
|
8374
|
+
}
|
|
8375
|
+
return dataMapped;
|
|
8286
8376
|
};
|
|
8287
8377
|
/** Checks if legend should be shown. */
|
|
8288
8378
|
XYChartComponent.prototype.hasLegend = function () {
|
|
@@ -8363,8 +8453,8 @@
|
|
|
8363
8453
|
gridConfig.dimension.margin.right =
|
|
8364
8454
|
this.configuration.gridConfig.sideMargin;
|
|
8365
8455
|
}
|
|
8366
|
-
if (this.configuration.enableZoom) {
|
|
8367
|
-
chart.addPlugin(this.
|
|
8456
|
+
if (this.configuration.enableZoom && this.zoomPlugins.length) {
|
|
8457
|
+
chart.addPlugin(this.zoomPlugins[0]);
|
|
8368
8458
|
}
|
|
8369
8459
|
chart
|
|
8370
8460
|
.getEventBus()
|
|
@@ -8427,14 +8517,6 @@
|
|
|
8427
8517
|
this.configuration.projectType ===
|
|
8428
8518
|
exports.TimeseriesWidgetProjectType.PerfstackApp);
|
|
8429
8519
|
};
|
|
8430
|
-
XYChartComponent.prototype.removeMetric = function (metricId) {
|
|
8431
|
-
this.eventBus.next(CHART_METRIC_REMOVE, {
|
|
8432
|
-
payload: {
|
|
8433
|
-
metricId: metricId,
|
|
8434
|
-
groupUniqueId: this.configuration.groupUniqueId,
|
|
8435
|
-
},
|
|
8436
|
-
});
|
|
8437
|
-
};
|
|
8438
8520
|
XYChartComponent.prototype.transformData = function (metricId, trId) {
|
|
8439
8521
|
var _a;
|
|
8440
8522
|
var serie = this.widgetData.series.find(function (s) { return s.id === metricId; });
|
|
@@ -8456,7 +8538,7 @@
|
|
|
8456
8538
|
};
|
|
8457
8539
|
return XYChartComponent;
|
|
8458
8540
|
}(TimeseriesChartComponent));
|
|
8459
|
-
/** @nocollapse */ XYChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: XYChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }
|
|
8541
|
+
/** @nocollapse */ XYChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: XYChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
|
|
8460
8542
|
/** @nocollapse */ XYChartComponent.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: XYChartComponent });
|
|
8461
8543
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: XYChartComponent, decorators: [{
|
|
8462
8544
|
type: i0.Injectable
|
|
@@ -8469,14 +8551,14 @@
|
|
|
8469
8551
|
}, {
|
|
8470
8552
|
type: i0.Inject,
|
|
8471
8553
|
args: [DATA_SOURCE]
|
|
8472
|
-
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }
|
|
8554
|
+
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
|
|
8473
8555
|
} });
|
|
8474
8556
|
var templateObject_1$z, templateObject_2$o, templateObject_3$i, templateObject_4$d, templateObject_5$9, templateObject_6$7, templateObject_7$5, templateObject_8$3, templateObject_9$2, templateObject_10$2;
|
|
8475
8557
|
|
|
8476
8558
|
var LineChartComponent = /** @class */ (function (_super) {
|
|
8477
8559
|
__extends(LineChartComponent, _super);
|
|
8478
|
-
function LineChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8479
|
-
var _this = _super.call(this, eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8560
|
+
function LineChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
8561
|
+
var _this = _super.call(this, eventBus, dataSource, timeseriesScalesService, changeDetector) || this;
|
|
8480
8562
|
_this.renderer = new i2.LineRenderer();
|
|
8481
8563
|
return _this;
|
|
8482
8564
|
}
|
|
@@ -8493,8 +8575,8 @@
|
|
|
8493
8575
|
return LineChartComponent;
|
|
8494
8576
|
}(XYChartComponent));
|
|
8495
8577
|
LineChartComponent.lateLoadKey = "LineChartComponent";
|
|
8496
|
-
/** @nocollapse */ LineChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }
|
|
8497
|
-
/** @nocollapse */ LineChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
|
|
8578
|
+
/** @nocollapse */ LineChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LineChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
8579
|
+
/** @nocollapse */ LineChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: LineChartComponent, selector: "nui-line-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-icon{padding:0 5px;align-items:center}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
|
|
8498
8580
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: LineChartComponent, decorators: [{
|
|
8499
8581
|
type: i0.Component,
|
|
8500
8582
|
args: [{
|
|
@@ -8511,13 +8593,13 @@
|
|
|
8511
8593
|
}, {
|
|
8512
8594
|
type: i0.Inject,
|
|
8513
8595
|
args: [DATA_SOURCE]
|
|
8514
|
-
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }
|
|
8596
|
+
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
|
|
8515
8597
|
} });
|
|
8516
8598
|
|
|
8517
8599
|
var StackedAreaChartComponent = /** @class */ (function (_super) {
|
|
8518
8600
|
__extends(StackedAreaChartComponent, _super);
|
|
8519
|
-
function StackedAreaChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8520
|
-
var _this = _super.call(this, eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8601
|
+
function StackedAreaChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
8602
|
+
var _this = _super.call(this, eventBus, dataSource, timeseriesScalesService, changeDetector) || this;
|
|
8521
8603
|
_this.renderer = new i2.AreaRenderer();
|
|
8522
8604
|
_this.valueAccessorKey = "y1";
|
|
8523
8605
|
return _this;
|
|
@@ -8531,7 +8613,8 @@
|
|
|
8531
8613
|
var gridConfig = grid.config();
|
|
8532
8614
|
gridConfig.axis.left.fit = true;
|
|
8533
8615
|
var chart = new i2.Chart(grid);
|
|
8534
|
-
if ((_a = this.configuration.gridConfig) === null || _a === void 0 ? void 0 : _a.hideYAxisTicksLabels)
|
|
8616
|
+
if (((_a = this.configuration.gridConfig) === null || _a === void 0 ? void 0 : _a.hideYAxisTicksLabels) &&
|
|
8617
|
+
this.configuration.units === "percent") {
|
|
8535
8618
|
gridConfig.axis.left.visible = false;
|
|
8536
8619
|
gridConfig.axis.right.visible = false;
|
|
8537
8620
|
}
|
|
@@ -8540,8 +8623,8 @@
|
|
|
8540
8623
|
return StackedAreaChartComponent;
|
|
8541
8624
|
}(XYChartComponent));
|
|
8542
8625
|
StackedAreaChartComponent.lateLoadKey = "StackedAreaChartComponent";
|
|
8543
|
-
/** @nocollapse */ StackedAreaChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }
|
|
8544
|
-
/** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
|
|
8626
|
+
/** @nocollapse */ StackedAreaChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
8627
|
+
/** @nocollapse */ StackedAreaChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedAreaChartComponent, selector: "nui-stacked-area-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-icon{padding:0 5px;align-items:center}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
|
|
8545
8628
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedAreaChartComponent, decorators: [{
|
|
8546
8629
|
type: i0.Component,
|
|
8547
8630
|
args: [{
|
|
@@ -8558,19 +8641,14 @@
|
|
|
8558
8641
|
}, {
|
|
8559
8642
|
type: i0.Inject,
|
|
8560
8643
|
args: [DATA_SOURCE]
|
|
8561
|
-
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }
|
|
8644
|
+
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
|
|
8562
8645
|
} });
|
|
8563
8646
|
|
|
8564
8647
|
var StackedBarChartComponent = /** @class */ (function (_super) {
|
|
8565
8648
|
__extends(StackedBarChartComponent, _super);
|
|
8566
|
-
function StackedBarChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8567
|
-
var _this = _super.call(this, eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8649
|
+
function StackedBarChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
8650
|
+
var _this = _super.call(this, eventBus, dataSource, timeseriesScalesService, changeDetector) || this;
|
|
8568
8651
|
_this.valueAccessorKey = "value";
|
|
8569
|
-
// disable pointer events on bars to ensure the zoom drag target is the mouse interactive area rather than the bars
|
|
8570
|
-
_this.renderer = new i2.BarRenderer({
|
|
8571
|
-
highlightStrategy: new i2.BarHighlightStrategy("x"),
|
|
8572
|
-
pointerEvents: false,
|
|
8573
|
-
});
|
|
8574
8652
|
return _this;
|
|
8575
8653
|
}
|
|
8576
8654
|
StackedBarChartComponent.prototype.mapSeriesSet = function (data, scales) {
|
|
@@ -8591,6 +8669,15 @@
|
|
|
8591
8669
|
return accessors;
|
|
8592
8670
|
};
|
|
8593
8671
|
StackedBarChartComponent.prototype.createChartAssist = function (palette) {
|
|
8672
|
+
var _a;
|
|
8673
|
+
// disable pointer events on bars to ensure the zoom drag target is the mouse interactive area rather than the bars
|
|
8674
|
+
this.renderer = new i2.BarRenderer({
|
|
8675
|
+
highlightStrategy: ((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.projectType) ===
|
|
8676
|
+
exports.TimeseriesWidgetProjectType.PerfstackApp
|
|
8677
|
+
? new i2.BarHighlightStrategyOutline("x")
|
|
8678
|
+
: new i2.BarHighlightStrategy("x"),
|
|
8679
|
+
pointerEvents: false,
|
|
8680
|
+
});
|
|
8594
8681
|
var chart = new i2.Chart(i2.barGrid());
|
|
8595
8682
|
chart.addPlugin(new i2.InteractionLinePlugin());
|
|
8596
8683
|
chart.addPlugin(new i2.InteractionLabelPlugin());
|
|
@@ -8599,8 +8686,8 @@
|
|
|
8599
8686
|
return StackedBarChartComponent;
|
|
8600
8687
|
}(XYChartComponent));
|
|
8601
8688
|
StackedBarChartComponent.lateLoadKey = "StackedBarChartComponent";
|
|
8602
|
-
/** @nocollapse */ StackedBarChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }
|
|
8603
|
-
/** @nocollapse */ StackedBarChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
|
|
8689
|
+
/** @nocollapse */ StackedBarChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedBarChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
8690
|
+
/** @nocollapse */ StackedBarChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedBarChartComponent, selector: "nui-stacked-bar-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-icon{padding:0 5px;align-items:center}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
|
|
8604
8691
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedBarChartComponent, decorators: [{
|
|
8605
8692
|
type: i0.Component,
|
|
8606
8693
|
args: [{
|
|
@@ -8617,13 +8704,13 @@
|
|
|
8617
8704
|
}, {
|
|
8618
8705
|
type: i0.Inject,
|
|
8619
8706
|
args: [DATA_SOURCE]
|
|
8620
|
-
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }
|
|
8707
|
+
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
|
|
8621
8708
|
} });
|
|
8622
8709
|
|
|
8623
8710
|
var StackedPercentageAreaChartComponent = /** @class */ (function (_super) {
|
|
8624
8711
|
__extends(StackedPercentageAreaChartComponent, _super);
|
|
8625
|
-
function StackedPercentageAreaChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8626
|
-
var _this = _super.call(this, eventBus, dataSource, timeseriesScalesService, changeDetector
|
|
8712
|
+
function StackedPercentageAreaChartComponent(eventBus, dataSource, timeseriesScalesService, changeDetector) {
|
|
8713
|
+
var _this = _super.call(this, eventBus, dataSource, timeseriesScalesService, changeDetector) || this;
|
|
8627
8714
|
_this.renderer = new i2.AreaRenderer();
|
|
8628
8715
|
_this.valueAccessorKey = "y1";
|
|
8629
8716
|
return _this;
|
|
@@ -8640,8 +8727,8 @@
|
|
|
8640
8727
|
return StackedPercentageAreaChartComponent;
|
|
8641
8728
|
}(XYChartComponent));
|
|
8642
8729
|
StackedPercentageAreaChartComponent.lateLoadKey = "StackedPercentageAreaChartComponent";
|
|
8643
|
-
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedPercentageAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }
|
|
8644
|
-
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"!legendSeries.secondaryLink\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.secondaryLink\"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n <nui-menu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n class=\"legend-menu\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </div>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}.description-container{display:flex;align-items:center;flex-grow:1;padding-right:2px}.description-text{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.legend-menu{opacity:0;display:none;margin-left:auto}nui-legend-series:hover .legend-menu{opacity:1;display:unset}nui-legend-series{width:100%}nui-icon{padding:0 5px}:host::ng-deep nui-legend-series div div:nth-child(2).d-flex{flex-grow:1;overflow:hidden}:host::ng-deep .nui-legend-series .description{min-width:unset}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
|
|
8730
|
+
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedPercentageAreaChartComponent, deps: [{ token: PIZZAGNA_EVENT_BUS }, { token: DATA_SOURCE, optional: true }, { token: TimeseriesScalesService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
8731
|
+
/** @nocollapse */ StackedPercentageAreaChartComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: StackedPercentageAreaChartComponent, selector: "nui-stacked-percentage-area-chart", usesInheritance: true, ngImport: i0__namespace, template: "<div\n class=\"nui-chart-layout h-100\"\n [class.layout-fixed]=\"configuration.gridConfig?.fixedLayout\"\n>\n <div\n *ngIf=\"!configuration.gridConfig?.hideYAxisLabel\"\n class=\"axis-label-left nui-text-small\"\n >\n <strong>{{ configuration.leftAxisLabel }}</strong>\n </div>\n <div class=\"chart\">\n <nui-chart\n [nuiChartCollectionId]=\"collectionId\"\n class=\"w-100\"\n [chart]=\"chartAssist.chart\"\n ></nui-chart>\n </div>\n <div\n class=\"d-flex\"\n *ngIf=\"hasLegend()\"\n [ngClass]=\"[\n legendShouldBeAlignedRight() ? 'legend scrollable' : 'legend-bottom'\n ]\"\n >\n <nui-legend\n class=\"m-auto\"\n [active]=\"chartAssist.isLegendActive\"\n [interactive]=\"true\"\n [orientation]=\"\n legendShouldBeAlignedRight() ? 'vertical' : 'horizontal'\n \"\n >\n <nui-legend-series\n *ngIf=\"widgetData.summarySerie && summarySerie\"\n [interactive]=\"false\"\n (mouseenter)=\"chartAssist.resetVisibleSeries()\"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n summarySerie,\n 'y',\n 'tick'\n )\n \"\n [backgroundColor]=\"summaryLegendBcgColor\"\n [color]=\"summaryLegendColor\"\n >\n </nui-rich-legend-tile>\n\n <div description class=\"description-container\">\n <div class=\"description-text nui-text-small\">\n <div\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n [title]=\"summarySerie.legendDescriptionPrimary\"\n >\n {{ summarySerie.legendDescriptionPrimary }}\n </div>\n\n <div\n class=\"description description-secondary\"\n [title]=\"summarySerie.legendDescriptionSecondary\"\n >\n {{ summarySerie.legendDescriptionSecondary }}\n </div>\n </div>\n </div>\n </nui-legend-series>\n\n <nui-legend-series\n class=\"xy-chart__legend-series\"\n [ngClass]=\"\n 'xy-chart__legend-series--state-' +\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n *ngFor=\"\n let legendSeries of chartAssist.legendSeriesSet;\n trackBy: chartAssist.seriesTrackByFn\n \"\n [isSelected]=\"!chartAssist.isSeriesHidden(legendSeries.id)\"\n (isSelectedChange)=\"\n chartAssist.toggleSeries(legendSeries.id, $event)\n \"\n (mouseenter)=\"chartAssist.emphasizeSeries(legendSeries.id)\"\n (mouseleave)=\"chartAssist.resetVisibleSeries()\"\n [seriesRenderState]=\"\n chartAssist.renderStatesIndex[legendSeries.id]?.state\n \"\n >\n <nui-rich-legend-tile\n [value]=\"\n chartAssist.getHighlightedValue(\n legendSeries,\n 'y',\n 'tick',\n valueAccessorKey\n )\n \"\n [backgroundColor]=\"\n chartAssist.palette.standardColors.get(legendSeries.id)\n \"\n [color]=\"\n chartAssist.palette.textColors.get(legendSeries.id)\n \"\n >\n <nui-chart-marker\n rightEdge\n [marker]=\"chartAssist.markers.get(legendSeries.id)\"\n [color]=\"\n chartAssist.palette.standardColors.get(\n legendSeries.id\n )\n \"\n >\n </nui-chart-marker>\n </nui-rich-legend-tile>\n <div\n description\n class=\"description-container d-flex nui-text-small justify-content-center\"\n >\n <div class=\"descriptions\">\n <div\n *ngIf=\"!legendSeries.link\"\n class=\"description description-primary\"\n [ngClass]=\"{\n 'nui-text-link-small link': seriesInteractive\n }\"\n (click)=\"onPrimaryDescClick($event, legendSeries)\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </div>\n <a\n class=\"description description-primary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"legendSeries.link\"\n [href]=\"legendSeries.link\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionPrimary\"\n >\n {{ legendSeries.legendDescriptionPrimary }}\n </a>\n <div\n class=\"description description-secondary\"\n *ngIf=\"\n !legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </div>\n <a\n class=\"description description-secondary nui-text-link-small link\"\n (click)=\"$event.stopPropagation()\"\n *ngIf=\"\n legendSeries.secondaryLink &&\n !widgetData.summarySerie\n \"\n [href]=\"legendSeries.secondaryLink\"\n rel=\"noopener noreferrer\"\n [title]=\"legendSeries.legendDescriptionSecondary\"\n >\n {{ legendSeries.legendDescriptionSecondary }}\n </a>\n </div>\n <nui-icon\n *ngIf=\"legendSeries.transformer\"\n icon=\"performance\"\n iconColor=\"primary-blue\"\n ></nui-icon>\n </div>\n <nui-menu\n legendMenu\n *ngIf=\"displayLegendMenu()\"\n icon=\"menu\"\n displayStyle=\"action\"\n [appendToBody]=\"true\"\n >\n <nui-menu-group>\n <nui-menu-action\n i18n\n (actionDone)=\"removeMetric(legendSeries.id)\"\n >Remove</nui-menu-action\n >\n </nui-menu-group>\n <nui-menu-group header=\"Display Transforms\" i18n-header>\n <nui-menu-action\n *ngFor=\"let tr of transformers | nuiMapKeyValue\"\n [class.selected]=\"\n legendSeries.transformer?.name ===\n tr.value.transformer?.name\n \"\n (actionDone)=\"\n transformData(legendSeries.id, tr.key)\n \"\n >\n {{ tr.value.displayName }}\n </nui-menu-action>\n </nui-menu-group>\n </nui-menu>\n </nui-legend-series>\n </nui-legend>\n </div>\n</div>\n", styles: [".xy-chart__legend-series .link.description-primary,.xy-chart__legend-series .link.description-secondary{color:var(--nui-color-text-link,#0079aa)}.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-primary,.xy-chart__legend-series:not(:hover).xy-chart__legend-series--state-hidden .link.description-secondary{color:var(--nui-color-text-default,#111)}.layout-fixed .legend{max-width:250px;min-width:250px;padding-left:8px!important}.layout-fixed .legend nui-legend{margin:0!important;width:100%}nui-legend-series{width:100%}nui-icon{padding:0 5px;align-items:center}:host ::ng-deep div:has(> .description-container){flex-grow:1;overflow:hidden}:host ::ng-deep div:has(> .description-container) .descriptions{overflow:hidden}.selected{background-color:#00c4d21a}.selected:hover{background-color:#00c4d233}\n"], components: [{ type: i2__namespace.ChartComponent, selector: "nui-chart", inputs: ["chart"] }, { type: i2__namespace.LegendComponent, selector: "nui-legend", inputs: ["active", "interactive", "orientation", "seriesColor", "seriesIcon", "seriesUnitLabel"] }, { type: i2__namespace.LegendSeriesComponent, selector: "nui-legend-series", inputs: ["isSelected", "active", "interactive", "seriesRenderState", "icon", "descriptionPrimary", "descriptionSecondary", "color"], outputs: ["isSelectedChange"] }, { type: i2__namespace.RichLegendTileComponent, selector: "nui-rich-legend-tile", inputs: ["unitLabel", "backgroundColor", "value", "color"] }, { type: i2__namespace.ChartMarkerComponent, selector: "nui-chart-marker", inputs: ["maxSize", "marker", "drawLine", "color"] }, { type: i3__namespace.IconComponent, selector: "nui-icon", inputs: ["brushType", "fillContainer", "counter", "iconColor", "iconHoverColor", "iconSize", "cssClass", "status", "childStatus", "icon"] }, { type: i3__namespace.MenuComponent, selector: "nui-menu", inputs: ["icon", "widthOfPopup", "contextClass", "appendToBody", "ariaLabel", "title", "size", "displayStyle", "isDisabled", "itemsSource"], outputs: ["blurred"] }, { type: i3__namespace.MenuGroupComponent, selector: "nui-menu-group", inputs: ["header"] }, { type: i3__namespace.MenuActionComponent, selector: "nui-menu-action", inputs: ["icon", "type"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.ChartCollectionIdDirective, selector: "[nuiChartCollectionId]", inputs: ["nuiChartCollectionId"] }, { type: i4__namespace.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "nuiMapKeyValue": i3__namespace.MapKeyValuePipe } });
|
|
8645
8732
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: StackedPercentageAreaChartComponent, decorators: [{
|
|
8646
8733
|
type: i0.Component,
|
|
8647
8734
|
args: [{
|
|
@@ -8658,7 +8745,7 @@
|
|
|
8658
8745
|
}, {
|
|
8659
8746
|
type: i0.Inject,
|
|
8660
8747
|
args: [DATA_SOURCE]
|
|
8661
|
-
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }
|
|
8748
|
+
}] }, { type: TimeseriesScalesService }, { type: i0__namespace.ChangeDetectorRef }];
|
|
8662
8749
|
} });
|
|
8663
8750
|
|
|
8664
8751
|
// © 2022 SolarWinds Worldwide, LLC. All rights reserved.
|
|
@@ -8710,6 +8797,9 @@
|
|
|
8710
8797
|
var TIMESERIES_INSPECTION_MENU_SYNCHRONIZE = {
|
|
8711
8798
|
id: "TIMESERIES_INSPECTION_MENU_SYNCHRONIZE",
|
|
8712
8799
|
};
|
|
8800
|
+
var TIMESERIES_INSPECTION_MENU_CLEAR = {
|
|
8801
|
+
id: "TIMESERIES_INSPECTION_MENU_CLEAR",
|
|
8802
|
+
};
|
|
8713
8803
|
var TimeseriesInspectionMenuComponent = /** @class */ (function () {
|
|
8714
8804
|
function TimeseriesInspectionMenuComponent(element, eventBus, syncService) {
|
|
8715
8805
|
this.element = element;
|
|
@@ -8733,6 +8823,9 @@
|
|
|
8733
8823
|
_this.syncService.syncPositionInsideCollection((_a = _this.collectionId) !== null && _a !== void 0 ? _a : "", startDate, endDate);
|
|
8734
8824
|
}
|
|
8735
8825
|
});
|
|
8826
|
+
this.eventBus
|
|
8827
|
+
.getStream(TIMESERIES_INSPECTION_MENU_CLEAR)
|
|
8828
|
+
.subscribe(function () { return _this.clearZoom(); });
|
|
8736
8829
|
(_a = this.plugin) === null || _a === void 0 ? void 0 : _a.openPopover$.pipe(operators.takeUntil(this.destroy$)).subscribe(function (x) {
|
|
8737
8830
|
// moves element to the correct position
|
|
8738
8831
|
_this.element.nativeElement.style.left = _this.offset + x + "px";
|
|
@@ -8831,19 +8924,36 @@
|
|
|
8831
8924
|
this.changeDetector = changeDetector;
|
|
8832
8925
|
this.zoomPluginsSyncService = zoomPluginsSyncService;
|
|
8833
8926
|
this.elementClass = "";
|
|
8927
|
+
this.zoomPlugins = [];
|
|
8834
8928
|
this.allowPopover = false;
|
|
8835
8929
|
this.timeseriesWidgetProjectType = exports.TimeseriesWidgetProjectType;
|
|
8836
8930
|
}
|
|
8837
8931
|
TimeseriesWidgetComponent.prototype.ngOnInit = function () {
|
|
8838
|
-
var
|
|
8932
|
+
var _this = this;
|
|
8933
|
+
var _a, _b, _c, _d;
|
|
8839
8934
|
if (((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.projectType) ===
|
|
8840
8935
|
exports.TimeseriesWidgetProjectType.PerfstackApp) {
|
|
8841
|
-
|
|
8936
|
+
if (this.configuration.type === exports.TimeseriesChartTypes.alert) {
|
|
8937
|
+
// adds timeseries zoom plugin for each subcharts to make the synchronization working for the alert chart
|
|
8938
|
+
(_b = this.widgetData) === null || _b === void 0 ? void 0 : _b.series.forEach(function () { return _this.zoomPlugins.push(_this.getTimeseriesZoomPlugin()); });
|
|
8939
|
+
// doesn't add zoom plugin for a summary serie when there are no sub charts and only sumary serie will be displayed
|
|
8940
|
+
if (!(((_c = this.widgetData) === null || _c === void 0 ? void 0 : _c.series.length) === 1 &&
|
|
8941
|
+
this.widgetData.series[0].id ===
|
|
8942
|
+
((_d = this.widgetData.summarySerie) === null || _d === void 0 ? void 0 : _d.id))) {
|
|
8943
|
+
this.zoomPlugins.push(this.getTimeseriesZoomPlugin());
|
|
8944
|
+
}
|
|
8945
|
+
}
|
|
8946
|
+
else {
|
|
8947
|
+
this.zoomPlugins.push(this.getTimeseriesZoomPlugin());
|
|
8948
|
+
}
|
|
8842
8949
|
}
|
|
8843
8950
|
else {
|
|
8844
|
-
this.
|
|
8951
|
+
this.zoomPlugins.push(new i2.ZoomPlugin());
|
|
8845
8952
|
}
|
|
8846
8953
|
};
|
|
8954
|
+
TimeseriesWidgetComponent.prototype.getTimeseriesZoomPlugin = function () {
|
|
8955
|
+
return new i2.TimeseriesZoomPlugin({ collectionId: this.collectionId }, this.zoomPluginsSyncService);
|
|
8956
|
+
};
|
|
8847
8957
|
TimeseriesWidgetComponent.prototype.ngOnChanges = function (changes) {
|
|
8848
8958
|
var _a, _b;
|
|
8849
8959
|
if (changes.configuration) {
|
|
@@ -8868,15 +8978,15 @@
|
|
|
8868
8978
|
};
|
|
8869
8979
|
TimeseriesWidgetComponent.prototype.isExploringEnabled = function () {
|
|
8870
8980
|
var _a, _b, _c;
|
|
8871
|
-
return (((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.type) !== exports.TimeseriesChartTypes.
|
|
8981
|
+
return (((_a = this.configuration) === null || _a === void 0 ? void 0 : _a.type) !== exports.TimeseriesChartTypes.line &&
|
|
8872
8982
|
((_b = this.configuration) === null || _b === void 0 ? void 0 : _b.type) !== exports.TimeseriesChartTypes.multi &&
|
|
8873
|
-
((_c = this.configuration) === null || _c === void 0 ? void 0 : _c.type) !== exports.TimeseriesChartTypes.
|
|
8983
|
+
((_c = this.configuration) === null || _c === void 0 ? void 0 : _c.type) !== exports.TimeseriesChartTypes.status);
|
|
8874
8984
|
};
|
|
8875
8985
|
return TimeseriesWidgetComponent;
|
|
8876
8986
|
}());
|
|
8877
8987
|
TimeseriesWidgetComponent.lateLoadKey = "TimeseriesWidgetComponent";
|
|
8878
8988
|
/** @nocollapse */ TimeseriesWidgetComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesWidgetComponent, deps: [{ token: TimeseriesChartPresetService }, { token: i0__namespace.ChangeDetectorRef }, { token: i2__namespace.TimeseriesZoomPluginsSyncService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
8879
|
-
/** @nocollapse */ TimeseriesWidgetComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesWidgetComponent, selector: "nui-timeseries-widget", inputs: { widgetData: "widgetData", configuration: "configuration", collectionId: "collectionId", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0__namespace, template: "<div\n class=\"h-100 timeseries-widget-content\"\n *ngIf=\"shouldShowChart()\"\n (mouseleave)=\"toggleLeave()\"\n (mouseenter)=\"toggleEnter()\"\n>\n <ng-container\n nuiComponentPortal\n componentId=\"timeseriesWidgetChart\"\n [componentType]=\"chartPreset.componentType\"\n [properties]=\"{\n widgetData: widgetData,\n configuration: configuration,\n collectionId: collectionId || configuration?.collectionId,\n
|
|
8989
|
+
/** @nocollapse */ TimeseriesWidgetComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.6", type: TimeseriesWidgetComponent, selector: "nui-timeseries-widget", inputs: { widgetData: "widgetData", configuration: "configuration", collectionId: "collectionId", elementClass: "elementClass" }, host: { properties: { "class": "this.elementClass" } }, usesOnChanges: true, ngImport: i0__namespace, template: "<div\n class=\"h-100 timeseries-widget-content\"\n *ngIf=\"shouldShowChart()\"\n (mouseleave)=\"toggleLeave()\"\n (mouseenter)=\"toggleEnter()\"\n>\n <ng-container\n nuiComponentPortal\n componentId=\"timeseriesWidgetChart\"\n [componentType]=\"chartPreset.componentType\"\n [properties]=\"{\n widgetData: widgetData,\n configuration: configuration,\n collectionId: collectionId || configuration?.collectionId,\n zoomPlugins: zoomPlugins\n }\"\n #componentPortal=\"nuiComponentPortal\"\n >\n <ng-template\n [cdkPortalOutlet]=\"componentPortal.portal\"\n (attached)=\"componentPortal.attached($event)\"\n >\n </ng-template>\n </ng-container>\n <nui-timeseries-inspection-menu\n *ngIf=\"\n configuration?.enableZoom &&\n configuration?.projectType ===\n timeseriesWidgetProjectType.PerfstackApp &&\n zoomPlugins.length\n \"\n [allowed]=\"allowPopover\"\n [plugin]=\"zoomPlugins[0]\"\n [collectionId]=\"collectionId\"\n [exploringEnabled]=\"isExploringEnabled()\"\n [metricIds]=\"configuration?.metricIds\"\n ></nui-timeseries-inspection-menu>\n</div>\n<div *ngIf=\"!shouldShowChart()\">\n <nui-image image=\"no-data-to-show\"></nui-image>\n</div>\n", styles: [".timeseries-widget-content{padding:10px;position:relative}\n"], components: [{ type: TimeseriesInspectionMenuComponent, selector: "nui-timeseries-inspection-menu", inputs: ["plugin", "exploringEnabled", "metricIds", "collectionId", "allowed"] }, { type: i3__namespace.ImageComponent, selector: "nui-image", inputs: ["width", "height", "image", "description", "float", "margin", "isWatermark", "autoFill"] }], directives: [{ type: i4__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: ComponentPortalDirective, selector: "[nuiComponentPortal]", inputs: ["componentId", "componentType", "properties", "providers", "outputs"], outputs: ["output"], exportAs: ["nuiComponentPortal"] }, { type: i6__namespace.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
|
|
8880
8990
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.6", ngImport: i0__namespace, type: TimeseriesWidgetComponent, decorators: [{
|
|
8881
8991
|
type: i0.Component,
|
|
8882
8992
|
args: [{
|
|
@@ -18898,6 +19008,8 @@
|
|
|
18898
19008
|
exports.SCROLL_NEXT_PAGE = SCROLL_NEXT_PAGE;
|
|
18899
19009
|
exports.SET_PROPERTY_VALUE = SET_PROPERTY_VALUE;
|
|
18900
19010
|
exports.SET_TIMEFRAME = SET_TIMEFRAME;
|
|
19011
|
+
exports.SUMMARY_LEGEND_BCG_COLOR = SUMMARY_LEGEND_BCG_COLOR;
|
|
19012
|
+
exports.SUMMARY_LEGEND_COLOR = SUMMARY_LEGEND_COLOR;
|
|
18901
19013
|
exports.SiUnitsFormatterComponent = SiUnitsFormatterComponent;
|
|
18902
19014
|
exports.StackComponent = StackComponent;
|
|
18903
19015
|
exports.StackedAreaChartComponent = StackedAreaChartComponent;
|
|
@@ -18906,6 +19018,7 @@
|
|
|
18906
19018
|
exports.StatusBarChartComponent = StatusBarChartComponent;
|
|
18907
19019
|
exports.StatusWithIconFormatterComponent = StatusWithIconFormatterComponent;
|
|
18908
19020
|
exports.TEST_REGISTRY = TEST_REGISTRY;
|
|
19021
|
+
exports.TIMESERIES_INSPECTION_MENU_CLEAR = TIMESERIES_INSPECTION_MENU_CLEAR;
|
|
18909
19022
|
exports.TIMESERIES_INSPECTION_MENU_CLOSE = TIMESERIES_INSPECTION_MENU_CLOSE;
|
|
18910
19023
|
exports.TIMESERIES_INSPECTION_MENU_EXPLORE = TIMESERIES_INSPECTION_MENU_EXPLORE;
|
|
18911
19024
|
exports.TIMESERIES_INSPECTION_MENU_SYNCHRONIZE = TIMESERIES_INSPECTION_MENU_SYNCHRONIZE;
|
|
@@ -18971,6 +19084,7 @@
|
|
|
18971
19084
|
exports.fieldMapper = fieldMapper;
|
|
18972
19085
|
exports.getPizzagnaPropertyPath = getPizzagnaPropertyPath;
|
|
18973
19086
|
exports.hasControlInErrorState = hasControlInErrorState;
|
|
19087
|
+
exports.hasTimeseriesWidgetSummaryLegend = hasTimeseriesWidgetSummaryLegend;
|
|
18974
19088
|
exports.mapDataToFormatterProperties = mapDataToFormatterProperties;
|
|
18975
19089
|
exports.mergeChanges = mergeChanges;
|
|
18976
19090
|
exports.metricsSeriesMeasurementsMinMax = metricsSeriesMeasurementsMinMax;
|