@graphysdk/react-renderer 1.8.1-beta.1786348404060 → 1.8.1-beta.1786352280463
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/editable.cjs +1 -1
- package/dist/editable.css +1 -1
- package/dist/editable.d.ts +285 -43
- package/dist/editable.mjs +2032 -1421
- package/dist/{font-values-gPf-gY2d.js → font-values-CPxYeqns.js} +1 -0
- package/dist/{font-values-F2fq9P-M.cjs → font-values-CStAZ2d1.cjs} +1 -1
- package/dist/graph-config.cjs +1 -1
- package/dist/graph-config.d.ts +1 -0
- package/dist/graph-config.mjs +1 -1
- package/dist/history-chords-Bfvf75tz.cjs +1 -0
- package/dist/{history-chords-CGNk41rJ.js → history-chords-V6t-FaHD.js} +1784 -1609
- package/dist/history-chords.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.mjs +96 -96
- package/package.json +2 -2
- package/dist/history-chords-D30Wi_Jj.cjs +0 -1
package/dist/editable.d.ts
CHANGED
|
@@ -27,7 +27,13 @@ import { TextContent } from '@graphysdk/viz-engine';
|
|
|
27
27
|
import { TextMeasurer } from '@graphysdk/viz-engine';
|
|
28
28
|
import { TooltipContent } from '@graphysdk/viz-engine';
|
|
29
29
|
|
|
30
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* How round the chart's frame is, and how it pushes back the marks a highlight leaves out. The
|
|
32
|
+
* highlight row is inert until something adds a highlight.
|
|
33
|
+
*/
|
|
34
|
+
export declare const AppearanceSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
35
|
+
|
|
36
|
+
/** Both axes, each switched on and off from within its own section. */
|
|
31
37
|
export declare const AxesPanel: ({ children, ...rootProps }: PanelProps) => JSX.Element;
|
|
32
38
|
|
|
33
39
|
/**
|
|
@@ -41,20 +47,14 @@ declare interface AxisLabelSlotProps {
|
|
|
41
47
|
}
|
|
42
48
|
|
|
43
49
|
/**
|
|
44
|
-
* One axis
|
|
45
|
-
* how that scale is transformed and where its domain starts and stops.
|
|
50
|
+
* One axis, and the scale it carries.
|
|
46
51
|
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* bars stand on a baseline, a value axis their bars anchor to can only grow from zero, so it drops
|
|
50
|
-
* the scale transform and the start and keeps only where it ends.
|
|
51
|
-
*
|
|
52
|
-
* Which axis is `x` and which is `y` stays as mapped however the chart is drawn: a flipped coordinate
|
|
53
|
-
* system turns a column chart on its side without moving the value scale off y.
|
|
52
|
+
* `x` and `y` stay as mapped however the chart is drawn: a flipped coord system turns a column chart
|
|
53
|
+
* on its side without moving the value scale off y.
|
|
54
54
|
*/
|
|
55
55
|
export declare const AxisSection: ({ axis, title, layout, preview }: AxisSectionProps) => JSX.Element | null;
|
|
56
56
|
|
|
57
|
-
declare interface AxisSectionProps extends OverridableSectionProps {
|
|
57
|
+
export declare interface AxisSectionProps extends OverridableSectionProps {
|
|
58
58
|
/** Which axis this section edits. */
|
|
59
59
|
axis: PrimaryAxisTarget;
|
|
60
60
|
}
|
|
@@ -69,6 +69,14 @@ declare interface AxisTicksSlotProps {
|
|
|
69
69
|
tickRects: Partial<Record<LayoutEdge, Rect>>;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
+
/**
|
|
73
|
+
* A bar's own shape: how thick it is and how round its corners are.
|
|
74
|
+
*
|
|
75
|
+
* No gap row: painted width is `step × (1 - scalePadding) × width / seriesCount`, so band padding and
|
|
76
|
+
* this fraction shrink the group the same way.
|
|
77
|
+
*/
|
|
78
|
+
export declare const BarSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
79
|
+
|
|
72
80
|
/**
|
|
73
81
|
* How the badge paints at the current frame size:
|
|
74
82
|
* - `full` — glyph + "Made with Graphy" pill
|
|
@@ -269,13 +277,46 @@ declare const dictionaries: {
|
|
|
269
277
|
readonly graphTypeSection: {
|
|
270
278
|
readonly title: "Graph type";
|
|
271
279
|
};
|
|
280
|
+
readonly polarSection: {
|
|
281
|
+
readonly title: "Polar";
|
|
282
|
+
readonly innerRadius: "Inner radius";
|
|
283
|
+
readonly startAngle: "Start angle";
|
|
284
|
+
};
|
|
285
|
+
readonly barSection: {
|
|
286
|
+
readonly title: "Bars";
|
|
287
|
+
readonly thickness: "Bar thickness";
|
|
288
|
+
readonly rounding: "Rounding";
|
|
289
|
+
readonly roundingOptions: {
|
|
290
|
+
readonly none: "None";
|
|
291
|
+
readonly xs: "XS";
|
|
292
|
+
readonly sm: "S";
|
|
293
|
+
readonly md: "M";
|
|
294
|
+
readonly lg: "L";
|
|
295
|
+
readonly xl: "XL";
|
|
296
|
+
readonly full: "Full";
|
|
297
|
+
};
|
|
298
|
+
};
|
|
272
299
|
readonly graphOptionsSection: {
|
|
273
300
|
readonly title: "Graph options";
|
|
274
301
|
};
|
|
302
|
+
readonly gridSection: {
|
|
303
|
+
readonly title: "Grid";
|
|
304
|
+
readonly horizontalGridLines: "Horizontal lines";
|
|
305
|
+
readonly verticalGridLines: "Vertical lines";
|
|
306
|
+
readonly rings: "Rings";
|
|
307
|
+
readonly spokes: "Spokes";
|
|
308
|
+
readonly gridStyle: "Grid style";
|
|
309
|
+
readonly gridThickness: "Grid thickness";
|
|
310
|
+
readonly lineStyles: {
|
|
311
|
+
readonly solid: "Solid";
|
|
312
|
+
readonly dashed: "Dashed";
|
|
313
|
+
readonly dotted: "Dotted";
|
|
314
|
+
};
|
|
315
|
+
};
|
|
275
316
|
readonly graphOptions: {
|
|
276
317
|
readonly sortBars: "Sort high → low";
|
|
277
|
-
readonly gridLines: "Grid lines";
|
|
278
318
|
readonly showPoints: "Show points";
|
|
319
|
+
readonly lineFill: "Fill under line";
|
|
279
320
|
readonly smoothLines: "Smooth lines";
|
|
280
321
|
readonly stackTotals: "Stack totals";
|
|
281
322
|
readonly dataLabels: "Data labels";
|
|
@@ -290,6 +331,19 @@ declare const dictionaries: {
|
|
|
290
331
|
readonly left: "Left";
|
|
291
332
|
readonly right: "Right";
|
|
292
333
|
readonly none: "None";
|
|
334
|
+
readonly alignLabel: "Alignment";
|
|
335
|
+
readonly align: {
|
|
336
|
+
readonly auto: "Auto";
|
|
337
|
+
readonly start: "Start";
|
|
338
|
+
readonly center: "Center";
|
|
339
|
+
readonly end: "End";
|
|
340
|
+
};
|
|
341
|
+
readonly displayLabel: "Style";
|
|
342
|
+
readonly display: {
|
|
343
|
+
readonly auto: "Auto";
|
|
344
|
+
readonly pill: "Pills";
|
|
345
|
+
readonly direct: "Direct";
|
|
346
|
+
};
|
|
293
347
|
};
|
|
294
348
|
readonly numberFormatSection: {
|
|
295
349
|
readonly title: "Number format";
|
|
@@ -339,8 +393,8 @@ declare const dictionaries: {
|
|
|
339
393
|
readonly first: "First";
|
|
340
394
|
readonly previous: "Previous";
|
|
341
395
|
};
|
|
342
|
-
readonly
|
|
343
|
-
readonly
|
|
396
|
+
readonly position: {
|
|
397
|
+
readonly above: "Above";
|
|
344
398
|
readonly center: "Center";
|
|
345
399
|
};
|
|
346
400
|
};
|
|
@@ -390,7 +444,9 @@ declare const dictionaries: {
|
|
|
390
444
|
readonly yAxis: "Y-axis";
|
|
391
445
|
};
|
|
392
446
|
readonly controls: {
|
|
447
|
+
readonly title: "Title";
|
|
393
448
|
readonly visible: "Visible";
|
|
449
|
+
readonly ticks: "Ticks";
|
|
394
450
|
readonly labels: "Labels";
|
|
395
451
|
readonly position: "Position";
|
|
396
452
|
readonly scale: "Scale";
|
|
@@ -437,6 +493,10 @@ declare const dictionaries: {
|
|
|
437
493
|
readonly themeSection: {
|
|
438
494
|
readonly title: "Theme";
|
|
439
495
|
};
|
|
496
|
+
readonly appearanceSection: {
|
|
497
|
+
readonly title: "Appearance";
|
|
498
|
+
readonly highlightStyle: "Highlight";
|
|
499
|
+
};
|
|
440
500
|
readonly paletteSection: {
|
|
441
501
|
readonly title: "Palette";
|
|
442
502
|
readonly colorScheme: "Color scheme";
|
|
@@ -1055,13 +1115,46 @@ declare const dictionaries: {
|
|
|
1055
1115
|
readonly graphTypeSection: {
|
|
1056
1116
|
readonly title: "نوع الرسم البياني";
|
|
1057
1117
|
};
|
|
1118
|
+
readonly polarSection: {
|
|
1119
|
+
readonly title: "قطبي";
|
|
1120
|
+
readonly innerRadius: "نصف القطر الداخلي";
|
|
1121
|
+
readonly startAngle: "زاوية البداية";
|
|
1122
|
+
};
|
|
1123
|
+
readonly barSection: {
|
|
1124
|
+
readonly title: "الأعمدة";
|
|
1125
|
+
readonly thickness: "سمك العمود";
|
|
1126
|
+
readonly rounding: "التدوير";
|
|
1127
|
+
readonly roundingOptions: {
|
|
1128
|
+
readonly none: "بلا";
|
|
1129
|
+
readonly xs: "XS";
|
|
1130
|
+
readonly sm: "S";
|
|
1131
|
+
readonly md: "M";
|
|
1132
|
+
readonly lg: "L";
|
|
1133
|
+
readonly xl: "XL";
|
|
1134
|
+
readonly full: "كامل";
|
|
1135
|
+
};
|
|
1136
|
+
};
|
|
1058
1137
|
readonly graphOptionsSection: {
|
|
1059
1138
|
readonly title: "خيارات الرسم البياني";
|
|
1060
1139
|
};
|
|
1140
|
+
readonly gridSection: {
|
|
1141
|
+
readonly title: "الشبكة";
|
|
1142
|
+
readonly horizontalGridLines: "خطوط أفقية";
|
|
1143
|
+
readonly verticalGridLines: "خطوط رأسية";
|
|
1144
|
+
readonly rings: "حلقات";
|
|
1145
|
+
readonly spokes: "أشعة";
|
|
1146
|
+
readonly gridStyle: "نمط الشبكة";
|
|
1147
|
+
readonly gridThickness: "سمك الشبكة";
|
|
1148
|
+
readonly lineStyles: {
|
|
1149
|
+
readonly solid: "متصل";
|
|
1150
|
+
readonly dashed: "متقطع";
|
|
1151
|
+
readonly dotted: "منقط";
|
|
1152
|
+
};
|
|
1153
|
+
};
|
|
1061
1154
|
readonly graphOptions: {
|
|
1062
1155
|
readonly sortBars: "ترتيب من الأعلى ← الأدنى";
|
|
1063
|
-
readonly gridLines: "خطوط الشبكة";
|
|
1064
1156
|
readonly showPoints: "إظهار النقاط";
|
|
1157
|
+
readonly lineFill: "تعبئة تحت الخط";
|
|
1065
1158
|
readonly smoothLines: "خطوط ناعمة";
|
|
1066
1159
|
readonly stackTotals: "مجاميع المكدس";
|
|
1067
1160
|
readonly dataLabels: "تسميات البيانات";
|
|
@@ -1076,6 +1169,19 @@ declare const dictionaries: {
|
|
|
1076
1169
|
readonly left: "يسار";
|
|
1077
1170
|
readonly right: "يمين";
|
|
1078
1171
|
readonly none: "بدون";
|
|
1172
|
+
readonly alignLabel: "المحاذاة";
|
|
1173
|
+
readonly align: {
|
|
1174
|
+
readonly auto: "تلقائي";
|
|
1175
|
+
readonly start: "البداية";
|
|
1176
|
+
readonly center: "الوسط";
|
|
1177
|
+
readonly end: "النهاية";
|
|
1178
|
+
};
|
|
1179
|
+
readonly displayLabel: "النمط";
|
|
1180
|
+
readonly display: {
|
|
1181
|
+
readonly auto: "تلقائي";
|
|
1182
|
+
readonly pill: "شارات";
|
|
1183
|
+
readonly direct: "على الرسم";
|
|
1184
|
+
};
|
|
1079
1185
|
};
|
|
1080
1186
|
readonly numberFormatSection: {
|
|
1081
1187
|
readonly title: "تنسيق الأرقام";
|
|
@@ -1125,8 +1231,8 @@ declare const dictionaries: {
|
|
|
1125
1231
|
readonly first: "الأول";
|
|
1126
1232
|
readonly previous: "السابق";
|
|
1127
1233
|
};
|
|
1128
|
-
readonly
|
|
1129
|
-
readonly
|
|
1234
|
+
readonly position: {
|
|
1235
|
+
readonly above: "أعلى";
|
|
1130
1236
|
readonly center: "وسط";
|
|
1131
1237
|
};
|
|
1132
1238
|
};
|
|
@@ -1176,7 +1282,9 @@ declare const dictionaries: {
|
|
|
1176
1282
|
readonly yAxis: "المحور الصادي";
|
|
1177
1283
|
};
|
|
1178
1284
|
readonly controls: {
|
|
1285
|
+
readonly title: "العنوان";
|
|
1179
1286
|
readonly visible: "مرئي";
|
|
1287
|
+
readonly ticks: "العلامات";
|
|
1180
1288
|
readonly labels: "التسميات";
|
|
1181
1289
|
readonly position: "الموضع";
|
|
1182
1290
|
readonly scale: "المقياس";
|
|
@@ -1223,6 +1331,10 @@ declare const dictionaries: {
|
|
|
1223
1331
|
readonly themeSection: {
|
|
1224
1332
|
readonly title: "السمة";
|
|
1225
1333
|
};
|
|
1334
|
+
readonly appearanceSection: {
|
|
1335
|
+
readonly title: "المظهر";
|
|
1336
|
+
readonly highlightStyle: "التمييز";
|
|
1337
|
+
};
|
|
1226
1338
|
readonly paletteSection: {
|
|
1227
1339
|
readonly title: "لوحة الألوان";
|
|
1228
1340
|
readonly colorScheme: "نظام الألوان";
|
|
@@ -1840,13 +1952,46 @@ declare const dictionaries: {
|
|
|
1840
1952
|
readonly graphTypeSection: {
|
|
1841
1953
|
readonly title: "Tipo de gráfico";
|
|
1842
1954
|
};
|
|
1955
|
+
readonly polarSection: {
|
|
1956
|
+
readonly title: "Polar";
|
|
1957
|
+
readonly innerRadius: "Raio interno";
|
|
1958
|
+
readonly startAngle: "Ângulo inicial";
|
|
1959
|
+
};
|
|
1960
|
+
readonly barSection: {
|
|
1961
|
+
readonly title: "Barras";
|
|
1962
|
+
readonly thickness: "Espessura da barra";
|
|
1963
|
+
readonly rounding: "Arredondamento";
|
|
1964
|
+
readonly roundingOptions: {
|
|
1965
|
+
readonly none: "Nenhum";
|
|
1966
|
+
readonly xs: "XS";
|
|
1967
|
+
readonly sm: "S";
|
|
1968
|
+
readonly md: "M";
|
|
1969
|
+
readonly lg: "L";
|
|
1970
|
+
readonly xl: "XL";
|
|
1971
|
+
readonly full: "Total";
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1843
1974
|
readonly graphOptionsSection: {
|
|
1844
1975
|
readonly title: "Opções do gráfico";
|
|
1845
1976
|
};
|
|
1977
|
+
readonly gridSection: {
|
|
1978
|
+
readonly title: "Grelha";
|
|
1979
|
+
readonly horizontalGridLines: "Linhas horizontais";
|
|
1980
|
+
readonly verticalGridLines: "Linhas verticais";
|
|
1981
|
+
readonly rings: "Anéis";
|
|
1982
|
+
readonly spokes: "Raios";
|
|
1983
|
+
readonly gridStyle: "Estilo da grelha";
|
|
1984
|
+
readonly gridThickness: "Espessura da grelha";
|
|
1985
|
+
readonly lineStyles: {
|
|
1986
|
+
readonly solid: "Sólida";
|
|
1987
|
+
readonly dashed: "Tracejada";
|
|
1988
|
+
readonly dotted: "Pontilhada";
|
|
1989
|
+
};
|
|
1990
|
+
};
|
|
1846
1991
|
readonly graphOptions: {
|
|
1847
1992
|
readonly sortBars: "Ordenar maior → menor";
|
|
1848
|
-
readonly gridLines: "Linhas de grelha";
|
|
1849
1993
|
readonly showPoints: "Mostrar pontos";
|
|
1994
|
+
readonly lineFill: "Preencher sob a linha";
|
|
1850
1995
|
readonly smoothLines: "Linhas suaves";
|
|
1851
1996
|
readonly stackTotals: "Totais sobrepostos";
|
|
1852
1997
|
readonly dataLabels: "Etiquetas de dados";
|
|
@@ -1861,6 +2006,19 @@ declare const dictionaries: {
|
|
|
1861
2006
|
readonly left: "Esquerda";
|
|
1862
2007
|
readonly right: "Direita";
|
|
1863
2008
|
readonly none: "Nenhuma";
|
|
2009
|
+
readonly alignLabel: "Alinhamento";
|
|
2010
|
+
readonly align: {
|
|
2011
|
+
readonly auto: "Automático";
|
|
2012
|
+
readonly start: "Início";
|
|
2013
|
+
readonly center: "Centro";
|
|
2014
|
+
readonly end: "Fim";
|
|
2015
|
+
};
|
|
2016
|
+
readonly displayLabel: "Estilo";
|
|
2017
|
+
readonly display: {
|
|
2018
|
+
readonly auto: "Automático";
|
|
2019
|
+
readonly pill: "Etiquetas";
|
|
2020
|
+
readonly direct: "No gráfico";
|
|
2021
|
+
};
|
|
1864
2022
|
};
|
|
1865
2023
|
readonly numberFormatSection: {
|
|
1866
2024
|
readonly title: "Formato numérico";
|
|
@@ -1910,8 +2068,8 @@ declare const dictionaries: {
|
|
|
1910
2068
|
readonly first: "Primeiro";
|
|
1911
2069
|
readonly previous: "Anterior";
|
|
1912
2070
|
};
|
|
1913
|
-
readonly
|
|
1914
|
-
readonly
|
|
2071
|
+
readonly position: {
|
|
2072
|
+
readonly above: "Acima";
|
|
1915
2073
|
readonly center: "Centro";
|
|
1916
2074
|
};
|
|
1917
2075
|
};
|
|
@@ -1961,7 +2119,9 @@ declare const dictionaries: {
|
|
|
1961
2119
|
readonly yAxis: "Eixo Y";
|
|
1962
2120
|
};
|
|
1963
2121
|
readonly controls: {
|
|
2122
|
+
readonly title: "Título";
|
|
1964
2123
|
readonly visible: "Visível";
|
|
2124
|
+
readonly ticks: "Marcas";
|
|
1965
2125
|
readonly labels: "Etiquetas";
|
|
1966
2126
|
readonly position: "Posição";
|
|
1967
2127
|
readonly scale: "Escala";
|
|
@@ -2008,6 +2168,10 @@ declare const dictionaries: {
|
|
|
2008
2168
|
readonly themeSection: {
|
|
2009
2169
|
readonly title: "Tema";
|
|
2010
2170
|
};
|
|
2171
|
+
readonly appearanceSection: {
|
|
2172
|
+
readonly title: "Aparência";
|
|
2173
|
+
readonly highlightStyle: "Destaque";
|
|
2174
|
+
};
|
|
2011
2175
|
readonly paletteSection: {
|
|
2012
2176
|
readonly title: "Paleta";
|
|
2013
2177
|
readonly colorScheme: "Esquema de cores";
|
|
@@ -2682,13 +2846,46 @@ declare const EN_GB: {
|
|
|
2682
2846
|
readonly graphTypeSection: {
|
|
2683
2847
|
readonly title: "Graph type";
|
|
2684
2848
|
};
|
|
2849
|
+
readonly polarSection: {
|
|
2850
|
+
readonly title: "Polar";
|
|
2851
|
+
readonly innerRadius: "Inner radius";
|
|
2852
|
+
readonly startAngle: "Start angle";
|
|
2853
|
+
};
|
|
2854
|
+
readonly barSection: {
|
|
2855
|
+
readonly title: "Bars";
|
|
2856
|
+
readonly thickness: "Bar thickness";
|
|
2857
|
+
readonly rounding: "Rounding";
|
|
2858
|
+
readonly roundingOptions: {
|
|
2859
|
+
readonly none: "None";
|
|
2860
|
+
readonly xs: "XS";
|
|
2861
|
+
readonly sm: "S";
|
|
2862
|
+
readonly md: "M";
|
|
2863
|
+
readonly lg: "L";
|
|
2864
|
+
readonly xl: "XL";
|
|
2865
|
+
readonly full: "Full";
|
|
2866
|
+
};
|
|
2867
|
+
};
|
|
2685
2868
|
readonly graphOptionsSection: {
|
|
2686
2869
|
readonly title: "Graph options";
|
|
2687
2870
|
};
|
|
2871
|
+
readonly gridSection: {
|
|
2872
|
+
readonly title: "Grid";
|
|
2873
|
+
readonly horizontalGridLines: "Horizontal lines";
|
|
2874
|
+
readonly verticalGridLines: "Vertical lines";
|
|
2875
|
+
readonly rings: "Rings";
|
|
2876
|
+
readonly spokes: "Spokes";
|
|
2877
|
+
readonly gridStyle: "Grid style";
|
|
2878
|
+
readonly gridThickness: "Grid thickness";
|
|
2879
|
+
readonly lineStyles: {
|
|
2880
|
+
readonly solid: "Solid";
|
|
2881
|
+
readonly dashed: "Dashed";
|
|
2882
|
+
readonly dotted: "Dotted";
|
|
2883
|
+
};
|
|
2884
|
+
};
|
|
2688
2885
|
readonly graphOptions: {
|
|
2689
2886
|
readonly sortBars: "Sort high → low";
|
|
2690
|
-
readonly gridLines: "Grid lines";
|
|
2691
2887
|
readonly showPoints: "Show points";
|
|
2888
|
+
readonly lineFill: "Fill under line";
|
|
2692
2889
|
readonly smoothLines: "Smooth lines";
|
|
2693
2890
|
readonly stackTotals: "Stack totals";
|
|
2694
2891
|
readonly dataLabels: "Data labels";
|
|
@@ -2703,6 +2900,19 @@ declare const EN_GB: {
|
|
|
2703
2900
|
readonly left: "Left";
|
|
2704
2901
|
readonly right: "Right";
|
|
2705
2902
|
readonly none: "None";
|
|
2903
|
+
readonly alignLabel: "Alignment";
|
|
2904
|
+
readonly align: {
|
|
2905
|
+
readonly auto: "Auto";
|
|
2906
|
+
readonly start: "Start";
|
|
2907
|
+
readonly center: "Center";
|
|
2908
|
+
readonly end: "End";
|
|
2909
|
+
};
|
|
2910
|
+
readonly displayLabel: "Style";
|
|
2911
|
+
readonly display: {
|
|
2912
|
+
readonly auto: "Auto";
|
|
2913
|
+
readonly pill: "Pills";
|
|
2914
|
+
readonly direct: "Direct";
|
|
2915
|
+
};
|
|
2706
2916
|
};
|
|
2707
2917
|
readonly numberFormatSection: {
|
|
2708
2918
|
readonly title: "Number format";
|
|
@@ -2752,8 +2962,8 @@ declare const EN_GB: {
|
|
|
2752
2962
|
readonly first: "First";
|
|
2753
2963
|
readonly previous: "Previous";
|
|
2754
2964
|
};
|
|
2755
|
-
readonly
|
|
2756
|
-
readonly
|
|
2965
|
+
readonly position: {
|
|
2966
|
+
readonly above: "Above";
|
|
2757
2967
|
readonly center: "Center";
|
|
2758
2968
|
};
|
|
2759
2969
|
};
|
|
@@ -2803,7 +3013,9 @@ declare const EN_GB: {
|
|
|
2803
3013
|
readonly yAxis: "Y-axis";
|
|
2804
3014
|
};
|
|
2805
3015
|
readonly controls: {
|
|
3016
|
+
readonly title: "Title";
|
|
2806
3017
|
readonly visible: "Visible";
|
|
3018
|
+
readonly ticks: "Ticks";
|
|
2807
3019
|
readonly labels: "Labels";
|
|
2808
3020
|
readonly position: "Position";
|
|
2809
3021
|
readonly scale: "Scale";
|
|
@@ -2850,6 +3062,10 @@ declare const EN_GB: {
|
|
|
2850
3062
|
readonly themeSection: {
|
|
2851
3063
|
readonly title: "Theme";
|
|
2852
3064
|
};
|
|
3065
|
+
readonly appearanceSection: {
|
|
3066
|
+
readonly title: "Appearance";
|
|
3067
|
+
readonly highlightStyle: "Highlight";
|
|
3068
|
+
};
|
|
2853
3069
|
readonly paletteSection: {
|
|
2854
3070
|
readonly title: "Palette";
|
|
2855
3071
|
readonly colorScheme: "Color scheme";
|
|
@@ -3475,6 +3691,19 @@ declare interface GraphHandle {
|
|
|
3475
3691
|
*/
|
|
3476
3692
|
declare type GraphMode = 'readonly' | 'editable';
|
|
3477
3693
|
|
|
3694
|
+
/**
|
|
3695
|
+
* What a chart writes on its own marks. The grid is chrome behind them, and has its own section.
|
|
3696
|
+
*
|
|
3697
|
+
* Each row mirrors a condition in `runtime/data-labels/strategies/*.placement.ts` and
|
|
3698
|
+
* `Geom.dataLabelCoordTypes`, so a row is only offered where the engine will draw it.
|
|
3699
|
+
*/
|
|
3700
|
+
export declare const GraphOptionsSection: ({ layerId, title, layout, preview }: GraphOptionsSectionProps) => JSX.Element | null;
|
|
3701
|
+
|
|
3702
|
+
export declare interface GraphOptionsSectionProps extends OverridableSectionProps {
|
|
3703
|
+
/** Whose labels to edit. Defaults to the first layer; a combo's bars and line each carry their own. */
|
|
3704
|
+
layerId?: string;
|
|
3705
|
+
}
|
|
3706
|
+
|
|
3478
3707
|
/** Props for {@link GraphRenderer}: container sizing, interaction toggles and per-region slot overrides. */
|
|
3479
3708
|
declare interface GraphRendererProps {
|
|
3480
3709
|
/** Controls how the graph responds to its container size. Defaults to filling the parent container. */
|
|
@@ -3540,6 +3769,12 @@ declare interface GraphSlots {
|
|
|
3540
3769
|
AxisLabel?: SlotOverride<AxisLabelSlotProps, (axis: FormattedAxis, ctx: SlotMeasureContext) => number>;
|
|
3541
3770
|
}
|
|
3542
3771
|
|
|
3772
|
+
/**
|
|
3773
|
+
* Visibility switches per direction, since a chart often wants horizontal rules and no vertical ones.
|
|
3774
|
+
* Style and thickness stay shared: two directions styled apart read as two grids rather than one.
|
|
3775
|
+
*/
|
|
3776
|
+
export declare const GridSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
3777
|
+
|
|
3543
3778
|
/**
|
|
3544
3779
|
* Props for the Grid slot, overridable via `slots.Grid` on `GraphRenderer`. `panelRect` is in
|
|
3545
3780
|
* SVG-local coordinates.
|
|
@@ -3571,6 +3806,14 @@ declare interface HeaderSlotProps {
|
|
|
3571
3806
|
brandMark: BrandMarkVisual;
|
|
3572
3807
|
}
|
|
3573
3808
|
|
|
3809
|
+
/**
|
|
3810
|
+
* The aggregate a chart states above itself.
|
|
3811
|
+
*
|
|
3812
|
+
* `show: 'none'` is the off state rather than a separate flag, so the *Visible* switch writes the
|
|
3813
|
+
* metric.
|
|
3814
|
+
*/
|
|
3815
|
+
export declare const HeadlineSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
3816
|
+
|
|
3574
3817
|
/** Props for the Headline slot, overridable via `slots.Headline` on `GraphRenderer`. */
|
|
3575
3818
|
declare interface HeadlineSlotProps {
|
|
3576
3819
|
headline: FormattedHeadline;
|
|
@@ -3603,16 +3846,10 @@ declare interface IntroAnimationOptions {
|
|
|
3603
3846
|
maxAnimatedGeoms: number;
|
|
3604
3847
|
}
|
|
3605
3848
|
|
|
3606
|
-
/**
|
|
3607
|
-
* Where the legend sits relative to the chart. Renders nothing until the graph has compiled, since
|
|
3608
|
-
* there is no position to show before then.
|
|
3609
|
-
*
|
|
3610
|
-
* `inline` by default: a narrowed chart offers two or three positions, which fit beside the heading.
|
|
3611
|
-
* A host that mounts it among collapsible sections passes `layout` rather than forking the section.
|
|
3612
|
-
*/
|
|
3849
|
+
/** Where the legend sits relative to the chart, and how it names its series. */
|
|
3613
3850
|
export declare const LegendSection: ({ positions, title, layout, preview }: LegendSectionProps) => JSX.Element | null;
|
|
3614
3851
|
|
|
3615
|
-
declare interface LegendSectionProps extends OverridableSectionProps {
|
|
3852
|
+
export declare interface LegendSectionProps extends OverridableSectionProps {
|
|
3616
3853
|
/** Overrides the positions offered, for a host that knows its own layout constraints. */
|
|
3617
3854
|
positions?: readonly LegendPosition[];
|
|
3618
3855
|
}
|
|
@@ -3624,6 +3861,12 @@ declare interface LegendSlotProps {
|
|
|
3624
3861
|
textScale: number;
|
|
3625
3862
|
}
|
|
3626
3863
|
|
|
3864
|
+
/**
|
|
3865
|
+
* How a path is drawn: its points, curve, thickness and missing values. Renders nothing unless the
|
|
3866
|
+
* chart holds a line or an area.
|
|
3867
|
+
*/
|
|
3868
|
+
export declare const LineSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
3869
|
+
|
|
3627
3870
|
declare type LocaleShape = {
|
|
3628
3871
|
dir?: TextDirection;
|
|
3629
3872
|
} & Dictionary<typeof EN_GB>;
|
|
@@ -3704,6 +3947,15 @@ declare type PhraseFn<P extends Record<string, unknown> = Record<string, unknown
|
|
|
3704
3947
|
|
|
3705
3948
|
declare type PhraseOf<K extends TranslationKey> = DeepValue<typeof EN_GB, K>;
|
|
3706
3949
|
|
|
3950
|
+
/**
|
|
3951
|
+
* How large a chart's authored points are drawn. Renders nothing unless a point layer is the host's
|
|
3952
|
+
* own: a path's companion points are sized from the line section, under the switch that grows them.
|
|
3953
|
+
*/
|
|
3954
|
+
export declare const PointSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
3955
|
+
|
|
3956
|
+
/** How big a hole a round chart has, and where its sweep begins. */
|
|
3957
|
+
export declare const PolarSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
3958
|
+
|
|
3707
3959
|
/**
|
|
3708
3960
|
* A grid of picture-led choices, for settings that read faster as shapes than as words — chart
|
|
3709
3961
|
* type, text size, a row of colour chips.
|
|
@@ -3869,12 +4121,7 @@ declare interface SlotOverride<Props, Measure> {
|
|
|
3869
4121
|
measure: Measure;
|
|
3870
4122
|
}
|
|
3871
4123
|
|
|
3872
|
-
/**
|
|
3873
|
-
* Whether the chart shows its source, and the attribution it names.
|
|
3874
|
-
*
|
|
3875
|
-
* The only text slot typed here rather than on the chart: a source is never editable in place, so
|
|
3876
|
-
* the panel is the only way to set one.
|
|
3877
|
-
*/
|
|
4124
|
+
/** Whether the chart shows its source. The one text slot never editable in place on the chart. */
|
|
3878
4125
|
export declare const SourceSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
3879
4126
|
|
|
3880
4127
|
/**
|
|
@@ -3947,12 +4194,7 @@ export declare interface TextFieldControlProps extends ContinuousControlProps<st
|
|
|
3947
4194
|
hasError?: boolean;
|
|
3948
4195
|
}
|
|
3949
4196
|
|
|
3950
|
-
/**
|
|
3951
|
-
* How large every text element in the chart is drawn, as one multiplier over the theme's own sizes.
|
|
3952
|
-
*
|
|
3953
|
-
* It applies to ticks and labels as much as to the title, so it belongs to the chart rather than to
|
|
3954
|
-
* any one piece of its content.
|
|
3955
|
-
*/
|
|
4197
|
+
/** How large every text element is drawn, as one multiplier over the theme's own sizes. */
|
|
3956
4198
|
export declare const TextSizeSection: ({ title, layout, preview }: OverridableSectionProps) => JSX.Element | null;
|
|
3957
4199
|
|
|
3958
4200
|
/**
|