@luzmo/embed 6.1.3 → 6.1.5
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/CHANGELOG.md +12 -0
- package/index.cjs +2269 -4665
- package/index.d.ts +1 -1
- package/index.js +2269 -4665
- package/lib/viz-item/viz-item.base.d.ts +3 -3
- package/luzmo-embed.min.js +2269 -4665
- package/package.json +3 -3
- package/libs/dashboard-contents-types/index.d.ts +0 -2
- package/libs/dashboard-contents-types/json-schemas.d.ts +0 -44023
- package/libs/dashboard-contents-types/src/index.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-options.d.ts +0 -331
- package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-slots.d.ts +0 -39
- package/libs/dashboard-contents-types/src/lib/area-chart/area-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/area-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.d.ts +0 -258
- package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.slots.d.ts +0 -39
- package/libs/dashboard-contents-types/src/lib/bar-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-options.d.ts +0 -310
- package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-slots.d.ts +0 -30
- package/libs/dashboard-contents-types/src/lib/box-plot/box-plot.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/box-plot/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-options.d.ts +0 -98
- package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -41
- package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/bubble-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-options.d.ts +0 -99
- package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -40
- package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/bullet-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-options.d.ts +0 -138
- package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -41
- package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/choropleth-map/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-options.d.ts +0 -122
- package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/circular-gauge/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-options.d.ts +0 -259
- package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-slots.d.ts +0 -39
- package/libs/dashboard-contents-types/src/lib/column-chart/column-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/column-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-options.d.ts +0 -344
- package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-slots.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/combination-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-options.d.ts +0 -94
- package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-slots.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/conditional-number/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-options.d.ts +0 -147
- package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-slots.d.ts +0 -18
- package/libs/dashboard-contents-types/src/lib/date-filter/date-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/date-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-options.d.ts +0 -131
- package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-slots.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/donut-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-options.d.ts +0 -84
- package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/dropdown-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.d.ts +0 -200
- package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-slots.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/evolution-number/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.d.ts +0 -110
- package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/funnel-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/image/image-options.d.ts +0 -63
- package/libs/dashboard-contents-types/src/lib/image/image.d.ts +0 -16
- package/libs/dashboard-contents-types/src/lib/image/index.d.ts +0 -2
- package/libs/dashboard-contents-types/src/lib/line-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-options.d.ts +0 -354
- package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-slots.d.ts +0 -39
- package/libs/dashboard-contents-types/src/lib/line-chart/line-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/pivot-table/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-options.d.ts +0 -206
- package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-slots.d.ts +0 -37
- package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/regular-table/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-options.d.ts +0 -124
- package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-slots.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/regular-table/regular-table.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/sankey-diagram/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-options.d.ts +0 -123
- package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -50
- package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/scatter-plot/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-options.d.ts +0 -213
- package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -61
- package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/search-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-options.d.ts +0 -56
- package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-slots.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/search-filter/search-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/shared/axes.d.ts +0 -35
- package/libs/dashboard-contents-types/src/lib/shared/axis-view-options.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/shared/common.d.ts +0 -103
- package/libs/dashboard-contents-types/src/lib/shared/drop-object-view-options.d.ts +0 -14
- package/libs/dashboard-contents-types/src/lib/shared/filters.d.ts +0 -32
- package/libs/dashboard-contents-types/src/lib/shared/formula.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/shared/index.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/shared/info-tooltip-options.d.ts +0 -24
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-brush.d.ts +0 -11
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-events.d.ts +0 -61
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -13
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-drilldown.d.ts +0 -81
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-export.d.ts +0 -24
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-filter.d.ts +0 -11
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-go-to-url.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-measure-dimension-picker.d.ts +0 -66
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-target.d.ts +0 -1
- package/libs/dashboard-contents-types/src/lib/shared/interpolation.d.ts +0 -4
- package/libs/dashboard-contents-types/src/lib/shared/item-filter-group.d.ts +0 -174
- package/libs/dashboard-contents-types/src/lib/shared/legend.d.ts +0 -31
- package/libs/dashboard-contents-types/src/lib/shared/map-object-view-options.d.ts +0 -37
- package/libs/dashboard-contents-types/src/lib/shared/object-view-options.d.ts +0 -5
- package/libs/dashboard-contents-types/src/lib/shared/placeholder.d.ts +0 -10
- package/libs/dashboard-contents-types/src/lib/shared/query.d.ts +0 -25
- package/libs/dashboard-contents-types/src/lib/shared/ranges.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/shared/slots.d.ts +0 -372
- package/libs/dashboard-contents-types/src/lib/shared/sort.d.ts +0 -64
- package/libs/dashboard-contents-types/src/lib/shared/theme.d.ts +0 -271
- package/libs/dashboard-contents-types/src/lib/shared/title.d.ts +0 -18
- package/libs/dashboard-contents-types/src/lib/slicer-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-options.d.ts +0 -205
- package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/slider-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-options.d.ts +0 -22
- package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-slots.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/text/index.d.ts +0 -2
- package/libs/dashboard-contents-types/src/lib/text/text-options.d.ts +0 -53
- package/libs/dashboard-contents-types/src/lib/text/text.d.ts +0 -16
- package/libs/dashboard-contents-types/src/options.d.ts +0 -25
- package/libs/dashboard-contents-types/src/slots.d.ts +0 -24
- package/libs/embed-libs/embed/src/index.d.ts +0 -5
- package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.d.ts +0 -98
- package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.d.ts +0 -8
- package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-styles.d.ts +0 -1
- package/libs/embed-libs/embed/src/lib/helper/event-bus-handler.d.ts +0 -1
- package/libs/embed-libs/embed/src/lib/luzmo-service.d.ts +0 -6
- package/libs/embed-libs/embed/src/lib/viz-item/viz-item-component.d.ts +0 -4
- package/libs/embed-libs/embed/src/lib/viz-item/viz-item.base.d.ts +0 -72
- package/libs/embed-libs/shared-embed/src/index.common.d.ts +0 -33
- package/libs/embed-libs/shared-embed/src/index.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/constants/class-constants.d.ts +0 -1
- package/libs/embed-libs/shared-embed/src/lib/helpers/browser-check.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/helpers/default-parameters.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/helpers/error.d.ts +0 -5
- package/libs/embed-libs/shared-embed/src/lib/helpers/extents.d.ts +0 -7
- package/libs/embed-libs/shared-embed/src/lib/helpers/get-loader.d.ts +0 -5
- package/libs/embed-libs/shared-embed/src/lib/helpers/iframe-url.d.ts +0 -1
- package/libs/embed-libs/shared-embed/src/lib/helpers/promise-dispatch.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/helpers/remote-federation.d.ts +0 -16
- package/libs/embed-libs/shared-embed/src/lib/helpers/set-selected-data-utils.d.ts +0 -7
- package/libs/embed-libs/shared-embed/src/lib/helpers/styles.d.ts +0 -8
- package/libs/embed-libs/shared-embed/src/lib/helpers/translations.d.ts +0 -18
- package/libs/embed-libs/shared-embed/src/lib/helpers/update-iframe-url.d.ts +0 -1
- package/libs/embed-libs/shared-embed/src/lib/helpers/utils.d.ts +0 -27
- package/libs/embed-libs/shared-embed/src/lib/methods/export-dashboard.d.ts +0 -4
- package/libs/embed-libs/shared-embed/src/lib/methods/get-accessible-dashboards.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/get-data.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/get-filters.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/refresh-data.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/methods/reload-dashboard.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/methods/set-authorization.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/methods/set-edit-mode.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/set-preview.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/set-selected-data.d.ts +0 -4
- package/libs/embed-libs/shared-embed/src/lib/models/common.model.d.ts +0 -103
- package/libs/embed-libs/shared-embed/src/lib/models/dashboard.model.d.ts +0 -45
- package/libs/embed-libs/shared-embed/src/lib/models/events.model.d.ts +0 -73
- package/libs/embed-libs/shared-embed/src/lib/models/filters.model.d.ts +0 -17
- package/libs/embed-libs/shared-embed/src/lib/models/styles.model.d.ts +0 -32
- package/libs/embed-libs/shared-embed/src/lib/models/viz-item-post-message.model.d.ts +0 -45
- package/libs/embed-libs/shared-embed/src/lib/models/viz-item.model.d.ts +0 -22
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/areachart.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/barchart.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/choroplethmap.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/circlepack.model.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/columnchart.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/datetime.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/donutchart.model.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/dropdownfilter.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/index.d.ts +0 -36
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/linechart.model.d.ts +0 -36
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/parallelcoordinatesplot.model.d.ts +0 -14
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/piechart.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/scatterplot.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slicer.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slider.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/stripplot.model.d.ts +0 -15
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/sunburst.model.d.ts +0 -14
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/treemap.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/service/calculate-dimensions.d.ts +0 -1
- package/libs/embed-libs/shared-embed/src/lib/service/extend-and-validate.d.ts +0 -2
|
@@ -1,354 +0,0 @@
|
|
|
1
|
-
import { InteractivityBrushViewOptions } from '../shared';
|
|
2
|
-
import { AxisGridlinesStyle, AxisScaleType, AxisTicksDensity, ManualAxesRange, XAxisLabelPosition, YAxisLabelPosition } from '../shared/axes';
|
|
3
|
-
import { AxisObjectViewOptions } from '../shared/axis-view-options';
|
|
4
|
-
import { AxisTicksMode, AxisTicksStyle, Guidelines, LimitViewOptions, MissingValueViewOptions, NullBreakViewOptions } from '../shared/common';
|
|
5
|
-
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
6
|
-
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
7
|
-
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
8
|
-
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
9
|
-
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
10
|
-
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
11
|
-
import { Interpolation } from '../shared/interpolation';
|
|
12
|
-
import { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';
|
|
13
|
-
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
14
|
-
export interface LineChartViewOptions extends Omit<AxisObjectViewOptions, 'display' | 'interactivity'>, TitleViewOptions, InfoTooltipViewOptions, MissingValueViewOptions, NullBreakViewOptions, LegendViewOptions, LimitViewOptions, LineChartDisplayViewOptions, LineChartInteractivityViewOptions {
|
|
15
|
-
/**
|
|
16
|
-
* Mode of the Line chart: grouped, color (not used anymore?)
|
|
17
|
-
* @TJS-ignore
|
|
18
|
-
*/
|
|
19
|
-
mode?: 'color' | 'grouped';
|
|
20
|
-
/**
|
|
21
|
-
* If it's set, it fine-tunes the 'mode' option. When it's 'line-group' the 'mode' will become 'grouped'.
|
|
22
|
-
* @TJS-ignore
|
|
23
|
-
*/
|
|
24
|
-
startWithSubType?: LineChartSubtype;
|
|
25
|
-
/**
|
|
26
|
-
* Interpolation options
|
|
27
|
-
* @default "linear"
|
|
28
|
-
*/
|
|
29
|
-
interpolation?: Interpolation;
|
|
30
|
-
/**
|
|
31
|
-
* Chart grid options
|
|
32
|
-
*/
|
|
33
|
-
grid?: {
|
|
34
|
-
/**
|
|
35
|
-
* X-axis grid options
|
|
36
|
-
*/
|
|
37
|
-
x?: {
|
|
38
|
-
/**
|
|
39
|
-
* Show or hide the X-axis grid
|
|
40
|
-
* @default false
|
|
41
|
-
*/
|
|
42
|
-
enabled: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Style of the X-axis grid
|
|
45
|
-
*/
|
|
46
|
-
style?: AxisGridlinesStyle;
|
|
47
|
-
/**
|
|
48
|
-
* Opacity of the X-axis grid
|
|
49
|
-
* @examples [1, 0.5, 0.1]
|
|
50
|
-
*/
|
|
51
|
-
opacity?: number;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Y-axis grid options
|
|
55
|
-
*/
|
|
56
|
-
y?: {
|
|
57
|
-
/**
|
|
58
|
-
* Show or hide the Y-axis grid
|
|
59
|
-
* @default false
|
|
60
|
-
*/
|
|
61
|
-
enabled: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Style of the Y-axis grid
|
|
64
|
-
*/
|
|
65
|
-
style?: AxisGridlinesStyle;
|
|
66
|
-
/**
|
|
67
|
-
* Opacity of the Y-axis grid
|
|
68
|
-
* @examples [1, 0.5, 0.1]
|
|
69
|
-
*/
|
|
70
|
-
opacity?: number;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* Y2-axis grid options
|
|
74
|
-
*/
|
|
75
|
-
y2?: {
|
|
76
|
-
/**
|
|
77
|
-
* Show or hide the Y2-axis grid
|
|
78
|
-
* @default false
|
|
79
|
-
*/
|
|
80
|
-
enabled: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* Style of the Y2-axis grid
|
|
83
|
-
*/
|
|
84
|
-
style?: AxisGridlinesStyle;
|
|
85
|
-
/**
|
|
86
|
-
* Opacity of the Y2-axis grid
|
|
87
|
-
* @examples [1, 0.5, 0.1]
|
|
88
|
-
*/
|
|
89
|
-
opacity?: number;
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* Axes labels options
|
|
94
|
-
*/
|
|
95
|
-
axislabels?: {
|
|
96
|
-
/**
|
|
97
|
-
* X-axis label options
|
|
98
|
-
*/
|
|
99
|
-
x?: {
|
|
100
|
-
/**
|
|
101
|
-
* Show or hide the X-axis labels
|
|
102
|
-
* @default false
|
|
103
|
-
*/
|
|
104
|
-
enabled: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Position of the X-axis labels
|
|
107
|
-
* @default "center"
|
|
108
|
-
*/
|
|
109
|
-
position: XAxisLabelPosition;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* Y-axis label options
|
|
113
|
-
*/
|
|
114
|
-
y?: {
|
|
115
|
-
/**
|
|
116
|
-
* Show or hide the Y-axis labels
|
|
117
|
-
* @default false
|
|
118
|
-
*/
|
|
119
|
-
enabled: boolean;
|
|
120
|
-
/**
|
|
121
|
-
* Position of the Y-axis labels
|
|
122
|
-
* @default "middle"
|
|
123
|
-
*/
|
|
124
|
-
position: YAxisLabelPosition;
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Y2-axis label options
|
|
128
|
-
*/
|
|
129
|
-
y2?: {
|
|
130
|
-
/**
|
|
131
|
-
* Show or hide the Y2-axis labels
|
|
132
|
-
* @default false
|
|
133
|
-
*/
|
|
134
|
-
enabled: boolean;
|
|
135
|
-
/**
|
|
136
|
-
* Position of the Y2-axis labels
|
|
137
|
-
* @default "middle"
|
|
138
|
-
*/
|
|
139
|
-
position: YAxisLabelPosition;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
/**
|
|
143
|
-
* Axes options
|
|
144
|
-
*/
|
|
145
|
-
axis?: {
|
|
146
|
-
/**
|
|
147
|
-
* X-axis options
|
|
148
|
-
*/
|
|
149
|
-
x?: {
|
|
150
|
-
/**
|
|
151
|
-
* X-axis color
|
|
152
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
153
|
-
*/
|
|
154
|
-
color?: string;
|
|
155
|
-
/**
|
|
156
|
-
* Ticks mode of the X-axis
|
|
157
|
-
* @default "ticks"
|
|
158
|
-
*/
|
|
159
|
-
ticksMode?: AxisTicksMode;
|
|
160
|
-
/**
|
|
161
|
-
* Ticks style of the X-axis
|
|
162
|
-
*/
|
|
163
|
-
ticksStyle?: AxisTicksStyle;
|
|
164
|
-
};
|
|
165
|
-
/**
|
|
166
|
-
* Y-axis options
|
|
167
|
-
*/
|
|
168
|
-
y?: {
|
|
169
|
-
/**
|
|
170
|
-
* Y-axis color
|
|
171
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
172
|
-
*/
|
|
173
|
-
color?: string;
|
|
174
|
-
/**
|
|
175
|
-
* Manual axes range of the Y-axis
|
|
176
|
-
* @MaxItems 2
|
|
177
|
-
*/
|
|
178
|
-
manualAxesRange?: ManualAxesRange;
|
|
179
|
-
/**
|
|
180
|
-
* Scale type of the Y-axis
|
|
181
|
-
* @default "linear"
|
|
182
|
-
*/
|
|
183
|
-
scale?: AxisScaleType;
|
|
184
|
-
/**
|
|
185
|
-
* Scale log base of the Y-axis
|
|
186
|
-
* @examples [2, 10]
|
|
187
|
-
*/
|
|
188
|
-
scaleLogBase?: number;
|
|
189
|
-
/**
|
|
190
|
-
* Ticks density of the Y-axis
|
|
191
|
-
*/
|
|
192
|
-
ticksDensity?: AxisTicksDensity;
|
|
193
|
-
/**
|
|
194
|
-
* Ticks mode of the Y-axis
|
|
195
|
-
* @default "ticks"
|
|
196
|
-
*/
|
|
197
|
-
ticksMode?: AxisTicksMode;
|
|
198
|
-
/**
|
|
199
|
-
* Measure axis type of the Y-axis
|
|
200
|
-
* @default "default"
|
|
201
|
-
*/
|
|
202
|
-
type?: LineChartMeasureAxisType;
|
|
203
|
-
};
|
|
204
|
-
/**
|
|
205
|
-
* Y-axis options
|
|
206
|
-
*/
|
|
207
|
-
y2?: {
|
|
208
|
-
/**
|
|
209
|
-
* Is Y2-axis is active
|
|
210
|
-
* @default false
|
|
211
|
-
*/
|
|
212
|
-
active?: boolean;
|
|
213
|
-
/**
|
|
214
|
-
* Y2-axis color
|
|
215
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
216
|
-
*/
|
|
217
|
-
color?: string;
|
|
218
|
-
/**
|
|
219
|
-
* Manual axes range of the Y2-axis
|
|
220
|
-
* @MaxItems 2
|
|
221
|
-
*/
|
|
222
|
-
manualAxesRange?: ManualAxesRange;
|
|
223
|
-
/**
|
|
224
|
-
* Indexes of the measures that are displayed on the Y2-axis
|
|
225
|
-
* @default [[1]]
|
|
226
|
-
*/
|
|
227
|
-
measureIndexes?: number[];
|
|
228
|
-
/**
|
|
229
|
-
* Scale type of the Y2-axis
|
|
230
|
-
* @default "linear"
|
|
231
|
-
*/
|
|
232
|
-
scale?: AxisScaleType;
|
|
233
|
-
/**
|
|
234
|
-
* Scale log base of the Y2-axis
|
|
235
|
-
* @examples [2, 10]
|
|
236
|
-
*/
|
|
237
|
-
scaleLogBase?: number;
|
|
238
|
-
/**
|
|
239
|
-
* Ticks density of the Y2-axis
|
|
240
|
-
*/
|
|
241
|
-
ticksDensity?: AxisTicksDensity;
|
|
242
|
-
/**
|
|
243
|
-
* Ticks mode of the Y2-axis
|
|
244
|
-
* @default "ticks"
|
|
245
|
-
*/
|
|
246
|
-
ticksMode?: AxisTicksMode;
|
|
247
|
-
/**
|
|
248
|
-
* Measure axis type of the Y2-axis
|
|
249
|
-
* @default "default"
|
|
250
|
-
*/
|
|
251
|
-
type?: LineChartMeasureAxisType;
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
/**
|
|
255
|
-
* Lines options
|
|
256
|
-
*/
|
|
257
|
-
lines?: {
|
|
258
|
-
/**
|
|
259
|
-
* Stroke width of the lines
|
|
260
|
-
* @default 2
|
|
261
|
-
*/
|
|
262
|
-
strokeWidth?: number;
|
|
263
|
-
/**
|
|
264
|
-
* Gradient of the lines
|
|
265
|
-
* @default true
|
|
266
|
-
*/
|
|
267
|
-
gradient?: boolean;
|
|
268
|
-
/**
|
|
269
|
-
* Index of the line
|
|
270
|
-
*/
|
|
271
|
-
index?: number;
|
|
272
|
-
};
|
|
273
|
-
/**
|
|
274
|
-
* Markers options
|
|
275
|
-
*/
|
|
276
|
-
markers?: {
|
|
277
|
-
/**
|
|
278
|
-
* Show or hide the markers
|
|
279
|
-
* @default false
|
|
280
|
-
*/
|
|
281
|
-
enabled?: boolean;
|
|
282
|
-
/**
|
|
283
|
-
* Size of the markers
|
|
284
|
-
* @default 4
|
|
285
|
-
*/
|
|
286
|
-
size?: number;
|
|
287
|
-
};
|
|
288
|
-
/**
|
|
289
|
-
* Guidelines options
|
|
290
|
-
*/
|
|
291
|
-
guidelines?: Guidelines;
|
|
292
|
-
}
|
|
293
|
-
interface LineChartDisplayViewOptions extends DisplayTitleViewOptions, DisplayLegendViewOptions {
|
|
294
|
-
/**
|
|
295
|
-
* General display options of the Line chart: title, legend
|
|
296
|
-
*/
|
|
297
|
-
display: {
|
|
298
|
-
/**
|
|
299
|
-
* Show or hide the title
|
|
300
|
-
* @default true
|
|
301
|
-
*/
|
|
302
|
-
title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
|
|
303
|
-
/**
|
|
304
|
-
* Show or hide the legend
|
|
305
|
-
* @default true
|
|
306
|
-
*/
|
|
307
|
-
legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
|
|
308
|
-
};
|
|
309
|
-
}
|
|
310
|
-
interface LineChartInteractivityViewOptions extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
|
|
311
|
-
/**
|
|
312
|
-
* Interactivity options
|
|
313
|
-
*/
|
|
314
|
-
interactivity?: {
|
|
315
|
-
/**
|
|
316
|
-
* An array of measure dimension picker configurations
|
|
317
|
-
* @default [[]]
|
|
318
|
-
*/
|
|
319
|
-
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
320
|
-
/**
|
|
321
|
-
* Custom events interactivity option
|
|
322
|
-
* @default null
|
|
323
|
-
*/
|
|
324
|
-
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
325
|
-
/**
|
|
326
|
-
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
327
|
-
* @default null
|
|
328
|
-
*/
|
|
329
|
-
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
330
|
-
/**
|
|
331
|
-
* Go to URL interactivity option
|
|
332
|
-
* @default { "target": "_blank", "url": null }
|
|
333
|
-
*/
|
|
334
|
-
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
335
|
-
/**
|
|
336
|
-
* Available export types interactivity option
|
|
337
|
-
* @default ["xlsx", "csv", "png"]
|
|
338
|
-
*/
|
|
339
|
-
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
340
|
-
/**
|
|
341
|
-
* Export types interactivity option
|
|
342
|
-
* @default ["xlsx", "csv", "png"]
|
|
343
|
-
*/
|
|
344
|
-
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
345
|
-
/**
|
|
346
|
-
* Filter on brush interactivity option
|
|
347
|
-
* @default true
|
|
348
|
-
*/
|
|
349
|
-
brush?: NonNullable<NonNullable<InteractivityBrushViewOptions['interactivity']>['brush']>;
|
|
350
|
-
};
|
|
351
|
-
}
|
|
352
|
-
export type LineChartSubtype = 'line' | 'line-group';
|
|
353
|
-
export type LineChartMeasureAxisType = 'default' | 'manual' | 'variable';
|
|
354
|
-
export {};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Measure slot definition of the Line chart
|
|
4
|
-
*/
|
|
5
|
-
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
6
|
-
name: 'measure';
|
|
7
|
-
/**
|
|
8
|
-
* Measure slot definition, it can contain numeric data
|
|
9
|
-
*/
|
|
10
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Category slot definition of the Line chart
|
|
14
|
-
*/
|
|
15
|
-
interface XAxisSlot extends DashboardContentVizItemSlot {
|
|
16
|
-
name: 'x-axis';
|
|
17
|
-
/**
|
|
18
|
-
* X-axis slot definition, it can contain mixed data (numeric, categorical)
|
|
19
|
-
* @maxItems 1
|
|
20
|
-
*/
|
|
21
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Legend slot definition of the Line chart
|
|
25
|
-
*/
|
|
26
|
-
interface LegendSlot extends DashboardContentVizItemSlot {
|
|
27
|
-
name: 'legend';
|
|
28
|
-
/**
|
|
29
|
-
* Legend slot definition, it can contain categorical data
|
|
30
|
-
* @maxItems 1
|
|
31
|
-
*/
|
|
32
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Data definition of the Line chart
|
|
36
|
-
* @maxItems 3
|
|
37
|
-
*/
|
|
38
|
-
export type LineChartSlots = (MeasureSlot | XAxisSlot | LegendSlot)[];
|
|
39
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { LineChartViewOptions } from './line-chart-options';
|
|
3
|
-
import { LineChartSlots } from './line-chart-slots';
|
|
4
|
-
/**
|
|
5
|
-
* Line chart item
|
|
6
|
-
*/
|
|
7
|
-
export interface LineChart {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'line-chart'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the Line chart item
|
|
14
|
-
* @$ref ./line-chart-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: LineChartViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the Line chart
|
|
19
|
-
* @maxItems 3
|
|
20
|
-
* @$ref ./line-chart-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: LineChartSlots;
|
|
23
|
-
}
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { InteractivityFilterOnSelectViewOptions } from '../shared';
|
|
2
|
-
import type { LimitViewOptions, ScreenMode, SortDirection } from '../shared/common';
|
|
3
|
-
import { DropObjectViewOptions } from '../shared/drop-object-view-options';
|
|
4
|
-
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
5
|
-
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
6
|
-
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
7
|
-
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
8
|
-
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
9
|
-
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
10
|
-
import { ManualValuesRange } from '../shared/ranges';
|
|
11
|
-
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
12
|
-
export interface PivotTableViewOptions extends Omit<DropObjectViewOptions, 'interactivity'>, InfoTooltipViewOptions, TitleViewOptions, DisplayTitleViewOptions, PivotTableLimitViewOptions, PivotTableInteractivityViewOptions {
|
|
13
|
-
/**
|
|
14
|
-
* Table border
|
|
15
|
-
*/
|
|
16
|
-
tableBorders?: PivotTableBorders;
|
|
17
|
-
/**
|
|
18
|
-
* Measure axis labels
|
|
19
|
-
* @default "columns"
|
|
20
|
-
*/
|
|
21
|
-
measureLabelsAxis?: PivotTableAxis;
|
|
22
|
-
/**
|
|
23
|
-
* Style and alignment of the table headers
|
|
24
|
-
*/
|
|
25
|
-
headers?: {
|
|
26
|
-
/**
|
|
27
|
-
* Alignment of the headers
|
|
28
|
-
*/
|
|
29
|
-
align?: 'left';
|
|
30
|
-
/**
|
|
31
|
-
* Background color of the header
|
|
32
|
-
*/
|
|
33
|
-
background?: string;
|
|
34
|
-
/**
|
|
35
|
-
* Text color of the headers
|
|
36
|
-
*/
|
|
37
|
-
color?: string;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Row header of the pivot table
|
|
41
|
-
*/
|
|
42
|
-
rowHeaders?: {
|
|
43
|
-
/**
|
|
44
|
-
* Alignment of the row header
|
|
45
|
-
* @default "left"
|
|
46
|
-
*/
|
|
47
|
-
align?: PivotTableTextAlign;
|
|
48
|
-
/**
|
|
49
|
-
* Toggle sticky row header
|
|
50
|
-
* @default true
|
|
51
|
-
*/
|
|
52
|
-
sticky?: boolean;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Column headers of the pivot table
|
|
56
|
-
*/
|
|
57
|
-
columnHeaders?: {
|
|
58
|
-
/**
|
|
59
|
-
* Alignment of the column header
|
|
60
|
-
* @default "left"
|
|
61
|
-
*/
|
|
62
|
-
align?: PivotTableTextAlign;
|
|
63
|
-
};
|
|
64
|
-
/**
|
|
65
|
-
* Alignment and style of the values
|
|
66
|
-
*/
|
|
67
|
-
valueCells?: {
|
|
68
|
-
/**
|
|
69
|
-
* Alignment of the value in the cell
|
|
70
|
-
* @default "left"
|
|
71
|
-
*/
|
|
72
|
-
align?: PivotTableTextAlign;
|
|
73
|
-
/**
|
|
74
|
-
* Toggle alternate coloring of the cell
|
|
75
|
-
* @default true
|
|
76
|
-
*/
|
|
77
|
-
alternate?: boolean;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Wrap text in the cells
|
|
81
|
-
* @default false
|
|
82
|
-
*/
|
|
83
|
-
wrapText?: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Columns configuration
|
|
86
|
-
* @TJS-type object
|
|
87
|
-
* @default [[]]
|
|
88
|
-
*/
|
|
89
|
-
columns?: PivotTableColumnOptions[];
|
|
90
|
-
/**
|
|
91
|
-
* Sort object, where a key is a string, and a value is a "asc" or "desc".
|
|
92
|
-
*
|
|
93
|
-
* @TJS-type object
|
|
94
|
-
*/
|
|
95
|
-
rowSortsMap?: PivotTableRowSortsMap;
|
|
96
|
-
measureSorts?: Record<PivotTableRowAxis | PivotTableColumnAxis, PivotTableMeasureSort>;
|
|
97
|
-
/**
|
|
98
|
-
* @TJS-type object
|
|
99
|
-
*/
|
|
100
|
-
colWidths?: Partial<Record<ScreenMode, Record<string, number>>>;
|
|
101
|
-
/**
|
|
102
|
-
* Toggle expandability of the table
|
|
103
|
-
*/
|
|
104
|
-
isExpandable?: boolean;
|
|
105
|
-
expandStyle?: 'indent' | 'columns';
|
|
106
|
-
rowsExpandState?: PivotTableItemExpandState;
|
|
107
|
-
columnsExpandState?: PivotTableItemExpandState;
|
|
108
|
-
}
|
|
109
|
-
interface PivotTableInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityFilterOnSelectViewOptions {
|
|
110
|
-
/**
|
|
111
|
-
* Interactivity options
|
|
112
|
-
*/
|
|
113
|
-
interactivity?: {
|
|
114
|
-
/**
|
|
115
|
-
* Available export types interactivity option
|
|
116
|
-
* @default ["xlsx", "csv", "xlsx-raw", "csv-raw", "png"]
|
|
117
|
-
*/
|
|
118
|
-
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
119
|
-
/**
|
|
120
|
-
* Custom events interactivity option
|
|
121
|
-
* @default null
|
|
122
|
-
*/
|
|
123
|
-
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
124
|
-
/**
|
|
125
|
-
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
126
|
-
* @default null
|
|
127
|
-
*/
|
|
128
|
-
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
129
|
-
/**
|
|
130
|
-
* Export types interactivity option
|
|
131
|
-
* @default ["xlsx", "csv", "xlsx-raw", "csv-raw", "png"]
|
|
132
|
-
*/
|
|
133
|
-
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
134
|
-
/**
|
|
135
|
-
* An array of measure dimension picker configurations
|
|
136
|
-
* @default [[]]
|
|
137
|
-
*/
|
|
138
|
-
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
139
|
-
/**
|
|
140
|
-
* Filter on select interactivity option
|
|
141
|
-
* @default false
|
|
142
|
-
*/
|
|
143
|
-
select?: NonNullable<NonNullable<InteractivityFilterOnSelectViewOptions['interactivity']>['select']>;
|
|
144
|
-
/**
|
|
145
|
-
* Go to URL interactivity option
|
|
146
|
-
* @default { "target": "_blank", "url": null }
|
|
147
|
-
*/
|
|
148
|
-
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
export type PivotTableRowAxis = 'rows';
|
|
152
|
-
export type PivotTableColumnAxis = 'columns';
|
|
153
|
-
export type PivotTableRowSortsMap = Record<string, SortDirection>;
|
|
154
|
-
export interface PivotTableMeasureSort {
|
|
155
|
-
axisDataItemKey: string;
|
|
156
|
-
axisSlotColumnId: string;
|
|
157
|
-
measureSlotColumnId: string;
|
|
158
|
-
direction: SortDirection;
|
|
159
|
-
}
|
|
160
|
-
export interface PivotTableBorders {
|
|
161
|
-
/**
|
|
162
|
-
* Type of the border
|
|
163
|
-
* @default "none"
|
|
164
|
-
*/
|
|
165
|
-
type: 'all' | 'rows' | 'columns' | 'none';
|
|
166
|
-
/**
|
|
167
|
-
* Width of the border
|
|
168
|
-
* @default 1
|
|
169
|
-
*/
|
|
170
|
-
width: number;
|
|
171
|
-
/**
|
|
172
|
-
* Color of the border
|
|
173
|
-
* @default "#a5a5a5"
|
|
174
|
-
*/
|
|
175
|
-
color: string;
|
|
176
|
-
}
|
|
177
|
-
export interface PivotTableColumnOptions {
|
|
178
|
-
colorScheme?: string;
|
|
179
|
-
nbColors?: number;
|
|
180
|
-
classification?: 'continuous' | 'interval' | 'quantiles' | 'manual' | 'manualPerc';
|
|
181
|
-
mode?: 'normal' | 'conditionalText' | 'conditionalBackground' | 'conditionalBadge';
|
|
182
|
-
colorEmpty?: boolean;
|
|
183
|
-
emptyValueColor?: string;
|
|
184
|
-
hideDataValues?: boolean;
|
|
185
|
-
id?: string;
|
|
186
|
-
conditional?: ManualValuesRange[];
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* Stores expand state for each slot axis item (column or row)
|
|
190
|
-
* axisDataItem key -> isExpanded
|
|
191
|
-
*/
|
|
192
|
-
export interface PivotTableItemExpandState {
|
|
193
|
-
[axisDataItemKey: string]: true;
|
|
194
|
-
}
|
|
195
|
-
export type PivotTableAxis = PivotTableRowAxis | PivotTableColumnAxis;
|
|
196
|
-
/**
|
|
197
|
-
* Alignment of the text: left, center or right
|
|
198
|
-
*/
|
|
199
|
-
export type PivotTableTextAlign = 'left' | 'center' | 'right';
|
|
200
|
-
export type PivotTableLimitViewOptions = LimitViewOptions & {
|
|
201
|
-
limit: {
|
|
202
|
-
rows?: number;
|
|
203
|
-
columns?: number;
|
|
204
|
-
};
|
|
205
|
-
};
|
|
206
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Row slot of the pivot table. This defines the rows of the pivot table. A pivot table can contain any number of rows.
|
|
4
|
-
*/
|
|
5
|
-
interface RowSlot extends DashboardContentVizItemSlot {
|
|
6
|
-
name: 'row';
|
|
7
|
-
/**
|
|
8
|
-
* Row slot definition
|
|
9
|
-
*/
|
|
10
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Column slot of the pivot table. This defines the columns of the pivot table. A pivot table can contain any number of columns.
|
|
14
|
-
*/
|
|
15
|
-
interface ColumnSlot extends DashboardContentVizItemSlot {
|
|
16
|
-
name: 'column';
|
|
17
|
-
/**
|
|
18
|
-
* Column slot definition
|
|
19
|
-
*/
|
|
20
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Measure slot of the pivot table. A pivot table can contain any number of measure.
|
|
24
|
-
*/
|
|
25
|
-
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
26
|
-
name: 'measure';
|
|
27
|
-
/**
|
|
28
|
-
* Measure slot definition
|
|
29
|
-
*/
|
|
30
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Data definition of the Pivot table
|
|
34
|
-
* @maxItems 3
|
|
35
|
-
*/
|
|
36
|
-
export type PivotTableSlots = (RowSlot | ColumnSlot | MeasureSlot)[];
|
|
37
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { PivotTableViewOptions } from './pivot-table-options';
|
|
3
|
-
import { PivotTableSlots } from './pivot-table-slots';
|
|
4
|
-
/**
|
|
5
|
-
* Pivot table item
|
|
6
|
-
*/
|
|
7
|
-
export interface PivotTable {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'pivot-table'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the Pivot table item
|
|
14
|
-
* @$ref ./pivot-table-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: PivotTableViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the Pivot table chart
|
|
19
|
-
* @maxItems 3
|
|
20
|
-
* @$ref ./pivot-table-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: PivotTableSlots;
|
|
23
|
-
}
|