bt-core-app 2.0.280 → 2.0.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bt-core-app.js +4 -7
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -42595,13 +42595,10 @@ function dj(e) {
|
|
|
42595
42595
|
function n(r) {
|
|
42596
42596
|
let i = [];
|
|
42597
42597
|
const o = t.findFilter(r.xLabelFilter);
|
|
42598
|
-
return
|
|
42599
|
-
|
|
42600
|
-
|
|
42601
|
-
|
|
42602
|
-
return u ?? e.dates.tzDate(c).startOf(r.xSpan).toFormat(r.xLabelFilter ?? "");
|
|
42603
|
-
}
|
|
42604
|
-
}), r.fillGaps && (i = i), i;
|
|
42598
|
+
return r.getXAxis ?? (r.getXAxis = (s) => {
|
|
42599
|
+
const c = typeof r.xSpanProp == "string" ? Mn(s, r.xSpanProp) : r.xSpanProp(s), u = o(c);
|
|
42600
|
+
return u ?? e.dates.tzDate(c).startOf(r.xSpan).toFormat(r.xLabelFilter ?? "");
|
|
42601
|
+
}), i = l(r), r.fillGaps && (i = i), i;
|
|
42605
42602
|
}
|
|
42606
42603
|
function l(r) {
|
|
42607
42604
|
if (r.getXAxis == null && r.xProp == null)
|
package/dist/index.d.ts
CHANGED
|
@@ -404,7 +404,7 @@ export declare interface BTGlobalBlades {
|
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
export declare interface BTGraphs {
|
|
407
|
-
getDataForChartJS: <T>(options: GetXYOptions<T>[]) => GetChartResult;
|
|
407
|
+
getDataForChartJS: <T>(options: GetXYOptions<T>[], chartType?: ChartType) => GetChartResult;
|
|
408
408
|
getXY: <T>(options: GetXYOptions<T>) => GraphedData[];
|
|
409
409
|
getRawXY: <T>(options: GetRawXYOptions<T>) => GraphedData[];
|
|
410
410
|
}
|
package/package.json
CHANGED