@aquera/nile-visualization 2.9.0 → 2.9.1
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.
|
@@ -1707,10 +1707,10 @@ let NileChart = class NileChart extends NileElement {
|
|
|
1707
1707
|
const isLoading = this.loading || (this.activeConfig?.loading ?? false);
|
|
1708
1708
|
const isGrid = this.activeConfig?.type === 'grid';
|
|
1709
1709
|
return html `
|
|
1710
|
-
<div class="nile-chart-card ${isGrid ? 'nile-chart-card--grid' : ''}">
|
|
1710
|
+
<div class="nile-chart-card ${isGrid ? 'nile-chart-card--grid' : ''}" part="chart-card">
|
|
1711
1711
|
${this.renderHeader()}
|
|
1712
1712
|
<div class="nile-chart-wrapper">
|
|
1713
|
-
<div class="nile-chart-inner ${this.activeConfig?.type === 'kpi' ? 'nile-chart-inner--kpi' : ''} ${this.activeConfig?.type === 'filter' ? 'nile-chart-inner--filter' : ''}">
|
|
1713
|
+
<div class="nile-chart-inner ${this.activeConfig?.type === 'kpi' ? 'nile-chart-inner--kpi' : ''} ${this.activeConfig?.type === 'filter' ? 'nile-chart-inner--filter' : ''}" part="chart-inner">
|
|
1714
1714
|
${isLoading
|
|
1715
1715
|
? this.renderSkeleton()
|
|
1716
1716
|
: this.activeConfig
|
|
@@ -564,8 +564,6 @@ let NileKpiChart = class NileKpiChart extends NileElement {
|
|
|
564
564
|
if (aq) {
|
|
565
565
|
if (aq.chartTitle != null)
|
|
566
566
|
this.label = aq.chartTitle;
|
|
567
|
-
if (aq.chartSubtitle != null)
|
|
568
|
-
this.description = aq.chartSubtitle;
|
|
569
567
|
}
|
|
570
568
|
}
|
|
571
569
|
// ── Lifecycle ────────────────────────────────────────────────────────────
|