@vizzly/dashboard 0.15.0-dev-307a9830cb4e82f036693ccfe2634f74381a2b72 → 0.15.0-dev-927f480c64f078c9b01edc81be29e4e33f862c8d
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/charts/src/v2/components/LineChart/LineChart.d.ts +10 -7
- package/dist/charts/src/v2/components/RadarChart/Polygons.d.ts +1 -1
- package/dist/charts/src/v2/components/RadarChart/RadarCrosshairCircle.d.ts +19 -0
- package/dist/charts/src/v2/components/RadarChart/shared.d.ts +2 -0
- package/dist/charts/src/v2/components/RadarChart/types.d.ts +4 -0
- package/dist/charts/src/v2/components/Tooltip/CrosshairCircle.d.ts +1 -1
- package/dist/charts/src/v2/utils/components/BarGroup.d.ts +2 -1
- package/dist/charts/src/v2/utils/getRadarTooltipData.d.ts +21 -0
- package/dist/dashboard.cjs.development.js +1390 -1123
- package/dist/dashboard.cjs.production.min.js +1 -1
- package/dist/dashboard.esm.js +1405 -1138
- package/dist/shared-logic/src/Component/types.d.ts +5 -0
- package/dist/shared-logic/src/DataLabel/index.d.ts +6 -0
- package/dist/shared-ui/src/components/ChartHelper.d.ts +1 -1
- package/dist/shared-ui/src/contexts/DashboardBehaviour/types.d.ts +1 -1
- package/package.json +1 -1
- package/dist/charts/src/v2/components/GridRows/shared.d.ts +0 -2
|
@@ -164,6 +164,7 @@ export declare namespace Component {
|
|
|
164
164
|
approxXAxisLabelCount: ApproxAxisLabelCount;
|
|
165
165
|
approxYAxisLabelCount: ApproxAxisLabelCount;
|
|
166
166
|
legend: boolean;
|
|
167
|
+
labels?: boolean;
|
|
167
168
|
goalLines?: Array<Component.GoalLine.Rule>;
|
|
168
169
|
conditionalFormattingRules?: {
|
|
169
170
|
bar?: Array<ConditionalFormatting.Rule>;
|
|
@@ -207,6 +208,7 @@ export declare namespace Component {
|
|
|
207
208
|
conditionalFormattingRules: Array<ConditionalFormatting.Rule>;
|
|
208
209
|
drilldown: QueryAttributes.Dimension[];
|
|
209
210
|
legend: boolean;
|
|
211
|
+
labels?: boolean;
|
|
210
212
|
parameters?: Parameters;
|
|
211
213
|
goalLines?: Array<Component.GoalLine.Rule>;
|
|
212
214
|
axisTitles?: AxisTitles;
|
|
@@ -227,6 +229,7 @@ export declare namespace Component {
|
|
|
227
229
|
conditionalFormattingRules: Array<ConditionalFormatting.Rule>;
|
|
228
230
|
drilldown: QueryAttributes.Dimension[];
|
|
229
231
|
legend: boolean;
|
|
232
|
+
labels?: boolean;
|
|
230
233
|
parameters?: Parameters;
|
|
231
234
|
goalLines?: Array<Component.GoalLine.Rule>;
|
|
232
235
|
axisTitles?: AxisTitles;
|
|
@@ -248,6 +251,7 @@ export declare namespace Component {
|
|
|
248
251
|
conditionalFormattingRules: Array<ConditionalFormatting.Rule>;
|
|
249
252
|
drilldown: QueryAttributes.Dimension[];
|
|
250
253
|
legend: boolean;
|
|
254
|
+
labels?: boolean;
|
|
251
255
|
parameters?: Parameters;
|
|
252
256
|
goalLines?: Array<Component.GoalLine.Rule>;
|
|
253
257
|
axisTitles?: AxisTitles;
|
|
@@ -471,6 +475,7 @@ export declare namespace Component {
|
|
|
471
475
|
approxXAxisLabelCount: ApproxAxisLabelCount;
|
|
472
476
|
approxYAxisLabelCount: ApproxAxisLabelCount;
|
|
473
477
|
legend: boolean;
|
|
478
|
+
labels?: boolean;
|
|
474
479
|
parameters?: Parameters;
|
|
475
480
|
axisTitles?: AxisTitles;
|
|
476
481
|
headline?: Headline;
|
|
@@ -8,4 +8,10 @@ export declare const getMinMaxChartValueFromNumberArray: (data: number[]) => {
|
|
|
8
8
|
minValue: number;
|
|
9
9
|
maxValue: number;
|
|
10
10
|
};
|
|
11
|
+
export declare const getLabelDictionary: (formattedData: ChartDataDefinition[] | undefined, keys: string[]) => {
|
|
12
|
+
[key: string]: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const getFormattedValue: (value: any, dictionary?: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
} | undefined) => any;
|
|
11
17
|
export declare const getAllChartValues: (data: ChartDataDefinition[], keys: string[]) => number[];
|
|
@@ -31,6 +31,6 @@ export declare const formatYAxisLabel: (textOverride: TextOverride, axisLabelCon
|
|
|
31
31
|
export declare const formatSeriesName: (result: ResultType | null | undefined, textOverride: TextOverride, type: ComponentType, id: string, labelFormat: LabelFormat) => (key: string) => string | undefined;
|
|
32
32
|
export declare const convertValueToFormat: (value: any, numberFormatOptions?: {
|
|
33
33
|
[id: string]: import("../contexts/DashboardBehaviour/types").NumberFormatter;
|
|
34
|
-
} | undefined, format?: string | null | undefined) => any;
|
|
34
|
+
} | undefined, format?: string | null | undefined, total?: number | undefined) => any;
|
|
35
35
|
export declare function getGradientAdjustedColor(rule: ConditionalFormattingBoundary, matchedHexValue: string, actualValue: number): string;
|
|
36
36
|
export {};
|
|
@@ -28,7 +28,7 @@ export declare type DateTimeFormatter = {
|
|
|
28
28
|
description: string;
|
|
29
29
|
};
|
|
30
30
|
export declare type NumberFormatter = {
|
|
31
|
-
formatter: (number: number | undefined | null, noValueReplacement?: string) => string;
|
|
31
|
+
formatter: (number: number | undefined | null, noValueReplacement?: string, total?: number) => string;
|
|
32
32
|
description: string;
|
|
33
33
|
};
|
|
34
34
|
export declare type Variables = VariablesCallback;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizzly/dashboard",
|
|
3
3
|
"author": "james@vizzly.co",
|
|
4
|
-
"version": "0.15.0-dev-
|
|
4
|
+
"version": "0.15.0-dev-927f480c64f078c9b01edc81be29e4e33f862c8d",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"types": "./dist/dashboard/src/index.d.ts",
|
|
7
7
|
"module": "./dist/dashboard.esm.js",
|