@hestia-earth/ui-components 0.41.52 → 0.41.53
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/package.json
CHANGED
|
@@ -474,9 +474,13 @@ declare class ContributionChartComponent {
|
|
|
474
474
|
* Show the legend below the chart.
|
|
475
475
|
*/
|
|
476
476
|
protected readonly showLegend: _angular_core.InputSignal<boolean>;
|
|
477
|
+
/**
|
|
478
|
+
* Override the default configuration.
|
|
479
|
+
*/
|
|
477
480
|
readonly config: _angular_core.InputSignal<Partial<ChartConfiguration<keyof chart_js.ChartTypeRegistry, (number | [number, number] | chart_js.Point | chart_js.BubbleDataPoint)[], unknown>>>;
|
|
478
481
|
protected readonly minHeight: _angular_core.InputSignal<number>;
|
|
479
482
|
protected readonly maxHeight: _angular_core.InputSignal<number>;
|
|
483
|
+
protected readonly height: _angular_core.InputSignal<number>;
|
|
480
484
|
/**
|
|
481
485
|
* Category to group the data by.
|
|
482
486
|
*/
|
|
@@ -484,7 +488,7 @@ declare class ContributionChartComponent {
|
|
|
484
488
|
private readonly chart;
|
|
485
489
|
private readonly tooltip;
|
|
486
490
|
readonly exporting: _angular_core.Signal<boolean>;
|
|
487
|
-
protected readonly
|
|
491
|
+
protected readonly chartHeight: _angular_core.Signal<number>;
|
|
488
492
|
private readonly hasNegativeContributions;
|
|
489
493
|
protected readonly displayData: _angular_core.Signal<ContributionChartDataItem[] | {
|
|
490
494
|
label: string;
|
|
@@ -602,7 +606,7 @@ declare class ContributionChartComponent {
|
|
|
602
606
|
exportAsPng(): void;
|
|
603
607
|
exportAsCsv(title: string): void;
|
|
604
608
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ContributionChartComponent, never>;
|
|
605
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContributionChartComponent, "he-contribution-chart", ["contributionChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showExportButton": { "alias": "showExportButton"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "category": { "alias": "category"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
609
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ContributionChartComponent, "he-contribution-chart", ["contributionChart"], { "data": { "alias": "data"; "required": false; "isSignal": true; }; "labels": { "alias": "labels"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "showExportButton": { "alias": "showExportButton"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "category": { "alias": "category"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
606
610
|
}
|
|
607
611
|
|
|
608
612
|
interface HistogramChartDataItem {
|