@luzmo/embed 6.1.2-beta.2 → 6.1.2-beta.4
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 +31 -0
- package/index.cjs +6420 -5112
- package/index.d.ts +3 -3
- package/index.js +6418 -5110
- package/lib/{ai-component/luzmo-ai-answer.d.ts → luzmo-iq-components/luzmo-iq-answer.d.ts} +3 -3
- package/{src/lib/ai-component/luzmo-ai-chat.d.ts → lib/luzmo-iq-components/luzmo-iq-chat.d.ts} +2 -2
- package/lib/viz-item/viz-item.base.d.ts +3 -4
- package/luzmo-embed.min.js +32177 -37610
- package/package.json +3 -5
- package/src/index.d.ts +3 -3
- package/src/lib/{ai-component/luzmo-ai-answer.d.ts → luzmo-iq-components/luzmo-iq-answer.d.ts} +3 -3
- package/{lib/ai-component/luzmo-ai-chat.d.ts → src/lib/luzmo-iq-components/luzmo-iq-chat.d.ts} +2 -2
- package/src/lib/viz-item/viz-item.base.d.ts +3 -4
- package/libs/dashboard-contents-types/index.d.ts +0 -2
- package/libs/dashboard-contents-types/json-schemas.d.ts +0 -42178
- 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 -122
- 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 -316
- 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 -7
- package/libs/embed-libs/embed/src/lib/ai-component/luzmo-ai-answer.d.ts +0 -23
- package/libs/embed-libs/embed/src/lib/ai-component/luzmo-ai-chat.d.ts +0 -24
- 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 -73
- package/libs/embed-libs/shared-embed/src/index.common.d.ts +0 -34
- 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/ai-components.model.d.ts +0 -135
- 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,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { BarChartViewOptions } from './bar-chart-options';
|
|
3
|
-
import { BarChartSlots } from './bar-chart.slots';
|
|
4
|
-
/**
|
|
5
|
-
* Bar chart item
|
|
6
|
-
*/
|
|
7
|
-
export interface BarChart {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'bar-chart'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the bar chart item
|
|
14
|
-
* @$ref ./bar-chart-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: BarChartViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the Bar chart
|
|
19
|
-
* @maxItems 3
|
|
20
|
-
* @$ref ./bar-chart-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: BarChartSlots;
|
|
23
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Measure slot definition of the bar chart. A bar chart can contain any number of measures but if it contains 2 or more measures, the measures become the legend.
|
|
4
|
-
*/
|
|
5
|
-
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
6
|
-
name: 'measure';
|
|
7
|
-
/**
|
|
8
|
-
* Measure slot definition
|
|
9
|
-
*/
|
|
10
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Category slot definition of the bar chart. This defines the bars on the Y-axis.
|
|
14
|
-
*/
|
|
15
|
-
interface YAxisSlot extends DashboardContentVizItemSlot {
|
|
16
|
-
name: 'y-axis';
|
|
17
|
-
/**
|
|
18
|
-
* Y-axis slot definition
|
|
19
|
-
* @maxItems 1
|
|
20
|
-
*/
|
|
21
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Legend slot definition of the bar chart. This defines the legend of the bar chart. If 2 measures are used, the legend cannot be used.
|
|
25
|
-
*/
|
|
26
|
-
interface LegendSlot extends DashboardContentVizItemSlot {
|
|
27
|
-
name: 'legend';
|
|
28
|
-
/**
|
|
29
|
-
* Legend slot definition
|
|
30
|
-
* @maxItems 1
|
|
31
|
-
*/
|
|
32
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Data definition of the Bar chart
|
|
36
|
-
* @maxItems 3
|
|
37
|
-
*/
|
|
38
|
-
export type BarChartSlots = (MeasureSlot | YAxisSlot | LegendSlot)[];
|
|
39
|
-
export {};
|
|
@@ -1,310 +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, LimitViewOptions } from '../shared/common';
|
|
5
|
-
import { FilterableByViewOptions, FilterViewOptions } from '../shared/filters';
|
|
6
|
-
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
7
|
-
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
8
|
-
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
9
|
-
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
10
|
-
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
11
|
-
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
12
|
-
import { ManualValuesRange } from '../shared/ranges';
|
|
13
|
-
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
14
|
-
export interface BoxPlotViewOptions extends Omit<AxisObjectViewOptions, 'interactivity'>, TitleViewOptions, DisplayTitleViewOptions, FilterViewOptions, FilterableByViewOptions, InfoTooltipViewOptions, LimitViewOptions, BoxPlotInteractivity {
|
|
15
|
-
/**
|
|
16
|
-
* Grid options
|
|
17
|
-
*/
|
|
18
|
-
grid?: {
|
|
19
|
-
/**
|
|
20
|
-
* X-axis grid options
|
|
21
|
-
*/
|
|
22
|
-
x?: {
|
|
23
|
-
/**
|
|
24
|
-
* Show or hide the X-axis grid
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
enabled: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Style of the X-axis grid, can be solid, dashed or dotted
|
|
30
|
-
*/
|
|
31
|
-
style?: AxisGridlinesStyle;
|
|
32
|
-
/**
|
|
33
|
-
* Opacity of the X-axis grid
|
|
34
|
-
* @examples [1, 0.5, 0.1]
|
|
35
|
-
*/
|
|
36
|
-
opacity?: number;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Y-axis grid options
|
|
40
|
-
*/
|
|
41
|
-
y?: {
|
|
42
|
-
/**
|
|
43
|
-
* Show or hide the Y-axis grid
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
enabled: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Style of the Y-axis grid, can be solid, dashed or dotted
|
|
49
|
-
*/
|
|
50
|
-
style?: AxisGridlinesStyle;
|
|
51
|
-
/**
|
|
52
|
-
* Opacity of the Y-axis grid
|
|
53
|
-
* @examples [1, 0.5, 0.1]
|
|
54
|
-
*/
|
|
55
|
-
opacity?: number;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Axes labels options
|
|
60
|
-
*/
|
|
61
|
-
axislabels?: {
|
|
62
|
-
/**
|
|
63
|
-
* X-axis label options
|
|
64
|
-
*/
|
|
65
|
-
x?: {
|
|
66
|
-
/**
|
|
67
|
-
* Show or hide the X-axis labels
|
|
68
|
-
* @default false
|
|
69
|
-
*/
|
|
70
|
-
enabled: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* @default "center"
|
|
73
|
-
*/
|
|
74
|
-
position: XAxisLabelPosition;
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Y-axis label options
|
|
78
|
-
*/
|
|
79
|
-
y?: {
|
|
80
|
-
/**
|
|
81
|
-
* Show or hide the Y-axis labels
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
enabled: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* @default "middle"
|
|
87
|
-
*/
|
|
88
|
-
position: YAxisLabelPosition;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
/**
|
|
92
|
-
* Axes options
|
|
93
|
-
*/
|
|
94
|
-
axis?: {
|
|
95
|
-
/**
|
|
96
|
-
* X-axis options
|
|
97
|
-
*/
|
|
98
|
-
x?: {
|
|
99
|
-
/**
|
|
100
|
-
* X-axis color
|
|
101
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
102
|
-
*/
|
|
103
|
-
color?: string;
|
|
104
|
-
/**
|
|
105
|
-
* @default "ticks"
|
|
106
|
-
*/
|
|
107
|
-
ticksMode?: AxisTicksMode;
|
|
108
|
-
/**
|
|
109
|
-
* @default "linear"
|
|
110
|
-
*/
|
|
111
|
-
scale?: AxisScaleType;
|
|
112
|
-
/**
|
|
113
|
-
* Logarithmic base of the X-axis
|
|
114
|
-
*/
|
|
115
|
-
scaleLogBase?: number;
|
|
116
|
-
/**
|
|
117
|
-
* Density of the ticks
|
|
118
|
-
*/
|
|
119
|
-
ticksDensity?: AxisTicksDensity;
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* Y-axis options
|
|
123
|
-
*/
|
|
124
|
-
y?: {
|
|
125
|
-
/**
|
|
126
|
-
* Y-axis color
|
|
127
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
128
|
-
*/
|
|
129
|
-
color?: string;
|
|
130
|
-
/**
|
|
131
|
-
* @default "ticks"
|
|
132
|
-
*/
|
|
133
|
-
ticksMode?: AxisTicksMode;
|
|
134
|
-
/**
|
|
135
|
-
* @default "linear"
|
|
136
|
-
*/
|
|
137
|
-
scale?: AxisScaleType;
|
|
138
|
-
/**
|
|
139
|
-
* Base of the logarithmic scale. Only applies if the scale is logarithmic.
|
|
140
|
-
* @examples [2, 10]
|
|
141
|
-
*/
|
|
142
|
-
scaleLogBase?: number;
|
|
143
|
-
/**
|
|
144
|
-
* Density of the ticks
|
|
145
|
-
*/
|
|
146
|
-
ticksDensity?: AxisTicksDensity;
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
/**
|
|
150
|
-
* Is the box plot horizontal
|
|
151
|
-
* @default false
|
|
152
|
-
*/
|
|
153
|
-
horizontal?: boolean;
|
|
154
|
-
/**
|
|
155
|
-
* Box width
|
|
156
|
-
* @default 0.9
|
|
157
|
-
*/
|
|
158
|
-
boxWidth?: number;
|
|
159
|
-
/**
|
|
160
|
-
* Box fill
|
|
161
|
-
*/
|
|
162
|
-
boxFill?: string;
|
|
163
|
-
/**
|
|
164
|
-
* Box fill by category
|
|
165
|
-
* @default false
|
|
166
|
-
*/
|
|
167
|
-
boxFillByCategory?: boolean;
|
|
168
|
-
/**
|
|
169
|
-
* Box stroke width
|
|
170
|
-
* @default 1
|
|
171
|
-
*/
|
|
172
|
-
boxStrokeWidth?: number;
|
|
173
|
-
/**
|
|
174
|
-
* Box stroke color
|
|
175
|
-
*/
|
|
176
|
-
boxStrokeColor?: string;
|
|
177
|
-
/**
|
|
178
|
-
* Rounded corners size
|
|
179
|
-
* @default null
|
|
180
|
-
*/
|
|
181
|
-
roundedCorners?: number;
|
|
182
|
-
/**
|
|
183
|
-
* Median stroke width
|
|
184
|
-
* @default 2
|
|
185
|
-
*/
|
|
186
|
-
medianStrokeWidth?: number;
|
|
187
|
-
/**
|
|
188
|
-
* Median stroke color
|
|
189
|
-
* @default "#000000"
|
|
190
|
-
*/
|
|
191
|
-
medianStrokeColor?: string;
|
|
192
|
-
/**
|
|
193
|
-
* Extent ticks visibility
|
|
194
|
-
* @default true
|
|
195
|
-
*/
|
|
196
|
-
extentTicks?: boolean;
|
|
197
|
-
/**
|
|
198
|
-
* Measure axis type
|
|
199
|
-
* @default "variable"
|
|
200
|
-
*/
|
|
201
|
-
measureAxisType?: 'default' | 'variable' | 'manual';
|
|
202
|
-
/**
|
|
203
|
-
* Observations options
|
|
204
|
-
*/
|
|
205
|
-
observations?: {
|
|
206
|
-
/**
|
|
207
|
-
* Display or hide the observations
|
|
208
|
-
* @default false
|
|
209
|
-
*/
|
|
210
|
-
display?: boolean;
|
|
211
|
-
/**
|
|
212
|
-
* Only show the outliers
|
|
213
|
-
* @default false
|
|
214
|
-
*/
|
|
215
|
-
onlyOutliers?: boolean;
|
|
216
|
-
/**
|
|
217
|
-
* Observations type
|
|
218
|
-
* @default "dot"
|
|
219
|
-
*/
|
|
220
|
-
type?: 'dot' | 'ticks';
|
|
221
|
-
/**
|
|
222
|
-
* Observations size
|
|
223
|
-
* @default 3
|
|
224
|
-
*/
|
|
225
|
-
size?: number;
|
|
226
|
-
/**
|
|
227
|
-
* Observations color type
|
|
228
|
-
* @default "single"
|
|
229
|
-
*/
|
|
230
|
-
colorType?: 'single' | 'range';
|
|
231
|
-
/**
|
|
232
|
-
* Observations opacity
|
|
233
|
-
* @default 0.4
|
|
234
|
-
*/
|
|
235
|
-
opacity?: number;
|
|
236
|
-
/**
|
|
237
|
-
* Observations jitter
|
|
238
|
-
* @default 30
|
|
239
|
-
*/
|
|
240
|
-
jitter?: number;
|
|
241
|
-
/**
|
|
242
|
-
* Observations number classes
|
|
243
|
-
* @default 5
|
|
244
|
-
*/
|
|
245
|
-
numberClasses?: number;
|
|
246
|
-
/**
|
|
247
|
-
* Observations colors type
|
|
248
|
-
* @default "divergent"
|
|
249
|
-
*/
|
|
250
|
-
colorsType?: 'divergent' | 'sequential' | 'manual';
|
|
251
|
-
/**
|
|
252
|
-
* Observations colors class
|
|
253
|
-
* @default "Spectral"
|
|
254
|
-
*/
|
|
255
|
-
colorsClass?: string;
|
|
256
|
-
/**
|
|
257
|
-
* Observations color
|
|
258
|
-
*/
|
|
259
|
-
color?: string;
|
|
260
|
-
/**
|
|
261
|
-
* Observations manual values
|
|
262
|
-
*/
|
|
263
|
-
manualValues?: {
|
|
264
|
-
ranges?: ManualValuesRange[];
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
manualAxisRange?: ManualAxesRange;
|
|
268
|
-
}
|
|
269
|
-
export interface BoxPlotInteractivity extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
|
|
270
|
-
/**
|
|
271
|
-
* Interactivity options
|
|
272
|
-
*/
|
|
273
|
-
interactivity?: {
|
|
274
|
-
/**
|
|
275
|
-
* Available export types interactivity option
|
|
276
|
-
* @default ["xlsx", "csv", "png"]
|
|
277
|
-
*/
|
|
278
|
-
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
279
|
-
/**
|
|
280
|
-
* Filter on brush interactivity option
|
|
281
|
-
* @default false
|
|
282
|
-
*/
|
|
283
|
-
brush?: NonNullable<NonNullable<InteractivityBrushViewOptions['interactivity']>['brush']>;
|
|
284
|
-
/**
|
|
285
|
-
* Custom events interactivity option
|
|
286
|
-
* @default null
|
|
287
|
-
*/
|
|
288
|
-
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
289
|
-
/**
|
|
290
|
-
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
291
|
-
* @default null
|
|
292
|
-
*/
|
|
293
|
-
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
294
|
-
/**
|
|
295
|
-
* Export types interactivity option
|
|
296
|
-
* @default ["xlsx", "csv", "png"]
|
|
297
|
-
*/
|
|
298
|
-
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
299
|
-
/**
|
|
300
|
-
* An array of measure dimension picker configurations
|
|
301
|
-
* @default [[]]
|
|
302
|
-
*/
|
|
303
|
-
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
304
|
-
/**
|
|
305
|
-
* Go to URL interactivity option
|
|
306
|
-
* @default { "target": "_blank", "url": null }
|
|
307
|
-
*/
|
|
308
|
-
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
309
|
-
};
|
|
310
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Measure slot definition of the Box plot. This is a required slot.
|
|
4
|
-
* A Box plot measure slot can accept only numeric type columns.
|
|
5
|
-
*/
|
|
6
|
-
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
7
|
-
name: 'measure';
|
|
8
|
-
/**
|
|
9
|
-
* Measure slot definition
|
|
10
|
-
* @maxItems 1
|
|
11
|
-
*/
|
|
12
|
-
content: NumericSlotContent[];
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Category slot definition of the Box plot. This is a required slot.
|
|
16
|
-
*/
|
|
17
|
-
interface CategorySlot extends DashboardContentVizItemSlot {
|
|
18
|
-
name: 'category';
|
|
19
|
-
/**
|
|
20
|
-
* Category slot definition
|
|
21
|
-
* @maxItems 1
|
|
22
|
-
*/
|
|
23
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Data definition of the Box plot
|
|
27
|
-
* @maxItems 2
|
|
28
|
-
*/
|
|
29
|
-
export type BoxPlotSlots = (MeasureSlot | CategorySlot)[];
|
|
30
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { BoxPlotViewOptions } from './box-plot-options';
|
|
3
|
-
import { BoxPlotSlots } from './box-plot-slots';
|
|
4
|
-
/**
|
|
5
|
-
* Box plot item
|
|
6
|
-
*/
|
|
7
|
-
export interface BoxPlot {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'box-plot'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the Box plot item
|
|
14
|
-
* @$ref ./box-plot-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: BoxPlotViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the Box plot
|
|
19
|
-
* @maxItems 2
|
|
20
|
-
* @$ref ./box-plot-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: BoxPlotSlots;
|
|
23
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { InteractivityFilterOnSelectViewOptions } from '../shared';
|
|
2
|
-
import { AxisObjectViewOptions } from '../shared/axis-view-options';
|
|
3
|
-
import type { LimitViewOptions } from '../shared/common';
|
|
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 { InteractivityDrilldownViewOptions } from '../shared/interactivity-drilldown';
|
|
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 { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';
|
|
12
|
-
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
13
|
-
export interface BubbleChartViewOptions extends Omit<AxisObjectViewOptions, 'display' | 'interactivity'>, InfoTooltipViewOptions, LegendViewOptions, TitleViewOptions, LimitViewOptions, BubbleChartDisplayViewOptions, BubbleChartInteractivityViewOptions {
|
|
14
|
-
/**
|
|
15
|
-
* Categories options
|
|
16
|
-
*/
|
|
17
|
-
categories?: {
|
|
18
|
-
/**
|
|
19
|
-
* Toggle colored categories
|
|
20
|
-
* @default true
|
|
21
|
-
*/
|
|
22
|
-
colored: boolean;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
interface BubbleChartDisplayViewOptions extends DisplayLegendViewOptions, DisplayTitleViewOptions {
|
|
26
|
-
/**
|
|
27
|
-
* General display options of the Bubble chart: title, legend, bubbleLabels and bubbleValues
|
|
28
|
-
*/
|
|
29
|
-
display: {
|
|
30
|
-
/**
|
|
31
|
-
* Show or hide the title
|
|
32
|
-
* @default true
|
|
33
|
-
*/
|
|
34
|
-
title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
|
|
35
|
-
/**
|
|
36
|
-
* Show or hide the legend
|
|
37
|
-
* @default true
|
|
38
|
-
*/
|
|
39
|
-
legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
|
|
40
|
-
/**
|
|
41
|
-
* Show or hide the bubble labels
|
|
42
|
-
* @default true
|
|
43
|
-
*/
|
|
44
|
-
bubbleLabels?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Show values of bubble in the bubble: none, percentage, absolute
|
|
47
|
-
* @default none
|
|
48
|
-
*/
|
|
49
|
-
bubbleValues?: 'none' | 'percentage' | 'absolute';
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
interface BubbleChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityGoToUrlViewOptions {
|
|
53
|
-
/**
|
|
54
|
-
* Interactivity options
|
|
55
|
-
*/
|
|
56
|
-
interactivity?: {
|
|
57
|
-
/**
|
|
58
|
-
* Available export types interactivity option
|
|
59
|
-
* @default ["xlsx", "csv", "png"]
|
|
60
|
-
*/
|
|
61
|
-
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
62
|
-
/**
|
|
63
|
-
* Custom events interactivity option
|
|
64
|
-
* @default null
|
|
65
|
-
*/
|
|
66
|
-
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
67
|
-
/**
|
|
68
|
-
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
69
|
-
* @default null
|
|
70
|
-
*/
|
|
71
|
-
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
72
|
-
/**
|
|
73
|
-
* Drilldown interactivity option
|
|
74
|
-
*/
|
|
75
|
-
drilldown?: NonNullable<NonNullable<InteractivityDrilldownViewOptions['interactivity']>['drilldown']>;
|
|
76
|
-
/**
|
|
77
|
-
* Export types interactivity option
|
|
78
|
-
* @default ["xlsx", "csv", "png"]
|
|
79
|
-
*/
|
|
80
|
-
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
81
|
-
/**
|
|
82
|
-
* An array of measure dimension picker configurations
|
|
83
|
-
* @default [[]]
|
|
84
|
-
*/
|
|
85
|
-
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
86
|
-
/**
|
|
87
|
-
* Filter on select interactivity option
|
|
88
|
-
* @default true
|
|
89
|
-
*/
|
|
90
|
-
select?: NonNullable<NonNullable<InteractivityFilterOnSelectViewOptions['interactivity']>['select']>;
|
|
91
|
-
/**
|
|
92
|
-
* Go to URL interactivity option
|
|
93
|
-
* @default { "target": "_blank", "url": null }
|
|
94
|
-
*/
|
|
95
|
-
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Measure slot definition of the bubble chart.
|
|
4
|
-
*/
|
|
5
|
-
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
6
|
-
name: 'measure';
|
|
7
|
-
/**
|
|
8
|
-
* Measure slot definition
|
|
9
|
-
* @maxItems 1
|
|
10
|
-
*/
|
|
11
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Category slot definition of the bubble chart. This defines the category of the bubbles.
|
|
15
|
-
* This is a required slot
|
|
16
|
-
*/
|
|
17
|
-
interface CategorySlot extends DashboardContentVizItemSlot {
|
|
18
|
-
name: 'category';
|
|
19
|
-
/**
|
|
20
|
-
* Color slot definition
|
|
21
|
-
* @maxItems 1
|
|
22
|
-
*/
|
|
23
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Color slot definition of the bubble chart. This defines the colors of the bubble in the chart.
|
|
27
|
-
*/
|
|
28
|
-
interface ColorSlot extends DashboardContentVizItemSlot {
|
|
29
|
-
name: 'color';
|
|
30
|
-
/**
|
|
31
|
-
* Color slot definition
|
|
32
|
-
* @maxItems 1
|
|
33
|
-
*/
|
|
34
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Data definition of the Bubble chart
|
|
38
|
-
* @maxItems 3
|
|
39
|
-
*/
|
|
40
|
-
export type BubbleChartSlots = (MeasureSlot | CategorySlot | ColorSlot)[];
|
|
41
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { BubbleChartViewOptions } from './bubble-chart-options';
|
|
3
|
-
import { BubbleChartSlots } from './bubble-chart-slots';
|
|
4
|
-
/**
|
|
5
|
-
* Bubble chart item
|
|
6
|
-
*/
|
|
7
|
-
export interface BubbleChart {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'bubble-chart'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the bubble chart item
|
|
14
|
-
* @$ref ./bubble-chart-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: BubbleChartViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the Bubble chart
|
|
19
|
-
* @maxItems 3
|
|
20
|
-
* @$ref ./bubble-chart-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: BubbleChartSlots;
|
|
23
|
-
}
|