bt-core-app 2.0.310 → 2.0.311
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 +1287 -1264
- package/dist/index.d.ts +4 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -406,6 +406,7 @@ export declare interface BTGlobalBlades {
|
|
|
406
406
|
export declare interface BTGraphs {
|
|
407
407
|
getDataForChartJS: <T>(options: GetXYOptions<T>[], chartType?: ChartType, chartOptions?: any) => GetChartResult;
|
|
408
408
|
getBarChartData: <T>(options: GetBarChartOptions<T>, chartOptions?: any) => GetChartResult;
|
|
409
|
+
getPieChartData: <T>(options: GetBarChartOptions<T>, chartOptions?: any) => GetChartResult;
|
|
409
410
|
getXY: <T>(options: GetXYOptions<T>) => GraphedData[];
|
|
410
411
|
getRawXY: <T>(options: GetRawXYOptions<T>) => GraphedData[];
|
|
411
412
|
}
|
|
@@ -503,8 +504,8 @@ export declare interface ChartJSDataPoint {
|
|
|
503
504
|
}
|
|
504
505
|
|
|
505
506
|
export declare interface ChartJSDataSet {
|
|
506
|
-
backgroundColor?: string;
|
|
507
|
-
borderColor?: string;
|
|
507
|
+
backgroundColor?: string | string[];
|
|
508
|
+
borderColor?: string | string[];
|
|
508
509
|
data: number[] | any[][] | ChartJSDataPoint[] | any[];
|
|
509
510
|
label?: string;
|
|
510
511
|
parsing?: ChartJSParsing;
|
|
@@ -520,7 +521,7 @@ export declare interface ChartJSParsing {
|
|
|
520
521
|
xAxisKey?: string;
|
|
521
522
|
}
|
|
522
523
|
|
|
523
|
-
export declare type ChartType = 'line' | 'bar';
|
|
524
|
+
export declare type ChartType = 'line' | 'bar' | 'pie';
|
|
524
525
|
|
|
525
526
|
export declare function checkImage(url: string, onGood: (this: GlobalEventHandlers, ev: Event) => void, onBad: OnErrorEventHandler): void;
|
|
526
527
|
|
package/package.json
CHANGED