@aquera/nile-visualization 2.9.43 → 2.9.45
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/README.md +7 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/internal/types/chart-grid-config.type.d.ts +22 -0
- package/dist/src/internal/types/index.d.ts +1 -0
- package/dist/src/internal/utils/lite-tooltip.d.ts +5 -0
- package/dist/src/internal/utils/lite-tooltip.js +18 -0
- package/dist/src/nile-chart/nile-chart-column-chooser.d.ts +33 -0
- package/dist/src/nile-chart/nile-chart-column-chooser.js +133 -0
- package/dist/src/nile-chart/nile-chart-column-chooser.test.d.ts +2 -0
- package/dist/src/nile-chart/nile-chart-column-chooser.test.js +244 -0
- package/dist/src/nile-chart/nile-chart-empty.js +3 -3
- package/dist/src/nile-chart/nile-chart.css.js +97 -7
- package/dist/src/nile-chart/nile-chart.d.ts +42 -5
- package/dist/src/nile-chart/nile-chart.js +258 -70
- package/dist/src/nile-kpi-chart/nile-kpi-chart.js +10 -6
- package/dist/src/nile-master-detail-chart/nile-master-detail-chart.js +2 -1
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ import { applySeparatedChartConfig } from '../internal/utils/separated-chart-con
|
|
|
7
7
|
import { deepMerge } from '../internal/utils/deep-merge.js';
|
|
8
8
|
import { withResponsiveDefaults } from '../internal/utils/responsive-defaults.js';
|
|
9
9
|
import { styles } from './nile-master-detail-chart.css.js';
|
|
10
|
+
import { LITE_TOOLTIP_MAX_WIDTH, limitLiteTooltipHeight } from '../internal/utils/lite-tooltip.js';
|
|
10
11
|
export const MASTER_DETAIL_STACKING = ['normal', 'percent'];
|
|
11
12
|
export const MASTER_DETAIL_SERIES_TYPES = [
|
|
12
13
|
'area',
|
|
@@ -555,7 +556,7 @@ let NileMasterDetailChart = class NileMasterDetailChart extends NileElement {
|
|
|
555
556
|
? null
|
|
556
557
|
: html `<div class="detail-container ${masterHidden ? 'detail-container--grow' : ''}" part="detail-container"></div>
|
|
557
558
|
${this.masterCollapsible
|
|
558
|
-
? html `<nile-lite-tooltip content=${this.masterCollapsed ? 'Show master' : 'Hide master'} placement="top">
|
|
559
|
+
? html `<nile-lite-tooltip .maxWidth=${LITE_TOOLTIP_MAX_WIDTH} @nile-show=${limitLiteTooltipHeight} content=${this.masterCollapsed ? 'Show master' : 'Hide master'} placement="top">
|
|
559
560
|
<button
|
|
560
561
|
type="button"
|
|
561
562
|
class="master-toggle"
|