@sisense/sdk-ui 1.2.0 → 1.4.0
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/dist/ai/ai-context-provider.d.ts +32 -0
- package/dist/ai/api/chat-api-provider.d.ts +17 -0
- package/dist/ai/api/chat-rest-api.d.ts +3 -1
- package/dist/ai/api/errors.d.ts +1 -0
- package/dist/ai/api/hooks.d.ts +10 -49
- package/dist/ai/api/types.d.ts +16 -27
- package/dist/ai/buttons/thumbs-down-button.d.ts +6 -0
- package/dist/ai/buttons/thumbs-up-button.d.ts +6 -0
- package/dist/ai/chat-box.d.ts +3 -3
- package/dist/ai/chat-config.d.ts +28 -0
- package/dist/ai/chat-home.d.ts +5 -1
- package/dist/ai/chat-router.d.ts +2 -0
- package/dist/ai/chatbot.d.ts +26 -4
- package/dist/ai/common/tooltip.d.ts +5 -0
- package/dist/ai/error-page.d.ts +10 -0
- package/dist/ai/get-nlg-query-result.d.ts +78 -0
- package/dist/ai/icons/thumbs-down-hovered-icon.d.ts +2 -0
- package/dist/ai/icons/thumbs-down-icon.d.ts +2 -0
- package/dist/ai/icons/thumbs-up-hovered-icon.d.ts +2 -0
- package/dist/ai/icons/thumbs-up-icon.d.ts +2 -0
- package/dist/ai/index.d.ts +6 -3
- package/dist/ai/loading-page.d.ts +2 -0
- package/dist/ai/messages/clear-history-success-message.d.ts +2 -0
- package/dist/ai/messages/feedback-wrapper.d.ts +9 -0
- package/dist/ai/messages/get-widget-options.d.ts +2 -1
- package/dist/ai/messages/message-resolver.d.ts +1 -2
- package/dist/ai/messages/text-message.d.ts +1 -1
- package/dist/ai/toolbar.d.ts +2 -2
- package/dist/ai/use-chat-session.d.ts +1 -1
- package/dist/ai/use-get-nlg-query-result.d.ts +103 -0
- package/dist/ai/use-get-query-recommendations.d.ts +67 -0
- package/dist/ai.js +1866 -1518
- package/dist/api/types/dashboard-dto.d.ts +4 -1
- package/dist/app/client-application.d.ts +6 -1
- package/dist/{chart.d.ts → chart/chart.d.ts} +1 -1
- package/dist/chart/helpers/use-synced-data.d.ts +8 -0
- package/dist/chart/helpers/use-translated-data-options.d.ts +7 -0
- package/dist/chart/index.d.ts +1 -0
- package/dist/chart-data/types.d.ts +5 -4
- package/dist/chart-data-options/translate-data-options.d.ts +5 -1
- package/dist/chart-data-options/types.d.ts +107 -12
- package/dist/chart-options-processor/apply-event-handlers.d.ts +5 -28
- package/dist/chart-options-processor/boxplot-chart-options.d.ts +2 -2
- package/dist/chart-options-processor/category-chart-options.d.ts +1 -1
- package/dist/chart-options-processor/chart-options-service.d.ts +7 -0
- package/dist/chart-options-processor/plot-bands.d.ts +2 -2
- package/dist/chart-options-processor/scatter-chart-options.d.ts +2 -2
- package/dist/chart-options-processor/style-to-design-options-translator/index.d.ts +1 -0
- package/dist/chart-options-processor/style-to-design-options-translator/prepare-design-options.d.ts +4 -0
- package/dist/chart-options-processor/style-to-design-options-translator/translate-style-to-design-options.d.ts +2 -2
- package/dist/chart-options-processor/translations/base-design-options.d.ts +3 -3
- package/dist/chart-options-processor/translations/boxplot/boxplot-plot-options.d.ts +2 -2
- package/dist/chart-options-processor/translations/design-options.d.ts +4 -2
- package/dist/chart-options-processor/translations/number-format-config.d.ts +10 -16
- package/dist/chart-options-processor/translations/translations-to-highcharts.d.ts +4 -4
- package/dist/chart-options-processor/translations/types.d.ts +18 -6
- package/dist/chart-options-processor/translations/value-label-section.d.ts +9 -4
- package/dist/charts/indicator/indicator-legacy-chart-options/indicator-legacy-chart-options.d.ts +3 -0
- package/dist/charts/indicator/indicator-legacy-chart-options/prepare-ticker-options.d.ts +2 -0
- package/dist/charts/indicator/types.d.ts +2 -0
- package/dist/charts/map-charts/areamap/areamap-map.d.ts +2 -1
- package/dist/charts/map-charts/areamap/areamap.d.ts +6 -4
- package/dist/charts/map-charts/areamap/use-geo-json.d.ts +1 -1
- package/dist/charts/map-charts/scattermap/scattermap.d.ts +11 -5
- package/dist/charts/map-charts/scattermap/utils/location.d.ts +3 -0
- package/dist/charts/map-charts/scattermap/utils/markers.d.ts +4 -14
- package/dist/charts/table/helpers/calc-column-widths.d.ts +3 -1
- package/dist/common/components/loading-overlay.d.ts +14 -0
- package/dist/common/hooks/data-load-state-reducer.d.ts +10 -0
- package/dist/common/hooks/use-hover.d.ts +8 -0
- package/dist/common/icons/yellow-exclamation-mark-icon.d.ts +2 -0
- package/dist/dashboard-widget/translate-widget-data-options.d.ts +1 -1
- package/dist/dashboard-widget/translate-widget-filters.d.ts +1 -1
- package/dist/dashboard-widget/types.d.ts +1 -0
- package/dist/dashboard-widget/use-fetch-widget-dto-model.d.ts +3 -0
- package/dist/dashboard-widget/utils.d.ts +26 -1
- package/dist/decorators/hook-decorators/with-tracking.d.ts +11 -0
- package/dist/filters/components/common/checkbox.d.ts +1 -0
- package/dist/formulas/fetch-formula.d.ts +2 -0
- package/dist/formulas/index.d.ts +1 -0
- package/dist/formulas/use-get-shared-formula.d.ts +5 -0
- package/dist/index.d.ts +5 -4
- package/dist/index.js +35370 -11599
- package/dist/indicator-canvas.d.ts +2 -2
- package/dist/models/dashboard/use-get-dashboard-model.d.ts +8 -0
- package/dist/models/dashboard/use-get-dashboard-models.d.ts +6 -0
- package/dist/models/widget/widget-model.d.ts +2 -2
- package/dist/pivot-table/index.d.ts +1 -0
- package/dist/pivot-table/pivot-table.d.ts +42 -0
- package/dist/pivot-table/use-get-pivot-table-query.d.ts +14 -0
- package/dist/props.d.ts +209 -52
- package/dist/query-execution/query-state-reducer.d.ts +1 -0
- package/dist/query-execution/types.d.ts +3 -3
- package/dist/query-execution/use-execute-query-by-widget-id.d.ts +2 -5
- package/dist/sisense-chart/index.d.ts +2 -0
- package/dist/sisense-chart/sisense-chart.d.ts +23 -0
- package/dist/sisense-chart/types.d.ts +5 -0
- package/dist/table/hooks/use-table-data.d.ts +2 -2
- package/dist/translation/resources/en.d.ts +1 -0
- package/dist/translation/resources/index.d.ts +2 -0
- package/dist/types.d.ts +126 -14
- package/dist/utils/filters-comparator.d.ts +2 -2
- package/dist/utils/utility-types.d.ts +12 -0
- package/dist/widgets/common/custom-drilldown.d.ts +1 -1
- package/dist/widgets/common/drilldown-breadcrumbs/styled-buttons.d.ts +2 -2
- package/dist/widgets/common/drilldown.d.ts +4 -2
- package/dist/{table-widget-65f3e04e.js → with-tracking-b583e949.js} +40958 -40712
- package/package.json +13 -13
- package/dist/ai/api/chat-api-context.d.ts +0 -12
- package/dist/ai/chatbot-context.d.ts +0 -11
- package/dist/ai/nlg-query-result.d.ts +0 -20
- package/dist/dashboard-widget/translate-widget.d.ts +0 -12
- package/dist/query-execution/utils.d.ts +0 -9
- package/dist/sisense-chart.d.ts +0 -23
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { WidgetDto, Datasource } from '../../dashboard-widget/types';
|
|
2
|
-
import { FilterJaql } from '@sisense/sdk-data';
|
|
2
|
+
import { FilterJaql, FilterRelationsModel } from '@sisense/sdk-data';
|
|
3
3
|
import { AnyObject } from '../../utils/utility-types';
|
|
4
4
|
export type Filter = {
|
|
5
5
|
isCascading?: false;
|
|
@@ -19,4 +19,7 @@ export type DashboardDto = {
|
|
|
19
19
|
datasource: Datasource;
|
|
20
20
|
widgets?: WidgetDto[];
|
|
21
21
|
filters?: Array<Filter | CascadingFilter>;
|
|
22
|
+
filterRelations?: {
|
|
23
|
+
filterRelations: FilterRelationsModel;
|
|
24
|
+
}[];
|
|
22
25
|
} & AnyObject;
|
|
@@ -5,6 +5,7 @@ import { SisenseContextProviderProps } from '../props';
|
|
|
5
5
|
import { DateConfig } from '../query/date-formats';
|
|
6
6
|
import { AppSettings } from './settings/settings';
|
|
7
7
|
import { PivotClient } from '@sisense/sdk-pivot-client';
|
|
8
|
+
import { LoadingIndicatorConfig } from '../types';
|
|
8
9
|
/**
|
|
9
10
|
* Application configuration
|
|
10
11
|
*/
|
|
@@ -23,6 +24,10 @@ export type AppConfig = {
|
|
|
23
24
|
* Date Configurations
|
|
24
25
|
*/
|
|
25
26
|
dateConfig?: DateConfig;
|
|
27
|
+
/**
|
|
28
|
+
* Loading Indicator Configurations
|
|
29
|
+
*/
|
|
30
|
+
loadingIndicatorConfig?: LoadingIndicatorConfig;
|
|
26
31
|
};
|
|
27
32
|
/**
|
|
28
33
|
* Stands for a Sisense Client Application which connects to a Sisense Environment
|
|
@@ -60,4 +65,4 @@ export declare class ClientApplication {
|
|
|
60
65
|
constructor(url: string, auth: Authenticator, defaultDataSource?: DataSource);
|
|
61
66
|
}
|
|
62
67
|
/** @internal */
|
|
63
|
-
export declare const createClientApplication: ({ defaultDataSource, url, token, wat, ssoEnabled, appConfig, }: SisenseContextProviderProps) => Promise<ClientApplication>;
|
|
68
|
+
export declare const createClientApplication: ({ defaultDataSource, url, token, wat, ssoEnabled, appConfig, enableSilentPreAuth, }: SisenseContextProviderProps) => Promise<ClientApplication>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ChartProps } from '
|
|
2
|
+
import { ChartProps } from '../props';
|
|
3
3
|
/** Function to check if we should wait for sisense context for rendering the chart */
|
|
4
4
|
export declare const shouldSkipSisenseContextWaiting: (props: ChartProps) => boolean;
|
|
5
5
|
/**
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Attribute, Data, DataSource, Filter, FilterRelations, Measure } from '@sisense/sdk-data';
|
|
2
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
+
import { ChartDataOptionsInternal } from '../../chart-data-options/types';
|
|
4
|
+
import { ChartType } from '../../types';
|
|
5
|
+
import { DataColumnNamesMapping } from '../../chart-data-options/validate-data-options';
|
|
6
|
+
type DataSet = DataSource | Data | undefined;
|
|
7
|
+
export declare const useSyncedData: (dataSet: DataSet, chartDataOptions: ChartDataOptionsInternal, chartType: ChartType, attributes: Attribute[], measures: Measure[], dataColumnNamesMapping: DataColumnNamesMapping, filters?: Filter[] | FilterRelations, highlights?: Filter[], refreshCounter?: number, setIsLoading?: Dispatch<SetStateAction<boolean>>) => Data | undefined;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ChartDataOptions, ChartType } from '../../types';
|
|
2
|
+
export declare const useTranslatedDataOptions: (dataOptions: ChartDataOptions, chartType: ChartType) => {
|
|
3
|
+
chartDataOptions: import("../..").ChartDataOptionsInternal;
|
|
4
|
+
attributes: import("@sisense/sdk-data").Attribute[];
|
|
5
|
+
measures: import("@sisense/sdk-data").Measure[];
|
|
6
|
+
dataColumnNamesMapping: import('../../chart-data-options/validate-data-options').DataColumnNamesMapping;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './chart';
|
|
@@ -87,6 +87,7 @@ export type ScatterChartData = {
|
|
|
87
87
|
};
|
|
88
88
|
export type ScattermapChartLocation = {
|
|
89
89
|
name: string;
|
|
90
|
+
rawName: string[];
|
|
90
91
|
value: number;
|
|
91
92
|
colorValue?: number;
|
|
92
93
|
details?: number | string[];
|
|
@@ -111,20 +112,20 @@ export type IndicatorChartData = {
|
|
|
111
112
|
};
|
|
112
113
|
/**
|
|
113
114
|
* Raw GeoDataElement from data
|
|
114
|
-
*
|
|
115
|
-
* @internal
|
|
116
115
|
*/
|
|
117
116
|
export type RawGeoDataElement = {
|
|
117
|
+
/** Name of geo-element (country or state) */
|
|
118
118
|
geoName: string;
|
|
119
|
+
/** Original numeric measure value for this geo-element */
|
|
119
120
|
originalValue: number;
|
|
121
|
+
/** Formatted measure value for this geo-element to display*/
|
|
120
122
|
formattedOriginalValue: string;
|
|
121
123
|
};
|
|
122
124
|
/**
|
|
123
125
|
* GeoDataElement with color property, calculated from `originalValue`
|
|
124
|
-
*
|
|
125
|
-
* @internal
|
|
126
126
|
*/
|
|
127
127
|
export type GeoDataElement = RawGeoDataElement & {
|
|
128
|
+
/** Calculated color for this geo-element */
|
|
128
129
|
color?: Color;
|
|
129
130
|
};
|
|
130
131
|
/**
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { Attribute, Measure } from '@sisense/sdk-data';
|
|
2
2
|
import { ChartType } from '../types';
|
|
3
|
-
import { ChartDataOptions, ChartDataOptionsInternal, TableDataOptionsInternal, TableDataOptions } from './types';
|
|
3
|
+
import { ChartDataOptions, ChartDataOptionsInternal, TableDataOptionsInternal, TableDataOptions, PivotTableDataOptions, PivotTableDataOptionsInternal } from './types';
|
|
4
4
|
export declare function translateChartDataOptions(chartType: ChartType, dataOptions: ChartDataOptions): ChartDataOptionsInternal;
|
|
5
5
|
export declare function getAttributes(dataOptions: ChartDataOptionsInternal, chartType: ChartType): Attribute[];
|
|
6
6
|
export declare function getMeasures(dataOptions: ChartDataOptionsInternal, chartType: ChartType): Measure[];
|
|
7
7
|
export declare function translateTableDataOptions(dataOptions: TableDataOptions): TableDataOptionsInternal;
|
|
8
|
+
/**
|
|
9
|
+
* Translates pivot table data options to the internal structure.
|
|
10
|
+
*/
|
|
11
|
+
export declare function translatePivotTableDataOptions(dataOptions: PivotTableDataOptions): PivotTableDataOptionsInternal;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DataColorOptions } from '../chart-data/data-coloring';
|
|
2
|
-
import type { NumberFormatConfig, SeriesChartType, SortDirection, ValueToColorMap, MultiColumnValueToColorMap } from '../types';
|
|
3
|
-
import { Column, MeasureColumn, CalculatedMeasureColumn } from '@sisense/sdk-data';
|
|
2
|
+
import type { NumberFormatConfig, SeriesChartType, SortDirection, ValueToColorMap, MultiColumnValueToColorMap, LineWidth, Markers } from '../types';
|
|
3
|
+
import { Column, MeasureColumn, CalculatedMeasureColumn, PivotGrandTotals, TotalsCalculation } from '@sisense/sdk-data';
|
|
4
4
|
/**
|
|
5
5
|
* Styles for a category/column when visualized in a chart
|
|
6
6
|
*
|
|
@@ -36,6 +36,18 @@ export interface CategoryStyle {
|
|
|
36
36
|
/** {@inheritDoc SortDirection} */
|
|
37
37
|
sortType?: SortDirection;
|
|
38
38
|
isColored?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Boolean flag whether to render category/column value as HTML in the Table component.
|
|
41
|
+
*/
|
|
42
|
+
isHtml?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Boolean flag whether to include subtotals for this dimension in the pivot table.
|
|
45
|
+
*/
|
|
46
|
+
includeSubTotals?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Geographic location level for Scattermap chart.
|
|
49
|
+
*/
|
|
50
|
+
geoLevel?: ScattermapLocationLevel;
|
|
39
51
|
}
|
|
40
52
|
/**
|
|
41
53
|
* Wrapped {@link @sisense/sdk-data!Column | Column} with styles controlling how the column is visualized in a chart.
|
|
@@ -105,6 +117,36 @@ export type ValueStyle = {
|
|
|
105
117
|
treatNullDataAsZeros?: boolean;
|
|
106
118
|
/** Boolean flag whether to connect a graph line across null points or render a gap */
|
|
107
119
|
connectNulls?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* Calculation for the totals of this measure in the pivot table.
|
|
122
|
+
*/
|
|
123
|
+
totalsCalculation?: TotalsCalculation;
|
|
124
|
+
/**
|
|
125
|
+
* Boolean flag whether to display data bars for this measure in the pivot table.
|
|
126
|
+
*/
|
|
127
|
+
dataBars?: boolean;
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Specific style options to be applied to specific series in Chart.
|
|
131
|
+
*
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
export type SeriesStyle = {
|
|
135
|
+
/**
|
|
136
|
+
* Specific style options to be applied to specific series in Chart.
|
|
137
|
+
* Supported only for cartesian and polar charts.
|
|
138
|
+
*/
|
|
139
|
+
seriesStyleOptions?: SeriesStyleOptions;
|
|
140
|
+
};
|
|
141
|
+
/**
|
|
142
|
+
* Specific style options to be applied to specific series in Chart.
|
|
143
|
+
* Supported only for cartesian and polar charts.
|
|
144
|
+
*/
|
|
145
|
+
export type SeriesStyleOptions = {
|
|
146
|
+
/** @inheritdoc LineStyleOptions.lineWidth */
|
|
147
|
+
lineWidth?: LineWidth;
|
|
148
|
+
/** @inheritdoc LineStyleOptions.markers */
|
|
149
|
+
markers?: Markers;
|
|
108
150
|
};
|
|
109
151
|
/**
|
|
110
152
|
* Wrapped {@link @sisense/sdk-data!MeasureColumn | Measure Column} with styles
|
|
@@ -144,7 +186,7 @@ export type ValueStyle = {
|
|
|
144
186
|
*
|
|
145
187
|
* See also {@link StyledColumn}.
|
|
146
188
|
*/
|
|
147
|
-
export interface StyledMeasureColumn extends ValueStyle {
|
|
189
|
+
export interface StyledMeasureColumn extends ValueStyle, SeriesStyle {
|
|
148
190
|
/** Wrapped MeasureColumn or CalculatedMeasureColumn */
|
|
149
191
|
column: MeasureColumn | CalculatedMeasureColumn;
|
|
150
192
|
}
|
|
@@ -305,7 +347,37 @@ export interface TableDataOptions {
|
|
|
305
347
|
columns: (Column | StyledColumn | MeasureColumn | CalculatedMeasureColumn | StyledMeasureColumn)[];
|
|
306
348
|
}
|
|
307
349
|
/**
|
|
308
|
-
*
|
|
350
|
+
* Configuration for how to query data and assign data to {@link PivotTable}.
|
|
351
|
+
*
|
|
352
|
+
*/
|
|
353
|
+
export interface PivotTableDataOptions {
|
|
354
|
+
/**
|
|
355
|
+
* Dimensions for the rows of the pivot table
|
|
356
|
+
*
|
|
357
|
+
* @category Data Options
|
|
358
|
+
*/
|
|
359
|
+
rows?: (Column | StyledColumn)[];
|
|
360
|
+
/**
|
|
361
|
+
* Dimensions for the columns of the pivot table
|
|
362
|
+
*
|
|
363
|
+
* @category Data Options
|
|
364
|
+
*/
|
|
365
|
+
columns?: (Column | StyledColumn)[];
|
|
366
|
+
/**
|
|
367
|
+
* Measures for the values of the pivot table
|
|
368
|
+
*
|
|
369
|
+
* @category Data Options
|
|
370
|
+
*/
|
|
371
|
+
values?: (MeasureColumn | CalculatedMeasureColumn | StyledMeasureColumn)[];
|
|
372
|
+
/**
|
|
373
|
+
* Options for grand totals
|
|
374
|
+
*
|
|
375
|
+
* @category Data Options
|
|
376
|
+
*/
|
|
377
|
+
grandTotals?: PivotGrandTotals;
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Geographic location level for Scattermap chart.
|
|
309
381
|
* This type can have one of the following values:
|
|
310
382
|
* - 'auto': Automatically determines the appropriate location level.
|
|
311
383
|
* - 'country': Represents the country level in the geographical hierarchy.
|
|
@@ -313,12 +385,6 @@ export interface TableDataOptions {
|
|
|
313
385
|
* - 'city': Represents the city level in the geographical hierarchy.
|
|
314
386
|
*/
|
|
315
387
|
export type ScattermapLocationLevel = 'auto' | 'country' | 'state' | 'city';
|
|
316
|
-
/**
|
|
317
|
-
* Scattermap column that allows to specify the geographic location level.
|
|
318
|
-
*/
|
|
319
|
-
export interface ScattermapColumn extends StyledColumn {
|
|
320
|
-
level: ScattermapLocationLevel;
|
|
321
|
-
}
|
|
322
388
|
/**
|
|
323
389
|
* Configuration for how to query aggregate data and assign data
|
|
324
390
|
* to axes of a Scattermap chart.
|
|
@@ -329,7 +395,7 @@ export interface ScattermapChartDataOptions {
|
|
|
329
395
|
* Support field(s) that contain geographic data (Country, City, State/Province, etc)
|
|
330
396
|
* To visualize latitude and longitude data, you have to add one field containing latitude data, and another field containing longitude data, in this order.
|
|
331
397
|
*/
|
|
332
|
-
geo: (Column | StyledColumn
|
|
398
|
+
geo: (Column | StyledColumn)[];
|
|
333
399
|
/**
|
|
334
400
|
* Measure column (or measure) representing the size of the points on the map.
|
|
335
401
|
*/
|
|
@@ -420,7 +486,7 @@ export declare const isValue: (arg: Category | Value) => arg is Value;
|
|
|
420
486
|
/** @internal */
|
|
421
487
|
export declare const isCategory: (arg: Category | Value) => arg is Category;
|
|
422
488
|
/** @internal */
|
|
423
|
-
export interface Value extends ValueStyle {
|
|
489
|
+
export interface Value extends ValueStyle, SeriesStyle {
|
|
424
490
|
name: string;
|
|
425
491
|
aggregation?: string;
|
|
426
492
|
title: string;
|
|
@@ -459,6 +525,35 @@ export interface ScattermapChartDataOptionsInternal {
|
|
|
459
525
|
export type TableDataOptionsInternal = {
|
|
460
526
|
columns: (Category | Value)[];
|
|
461
527
|
};
|
|
528
|
+
/**
|
|
529
|
+
* @internal
|
|
530
|
+
*/
|
|
531
|
+
export interface PivotTableDataOptionsInternal {
|
|
532
|
+
/**
|
|
533
|
+
* Dimensions for the rows of the pivot table
|
|
534
|
+
*
|
|
535
|
+
* @category Data Options
|
|
536
|
+
*/
|
|
537
|
+
rows?: Category[];
|
|
538
|
+
/**
|
|
539
|
+
* Dimensions for the columns of the pivot table
|
|
540
|
+
*
|
|
541
|
+
* @category Data Options
|
|
542
|
+
*/
|
|
543
|
+
columns?: Category[];
|
|
544
|
+
/**
|
|
545
|
+
* Measures for the values of the pivot table
|
|
546
|
+
*
|
|
547
|
+
* @category Data Options
|
|
548
|
+
*/
|
|
549
|
+
values?: Value[];
|
|
550
|
+
/**
|
|
551
|
+
* Options for grand totals
|
|
552
|
+
*
|
|
553
|
+
* @category Data Options
|
|
554
|
+
*/
|
|
555
|
+
grandTotals?: PivotGrandTotals;
|
|
556
|
+
}
|
|
462
557
|
/** @internal */
|
|
463
558
|
export type ChartDataOptionsInternal = CartesianChartDataOptionsInternal | CategoricalChartDataOptionsInternal | ScatterChartDataOptionsInternal | IndicatorChartDataOptionsInternal | BoxplotChartDataOptionsInternal | AreamapChartDataOptionsInternal | ScattermapChartDataOptionsInternal;
|
|
464
559
|
/** @internal */
|
|
@@ -1,29 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HighchartsPointerEvent, HighchartsSelectEvent } from '../types';
|
|
2
2
|
import { HighchartsOptionsInternal } from '../chart-options-processor/chart-options-service';
|
|
3
|
-
|
|
4
|
-
export type DataPointsEventHandler = (
|
|
5
|
-
/** Data points that were selected */
|
|
6
|
-
points: DataPoint[],
|
|
7
|
-
/** Native MouseEvent */
|
|
8
|
-
nativeEvent: MouseEvent) => void;
|
|
9
|
-
/** Click handler for when a data point is clicked. One parameter, `DataPoint`, is passed to the function. */
|
|
10
|
-
export type DataPointEventHandler = (
|
|
11
|
-
/** Data point that was clicked */
|
|
12
|
-
point: DataPoint,
|
|
13
|
-
/** Native PointerEvent */
|
|
14
|
-
nativeEvent: PointerEvent) => void;
|
|
15
|
-
/** Click handler for when a scatter data point is clicked */
|
|
16
|
-
export type ScatterDataPointEventHandler = (
|
|
17
|
-
/** Data point that was clicked */
|
|
18
|
-
point: ScatterDataPoint,
|
|
19
|
-
/** Native PointerEvent */
|
|
20
|
-
nativeEvent: PointerEvent) => void;
|
|
21
|
-
/** Click handler for when multiple scatter data points are selected. */
|
|
22
|
-
export type ScatterDataPointsEventHandler = (
|
|
23
|
-
/** Data points that were selected */
|
|
24
|
-
points: ScatterDataPoint[],
|
|
25
|
-
/** Native MouseEvent */
|
|
26
|
-
nativeEvent: MouseEvent) => void;
|
|
3
|
+
import { SisenseChartDataPointEventHandler, SisenseChartDataPointsEventHandler } from '../sisense-chart/types';
|
|
27
4
|
export type HighchartsEventOptions = {
|
|
28
5
|
chart: {
|
|
29
6
|
zoomType?: string;
|
|
@@ -43,7 +20,7 @@ export type HighchartsEventOptions = {
|
|
|
43
20
|
};
|
|
44
21
|
};
|
|
45
22
|
export declare const applyEventHandlersToChart: (chartOptions: HighchartsOptionsInternal, { onDataPointClick, onDataPointContextMenu, onDataPointsSelected, }?: {
|
|
46
|
-
onDataPointClick?:
|
|
47
|
-
onDataPointContextMenu?:
|
|
48
|
-
onDataPointsSelected?:
|
|
23
|
+
onDataPointClick?: SisenseChartDataPointEventHandler | undefined;
|
|
24
|
+
onDataPointContextMenu?: SisenseChartDataPointEventHandler | undefined;
|
|
25
|
+
onDataPointsSelected?: SisenseChartDataPointsEventHandler | undefined;
|
|
49
26
|
}) => HighchartsOptionsInternal;
|
|
@@ -3,9 +3,9 @@ import { BoxplotChartData } from '../chart-data/types';
|
|
|
3
3
|
import { BoxplotChartDataOptionsInternal } from '../chart-data-options/types';
|
|
4
4
|
import { HighchartsOptionsInternal } from './chart-options-service';
|
|
5
5
|
import { OptionsWithAlerts } from '../types';
|
|
6
|
-
import {
|
|
6
|
+
import { ChartDesignOptions } from './translations/types';
|
|
7
7
|
/**
|
|
8
8
|
* Convert intermediate chart data, data options, and design options
|
|
9
9
|
* into pure highcharts config data.
|
|
10
10
|
*/
|
|
11
|
-
export declare const getBoxplotChartOptions: (chartData: BoxplotChartData, chartDesignOptions:
|
|
11
|
+
export declare const getBoxplotChartOptions: (chartData: BoxplotChartData, chartDesignOptions: ChartDesignOptions, dataOptions: BoxplotChartDataOptionsInternal, translate: TFunction) => OptionsWithAlerts<HighchartsOptionsInternal>;
|
|
@@ -9,7 +9,7 @@ import { ChartDataOptionsInternal } from '../chart-data-options/types';
|
|
|
9
9
|
*
|
|
10
10
|
* @param chartData - the data for the chart in an intermediate format
|
|
11
11
|
* @param chartType -
|
|
12
|
-
* @param
|
|
12
|
+
* @param globalDesignOptions -
|
|
13
13
|
* @param dataOptions -
|
|
14
14
|
* @param themeSettings -
|
|
15
15
|
*/
|
|
@@ -63,9 +63,16 @@ type ChartPlotOptions = {
|
|
|
63
63
|
shadow?: boolean;
|
|
64
64
|
marker?: MarkerSettings;
|
|
65
65
|
borderWidth?: number;
|
|
66
|
+
className?: string;
|
|
66
67
|
events?: {
|
|
67
68
|
legendItemClick?: SeriesLegendItemClickCallbackFunction;
|
|
68
69
|
};
|
|
70
|
+
states?: {
|
|
71
|
+
inactive?: {
|
|
72
|
+
enabled?: boolean;
|
|
73
|
+
opacity?: number;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
69
76
|
};
|
|
70
77
|
export type Stacking = 'normal' | 'percent';
|
|
71
78
|
export type PlotOptions = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CartesianChartDataOptionsInternal, ChartDataOptionsInternal } from '../chart-data-options/types';
|
|
2
2
|
import { ChartData } from '../chart-data/types';
|
|
3
3
|
import { PlotBand } from './translations/axis-section';
|
|
4
|
-
import {
|
|
4
|
+
import { DesignOptions } from './translations/types';
|
|
5
5
|
type CategoryIndexMapPlotBands = {
|
|
6
6
|
categories: string[];
|
|
7
7
|
indexMap: number[];
|
|
@@ -19,5 +19,5 @@ export declare const applyNumberFormatToPlotBands: (chartDataOptions: ChartDataO
|
|
|
19
19
|
* @param designOptions -
|
|
20
20
|
* @param continuousDatetimeXAxis -
|
|
21
21
|
*/
|
|
22
|
-
export declare const getCategoriesIndexMapAndPlotBands: (data: ChartData, dataOptions: CartesianChartDataOptionsInternal, designOptions:
|
|
22
|
+
export declare const getCategoriesIndexMapAndPlotBands: (data: ChartData, dataOptions: CartesianChartDataOptionsInternal, designOptions: DesignOptions, continuousDatetimeXAxis: boolean) => CategoryIndexMapPlotBands;
|
|
23
23
|
export {};
|
|
@@ -15,8 +15,8 @@ export declare const getScatterLegendSettings: (position: LegendPosition) => Leg
|
|
|
15
15
|
*
|
|
16
16
|
* @param chartData - the data for the chart in an intermediate format
|
|
17
17
|
* @param chartType -
|
|
18
|
-
* @param
|
|
18
|
+
* @param globalDesignOptions -
|
|
19
19
|
* @param dataOptions -
|
|
20
20
|
* @param themeSettings -
|
|
21
21
|
*/
|
|
22
|
-
export declare const getScatterChartOptions: (chartData: ScatterChartData, chartType: ChartType,
|
|
22
|
+
export declare const getScatterChartOptions: (chartData: ScatterChartData, chartType: ChartType, designOptions: ChartDesignOptions, dataOptions: ChartDataOptionsInternal, themeSettings?: CompleteThemeSettings) => OptionsWithAlerts<HighchartsOptionsInternal>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { prepareChartDesignOptions } from './prepare-design-options';
|
package/dist/chart-options-processor/style-to-design-options-translator/prepare-design-options.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ChartDataOptionsInternal } from '../../chart-data-options/types';
|
|
2
|
+
import { ChartStyleOptions, ChartType } from '../../types';
|
|
3
|
+
import { ChartDesignOptions } from '../translations/types';
|
|
4
|
+
export declare function prepareChartDesignOptions(chartType: ChartType, dataOptionsInternal: ChartDataOptionsInternal, styleOptions?: ChartStyleOptions): ChartDesignOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ChartType, ChartStyleOptions } from '../../types';
|
|
2
|
-
import {
|
|
2
|
+
import { DesignOptions } from '../translations/types';
|
|
3
3
|
import { ChartDataOptionsInternal } from '../../chart-data-options/types';
|
|
4
|
-
export declare const translateStyleOptionsToDesignOptions: (chartType: ChartType, styleOptions: ChartStyleOptions, dataOptions: ChartDataOptionsInternal) =>
|
|
4
|
+
export declare const translateStyleOptionsToDesignOptions: (chartType: ChartType, styleOptions: ChartStyleOptions, dataOptions: ChartDataOptionsInternal) => DesignOptions;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DesignOptions } from './types';
|
|
2
2
|
import { Merge } from '../../utils/utility-types';
|
|
3
3
|
export declare const SERIES_CAPACITY = 50;
|
|
4
4
|
export declare const SCATTER_CATEGORIES_CAPACITY = 500;
|
|
5
5
|
export declare const CATEGORIES_CAPACITY = 100000;
|
|
6
|
-
export declare const BaseDesignOptions: Merge<
|
|
7
|
-
export declare const BaseDesignOptionsMultipleAxis:
|
|
6
|
+
export declare const BaseDesignOptions: Merge<DesignOptions>;
|
|
7
|
+
export declare const BaseDesignOptionsMultipleAxis: DesignOptions;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PlotOptions } from '../../chart-options-service.js';
|
|
2
|
-
import {
|
|
3
|
-
export declare const getBoxplotPlotOptions: (valueLabel:
|
|
2
|
+
import { ValueLabelOptions } from '../value-label-section.js';
|
|
3
|
+
export declare const getBoxplotPlotOptions: (valueLabel: ValueLabelOptions) => PlotOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ValueLabelOptions } from './value-label-section';
|
|
2
2
|
import { Axis } from './axis-section';
|
|
3
3
|
import { Marker } from './marker-section';
|
|
4
4
|
import { LegendPosition } from './legend-section';
|
|
@@ -13,7 +13,7 @@ type DataLimits = {
|
|
|
13
13
|
};
|
|
14
14
|
export type BaseDesignOptionsType = {
|
|
15
15
|
legend: LegendPosition;
|
|
16
|
-
valueLabel:
|
|
16
|
+
valueLabel: ValueLabelOptions;
|
|
17
17
|
lineType: LineType;
|
|
18
18
|
lineWidth: number;
|
|
19
19
|
marker: Marker;
|
|
@@ -108,10 +108,12 @@ export type IndicatorComponents = {
|
|
|
108
108
|
*/
|
|
109
109
|
export type IndicatorChartDesignOptions<IndicatorType extends IndicatorStyleType = IndicatorStyleType> = BaseDesignOptionsType & {
|
|
110
110
|
indicatorComponents: IndicatorComponents;
|
|
111
|
+
forceTickerView: boolean;
|
|
111
112
|
} & (IndicatorType extends 'gauge' ? GaugeSpecificDesignOptions : NumericSpecificDesignOptions);
|
|
112
113
|
export type GaugeSpecificDesignOptions = {
|
|
113
114
|
indicatorType: 'gauge';
|
|
114
115
|
skin: 1 | 2;
|
|
116
|
+
tickerBarHeight?: number;
|
|
115
117
|
};
|
|
116
118
|
export type NumericSpecificDesignOptions<NumericSubtype extends NumericIndicatorSubType = NumericIndicatorSubType> = {
|
|
117
119
|
indicatorType: 'numeric';
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
symbol: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const defaultConfig: NumberFormatConfig;
|
|
14
|
-
export declare const applyFormatStaticMarkup: (config: NumberFormatConfig, value: number) => string;
|
|
15
|
-
export declare const applyFormat: (config: NumberFormatConfig, value: number) => string;
|
|
16
|
-
export declare const applyFormatPlainText: (config: NumberFormatConfig, value: number) => string;
|
|
1
|
+
import { CompleteNumberFormatConfig, NumberFormatConfig } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* Returns a complete NumberFormatConfig object with default values for missing properties.
|
|
4
|
+
*
|
|
5
|
+
* @param partialConfig - A partial NumberFormatConfig object with props to rewrite default ones.
|
|
6
|
+
*/
|
|
7
|
+
export declare const getCompleteNumberFormatConfig: (partialConfig?: NumberFormatConfig) => CompleteNumberFormatConfig;
|
|
8
|
+
export declare const applyFormatStaticMarkup: (config: CompleteNumberFormatConfig, value: number) => string;
|
|
9
|
+
export declare const applyFormat: (config: CompleteNumberFormatConfig, value: number) => string;
|
|
10
|
+
export declare const applyFormatPlainText: (config: CompleteNumberFormatConfig, value: number) => string;
|
|
@@ -4,7 +4,7 @@ import { CategoricalSeriesValues, ChartData, CartesianChartData } from '../../ch
|
|
|
4
4
|
import { StackableChartDesignOptions } from './design-options';
|
|
5
5
|
import { AxisMinMax, AxisSettings } from './axis-section';
|
|
6
6
|
import { Stacking } from '../chart-options-service';
|
|
7
|
-
import {
|
|
7
|
+
import { DesignOptions } from './types';
|
|
8
8
|
export type LineType = 'straight' | 'smooth';
|
|
9
9
|
export type StackType = 'classic' | 'stacked' | 'stack100';
|
|
10
10
|
export type HighchartsType = ChartType | 'spline' | 'areaspline' | 'bubble';
|
|
@@ -48,10 +48,10 @@ export type AxisClipped = {
|
|
|
48
48
|
* Translate public-facing chart type and chart design options to internal highcharts chart type
|
|
49
49
|
*
|
|
50
50
|
* @param chartType - public-facing chart type
|
|
51
|
-
* @param
|
|
51
|
+
* @param designOptions - public-facing chart design options
|
|
52
52
|
* @returns internal highcharts chart type
|
|
53
53
|
*/
|
|
54
|
-
export declare const determineHighchartsChartType: (chartType: ChartType,
|
|
54
|
+
export declare const determineHighchartsChartType: (chartType: ChartType, designOptions: DesignOptions) => HighchartsType;
|
|
55
55
|
export declare const addStackingIfSpecified: (chartType: ChartType, designOptions: StackableChartDesignOptions) => {
|
|
56
56
|
stacking?: Stacking | undefined;
|
|
57
57
|
showTotal: boolean;
|
|
@@ -76,7 +76,7 @@ export declare const adjustMinWhenColumnBar: (chartType: ChartType, autoMinMax:
|
|
|
76
76
|
min: number;
|
|
77
77
|
max: number;
|
|
78
78
|
};
|
|
79
|
-
export declare const autoCalculateYAxisMinMax: (chartType: ChartType, chartData: CartesianChartData,
|
|
79
|
+
export declare const autoCalculateYAxisMinMax: (chartType: ChartType, chartData: CartesianChartData, designOptions: DesignOptions, yAxisSide: number[], yTreatNullDataAsZeros: boolean[], side: number) => {
|
|
80
80
|
min: number;
|
|
81
81
|
max: number;
|
|
82
82
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ChartDataOptionsInternal } from '../../chart-data-options/types';
|
|
2
1
|
import { ChartType } from '../../types';
|
|
3
2
|
import { LineChartDesignOptions, AreaChartDesignOptions, BarChartDesignOptions, ColumnChartDesignOptions, PieChartDesignOptions, FunnelChartDesignOptions, IndicatorChartDesignOptions, PolarChartDesignOptions, ScatterChartDesignOptions, TreemapChartDesignOptions, BoxplotChartDesignOptions, AreamapChartDesignOptions, ScattermapChartDesignOptions } from './design-options';
|
|
4
3
|
export declare const POLAR_CHART_TYPES: readonly ["polar"];
|
|
@@ -30,12 +29,25 @@ export declare const SCATTERMAP_CHART_TYPES: readonly ["scattermap"];
|
|
|
30
29
|
/** Scattermap chart types @expandType */
|
|
31
30
|
export type ScattermapChartType = (typeof SCATTERMAP_CHART_TYPES)[number];
|
|
32
31
|
export type ChartDataType = 'cartesian' | 'categorical' | 'scatter' | 'table' | 'indicator' | 'areamap';
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
32
|
+
/**
|
|
33
|
+
* Design options for a specific chart type
|
|
34
|
+
*/
|
|
35
|
+
export type DesignOptions<SpecificChartType extends ChartType = ChartType> = SpecificChartType extends 'line' ? LineChartDesignOptions : SpecificChartType extends 'area' ? AreaChartDesignOptions : SpecificChartType extends 'bar' ? BarChartDesignOptions : SpecificChartType extends 'column' ? ColumnChartDesignOptions : SpecificChartType extends 'pie' ? PieChartDesignOptions : SpecificChartType extends 'funnel' ? FunnelChartDesignOptions : SpecificChartType extends 'polar' ? PolarChartDesignOptions : SpecificChartType extends 'indicator' ? IndicatorChartDesignOptions : SpecificChartType extends 'scatter' ? ScatterChartDesignOptions : SpecificChartType extends 'treemap' ? TreemapChartDesignOptions : SpecificChartType extends 'boxplot' ? BoxplotChartDesignOptions : SpecificChartType extends 'areamap' ? AreamapChartDesignOptions : SpecificChartType extends 'scattermap' ? ScattermapChartDesignOptions : never;
|
|
36
|
+
/** A unique identifier for a series to be found in {@link ChartDataOptionsInternal} */
|
|
37
|
+
type SeriesId = string;
|
|
38
|
+
/**
|
|
39
|
+
* Design options for a chart.
|
|
40
|
+
* This includes global design options and specific design options per series.
|
|
41
|
+
*/
|
|
42
|
+
export type ChartDesignOptions<SpecificChartType extends ChartType = ChartType> = {
|
|
43
|
+
globalDesign: DesignOptions<SpecificChartType>;
|
|
44
|
+
designPerSeries: Record<SeriesId, SeriesDesignOptions>;
|
|
38
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* Design options, limited to the only series relevant options.
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
export type SeriesDesignOptions = Pick<DesignOptions, 'lineWidth' | 'marker'>;
|
|
39
51
|
export declare const isCartesian: (chartType: ChartType) => chartType is "area" | "line" | "bar" | "column" | "polar";
|
|
40
52
|
export declare const isCategorical: (chartType: ChartType) => chartType is "pie" | "funnel" | "treemap" | "sunburst";
|
|
41
53
|
export declare const isScatter: (chartType: ChartType) => chartType is "scatter";
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import type { DataLabelsOptions } from '@sisense/sisense-charts';
|
|
2
2
|
import { Style } from '../chart-options-service';
|
|
3
|
-
import { NumberFormatConfig } from './number-format-config';
|
|
4
3
|
import { AxisOrientation } from './axis-section';
|
|
5
4
|
import { InternalSeries } from './tooltip-utils';
|
|
6
5
|
import { PolarType } from './design-options';
|
|
7
|
-
|
|
6
|
+
import { NumberFormatConfig } from '../../types';
|
|
7
|
+
export type ValueLabelOptions = {
|
|
8
|
+
enabled?: boolean;
|
|
9
|
+
rotation?: number;
|
|
10
|
+
};
|
|
11
|
+
export type RotationType = 'horizontal' | 'diagonal' | 'vertical';
|
|
8
12
|
export type ValueLabelSettings = {
|
|
9
13
|
enabled?: boolean;
|
|
10
14
|
align?: string;
|
|
@@ -25,5 +29,6 @@ export type ValueLabelSettings = {
|
|
|
25
29
|
formatter?: (this: InternalSeries, options?: DataLabelsOptions, valuePropName?: string) => string;
|
|
26
30
|
};
|
|
27
31
|
export declare const createValueLabelFormatter: (numberFormatConfig?: NumberFormatConfig) => (this: InternalSeries) => string;
|
|
28
|
-
export declare const
|
|
29
|
-
export declare const
|
|
32
|
+
export declare const getRotationType: (rotation: number) => RotationType;
|
|
33
|
+
export declare const getValueLabelSettings: (xAxisOrientation: AxisOrientation, valueLabel: ValueLabelOptions, inside?: boolean) => ValueLabelSettings;
|
|
34
|
+
export declare const getPolarValueLabelSettings: (valueLabel: ValueLabelOptions, polarType: PolarType) => ValueLabelSettings;
|
package/dist/charts/indicator/indicator-legacy-chart-options/indicator-legacy-chart-options.d.ts
CHANGED
|
@@ -9,8 +9,11 @@ export type ChartRenderingOptions = {
|
|
|
9
9
|
};
|
|
10
10
|
export type IndicatorTypeOptions = {
|
|
11
11
|
type: Exclude<IndicatorStyleType, 'numeric'>;
|
|
12
|
+
forceTickerView: boolean;
|
|
13
|
+
tickerBarHeight?: number;
|
|
12
14
|
} | {
|
|
13
15
|
type: 'numeric';
|
|
14
16
|
numericSubtype?: NumericIndicatorSubType;
|
|
17
|
+
forceTickerView: boolean;
|
|
15
18
|
};
|
|
16
19
|
export declare const createIndicatorLegacyChartOptions: (typeOptions: IndicatorTypeOptions, chartRenderingOptions: ChartRenderingOptions) => LegacyIndicatorChartOptions;
|
|
@@ -50,6 +50,7 @@ type CommonOptions = {
|
|
|
50
50
|
};
|
|
51
51
|
textKeys: string[];
|
|
52
52
|
backgroundColor: string;
|
|
53
|
+
forceTickerView?: boolean;
|
|
53
54
|
};
|
|
54
55
|
export type NumericSimpleOptions = CommonOptions & {
|
|
55
56
|
borderColor: string;
|
|
@@ -114,6 +115,7 @@ export type GaugeOptions = CommonOptions & {
|
|
|
114
115
|
})[];
|
|
115
116
|
gaugeHeights: BaseMeasure[];
|
|
116
117
|
measureKeys: string[];
|
|
118
|
+
tickerBarHeight?: number;
|
|
117
119
|
};
|
|
118
120
|
export type TickerOptions = CommonOptions & {
|
|
119
121
|
fontSize: number;
|