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.
@@ -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 i = l({
42599
- ...r,
42600
- getXAxis: (s) => {
42601
- const c = typeof r.xSpanProp == "string" ? Mn(s, r.xSpanProp) : r.xSpanProp(s), u = o(c);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "2.0.280",
3
+ "version": "2.0.282",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {