@cdc/chart 4.24.10 → 4.24.12
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/cdcchart.js +34651 -33978
- package/examples/feature/boxplot/boxplot-data.json +88 -22
- package/examples/feature/boxplot/boxplot.json +540 -16
- package/examples/feature/boxplot/testing.csv +7 -7
- package/examples/feature/sankey/sankey-example-data.json +126 -14
- package/examples/feature/tests-date-exclusions/date-exclusions-config.json +372 -12
- package/examples/private/DEV-8850-2.json +493 -0
- package/examples/private/DEV-9822.json +574 -0
- package/examples/private/DEV-9840.json +553 -0
- package/examples/private/DEV-9850-3.json +461 -0
- package/examples/private/chart.json +1084 -0
- package/examples/private/ci_formatted.json +202 -0
- package/examples/private/ci_issue.json +3016 -0
- package/examples/private/completed.json +634 -0
- package/examples/private/dem-data-long.csv +20 -0
- package/examples/private/dem-data-long.json +36 -0
- package/examples/private/demographic_data.csv +157 -0
- package/examples/private/demographic_data.json +2654 -0
- package/examples/private/demographic_dynamic.json +443 -0
- package/examples/private/demographic_standard.json +560 -0
- package/examples/private/test.json +493 -0
- package/index.html +10 -7
- package/package.json +2 -2
- package/src/CdcChart.tsx +132 -152
- package/src/_stories/Chart.Anchors.stories.tsx +31 -0
- package/src/_stories/Chart.CustomColors.stories.tsx +19 -0
- package/src/_stories/Chart.DynamicSeries.stories.tsx +34 -0
- package/src/_stories/Chart.Legend.Gradient.stories.tsx +42 -1
- package/src/_stories/Chart.stories.tsx +37 -6
- package/src/_stories/ChartAxisLabels.stories.tsx +4 -1
- package/src/_stories/ChartEditor.stories.tsx +27 -0
- package/src/_stories/ChartLine.Suppression.stories.tsx +25 -0
- package/src/_stories/ChartPrefixSuffix.stories.tsx +8 -0
- package/{examples/feature/area/area-chart-date-city-temperature.json → src/_stories/_mock/area_chart_stacked.json} +125 -27
- package/src/_stories/_mock/boxplot_multiseries.json +647 -0
- package/src/_stories/_mock/dynamic_series_bar_config.json +723 -0
- package/src/_stories/_mock/dynamic_series_config.json +979 -0
- package/src/_stories/_mock/line_chart_dynamic_ci.json +493 -0
- package/src/_stories/_mock/line_chart_non_dynamic_ci.json +522 -0
- package/{examples/feature/scatterplot/scatterplot.json → src/_stories/_mock/scatterplot_mock.json} +62 -92
- package/src/_stories/_mock/short_dates.json +288 -0
- package/src/_stories/_mock/suppression_mock.json +1549 -0
- package/src/components/AreaChart/components/AreaChart.Stacked.jsx +15 -3
- package/src/components/Axis/Categorical.Axis.tsx +2 -2
- package/src/components/BarChart/components/BarChart.Horizontal.tsx +46 -37
- package/src/components/BarChart/components/BarChart.StackedVertical.tsx +43 -9
- package/src/components/BarChart/components/BarChart.Vertical.tsx +53 -47
- package/src/components/BarChart/helpers/getBarData.ts +28 -0
- package/src/components/BarChart/helpers/index.ts +1 -2
- package/src/components/BarChart/helpers/tests/getBarData.test.ts +74 -0
- package/src/components/BoxPlot/BoxPlot.tsx +131 -0
- package/src/components/BoxPlot/helpers/index.ts +54 -0
- package/src/components/BrushChart.tsx +23 -26
- package/src/components/EditorPanel/EditorPanel.tsx +117 -139
- package/src/components/EditorPanel/components/Panels/Panel.Annotate.tsx +3 -3
- package/src/components/EditorPanel/components/Panels/Panel.BoxPlot.tsx +51 -6
- package/src/components/EditorPanel/components/Panels/Panel.Regions.tsx +40 -9
- package/src/components/EditorPanel/components/Panels/Panel.Sankey.tsx +3 -3
- package/src/components/EditorPanel/components/Panels/Panel.Series.tsx +122 -56
- package/src/components/EditorPanel/components/Panels/Panel.Visual.tsx +1 -2
- package/src/components/EditorPanel/useEditorPermissions.ts +20 -2
- package/src/components/Legend/Legend.Component.tsx +11 -12
- package/src/components/Legend/Legend.tsx +16 -16
- package/src/components/Legend/helpers/getLegendClasses.ts +59 -0
- package/src/components/Legend/helpers/index.ts +2 -1
- package/src/components/Legend/tests/getLegendClasses.test.ts +115 -0
- package/src/components/LineChart/components/LineChart.Circle.tsx +1 -1
- package/src/components/LineChart/helpers.ts +49 -43
- package/src/components/LineChart/index.tsx +135 -83
- package/src/components/LinearChart.tsx +187 -181
- package/src/components/PieChart/PieChart.tsx +7 -1
- package/src/components/Sankey/components/ColumnList.tsx +19 -0
- package/src/components/Sankey/components/Sankey.tsx +479 -0
- package/src/components/Sankey/helpers/getSankeyTooltip.tsx +33 -0
- package/src/components/Sankey/index.tsx +1 -492
- package/src/components/Sankey/sankey.scss +22 -21
- package/src/components/Sankey/types/index.ts +1 -1
- package/src/components/Sankey/useSankeyAlert.tsx +60 -0
- package/src/components/ScatterPlot/ScatterPlot.jsx +20 -4
- package/src/data/initial-state.js +7 -12
- package/src/helpers/countNumOfTicks.ts +57 -0
- package/src/helpers/getQuartiles.ts +15 -18
- package/src/hooks/useMinMax.ts +44 -16
- package/src/hooks/useReduceData.ts +43 -10
- package/src/hooks/useScales.ts +90 -35
- package/src/hooks/useTooltip.tsx +59 -50
- package/src/scss/DataTable.scss +5 -0
- package/src/scss/main.scss +6 -20
- package/src/types/ChartConfig.ts +6 -19
- package/src/types/ChartContext.ts +4 -1
- package/src/types/ForestPlot.ts +8 -0
- package/src/components/BoxPlot/BoxPlot.jsx +0 -111
- package/src/hooks/useLegendClasses.ts +0 -72
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
+
"annotations": [],
|
|
2
3
|
"type": "chart",
|
|
4
|
+
"debugSvg": false,
|
|
5
|
+
"chartMessage": {
|
|
6
|
+
"noData": "No Data Available"
|
|
7
|
+
},
|
|
3
8
|
"title": "Example Box Plot",
|
|
9
|
+
"showTitle": true,
|
|
10
|
+
"showDownloadMediaButton": false,
|
|
4
11
|
"theme": "theme-blue",
|
|
5
12
|
"animate": false,
|
|
6
13
|
"fontSize": "medium",
|
|
7
14
|
"lineDatapointStyle": "hover",
|
|
15
|
+
"lineDatapointColor": "Same as Line",
|
|
8
16
|
"barHasBorder": "false",
|
|
9
17
|
"isLollipopChart": false,
|
|
10
18
|
"lollipopShape": "circle",
|
|
@@ -13,18 +21,28 @@
|
|
|
13
21
|
"barStyle": "",
|
|
14
22
|
"roundingStyle": "standard",
|
|
15
23
|
"tipRounding": "top",
|
|
24
|
+
"isResponsiveTicks": false,
|
|
25
|
+
"general": {
|
|
26
|
+
"annotationDropdownText": "Annotations",
|
|
27
|
+
"showDownloadButton": false,
|
|
28
|
+
"showMissingDataLabel": true,
|
|
29
|
+
"showSuppressedSymbol": true,
|
|
30
|
+
"showZeroValueData": true,
|
|
31
|
+
"hideNullValue": true
|
|
32
|
+
},
|
|
16
33
|
"padding": {
|
|
17
34
|
"left": 5,
|
|
18
35
|
"right": 5
|
|
19
36
|
},
|
|
37
|
+
"preliminaryData": [],
|
|
20
38
|
"yAxis": {
|
|
21
|
-
"dataKey": "value",
|
|
22
39
|
"hideAxis": false,
|
|
23
40
|
"displayNumbersOnBar": false,
|
|
24
41
|
"hideLabel": false,
|
|
25
42
|
"hideTicks": false,
|
|
26
43
|
"size": 50,
|
|
27
44
|
"gridLines": true,
|
|
45
|
+
"enablePadding": false,
|
|
28
46
|
"min": "",
|
|
29
47
|
"max": "",
|
|
30
48
|
"labelColor": "#333",
|
|
@@ -32,22 +50,215 @@
|
|
|
32
50
|
"tickColor": "#333",
|
|
33
51
|
"rightHideAxis": true,
|
|
34
52
|
"rightAxisSize": 50,
|
|
53
|
+
"rightLabel": "",
|
|
35
54
|
"rightLabelOffsetSize": 0,
|
|
36
55
|
"rightAxisLabelColor": "#333",
|
|
37
56
|
"rightAxisTickLabelColor": "#333",
|
|
38
57
|
"rightAxisTickColor": "#333",
|
|
39
|
-
"isLegendValue": false,
|
|
40
58
|
"numTicks": "",
|
|
59
|
+
"axisPadding": 0,
|
|
60
|
+
"scalePadding": 10,
|
|
61
|
+
"tickRotation": 0,
|
|
62
|
+
"anchors": [],
|
|
63
|
+
"shoMissingDataLabel": true,
|
|
64
|
+
"showMissingDataLine": true,
|
|
65
|
+
"categories": [],
|
|
66
|
+
"dataKey": "value",
|
|
67
|
+
"isLegendValue": false,
|
|
41
68
|
"label": "Observations"
|
|
42
69
|
},
|
|
70
|
+
"boxplot": {
|
|
71
|
+
"plots": [
|
|
72
|
+
{
|
|
73
|
+
"columnCategory": "category one",
|
|
74
|
+
"columnMax": 24,
|
|
75
|
+
"columnThirdQuartile": "24",
|
|
76
|
+
"columnMedian": "22",
|
|
77
|
+
"columnFirstQuartile": "20",
|
|
78
|
+
"columnMin": 19,
|
|
79
|
+
"columnCount": 4,
|
|
80
|
+
"columnSd": "2",
|
|
81
|
+
"columnMean": "22",
|
|
82
|
+
"columnIqr": "4",
|
|
83
|
+
"columnLowerBounds": 19,
|
|
84
|
+
"columnUpperBounds": 24,
|
|
85
|
+
"columnOutliers": [],
|
|
86
|
+
"values": [19, 21, 23, 24],
|
|
87
|
+
"keyValues": {
|
|
88
|
+
"Value": ["21", "19", "23", "24"],
|
|
89
|
+
"Price": ["100", "105", "110", "115"]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"columnCategory": "category two",
|
|
94
|
+
"columnMax": 19,
|
|
95
|
+
"columnThirdQuartile": "19",
|
|
96
|
+
"columnMedian": "15",
|
|
97
|
+
"columnFirstQuartile": "11",
|
|
98
|
+
"columnMin": 10,
|
|
99
|
+
"columnCount": 4,
|
|
100
|
+
"columnSd": "4",
|
|
101
|
+
"columnMean": "15",
|
|
102
|
+
"columnIqr": "8",
|
|
103
|
+
"columnLowerBounds": 10,
|
|
104
|
+
"columnUpperBounds": 19,
|
|
105
|
+
"columnOutliers": [],
|
|
106
|
+
"values": [10, 12, 18, 19],
|
|
107
|
+
"keyValues": {
|
|
108
|
+
"Value": ["18", "10", "12", "19"],
|
|
109
|
+
"Price": ["120", "125", "130", "135"]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"columnCategory": "category three",
|
|
114
|
+
"columnMax": 45.25,
|
|
115
|
+
"columnThirdQuartile": "41",
|
|
116
|
+
"columnMedian": "36",
|
|
117
|
+
"columnFirstQuartile": "33",
|
|
118
|
+
"columnMin": 30,
|
|
119
|
+
"columnCount": 4,
|
|
120
|
+
"columnSd": "7",
|
|
121
|
+
"columnMean": "37",
|
|
122
|
+
"columnIqr": "9",
|
|
123
|
+
"columnLowerBounds": 30,
|
|
124
|
+
"columnUpperBounds": 45.25,
|
|
125
|
+
"columnOutliers": [],
|
|
126
|
+
"values": [30, 35, 36, 46],
|
|
127
|
+
"keyValues": {
|
|
128
|
+
"Value": ["30", "35", "36", "46"],
|
|
129
|
+
"Price": ["140", "145", "150", "155"]
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"columnCategory": "category four",
|
|
134
|
+
"columnMax": 57.5,
|
|
135
|
+
"columnThirdQuartile": "50",
|
|
136
|
+
"columnMedian": "43",
|
|
137
|
+
"columnFirstQuartile": "35",
|
|
138
|
+
"columnMin": 21,
|
|
139
|
+
"columnCount": 10,
|
|
140
|
+
"columnSd": "20",
|
|
141
|
+
"columnMean": "48",
|
|
142
|
+
"columnIqr": "15",
|
|
143
|
+
"columnLowerBounds": 21,
|
|
144
|
+
"columnUpperBounds": 57.5,
|
|
145
|
+
"columnOutliers": [82, 85],
|
|
146
|
+
"values": [21, 30, 40, 41, 42, 43, 50, 50, 82, 85],
|
|
147
|
+
"keyValues": {
|
|
148
|
+
"Value": ["30", "40", "50", "50", "85", "82", "43", "42", "41", "21"],
|
|
149
|
+
"Price": ["160", "165", "170", "175", "180", "185", "190", "195", "200", "205"]
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"borders": "true",
|
|
154
|
+
"plotOutlierValues": false,
|
|
155
|
+
"plotNonOutlierValues": true,
|
|
156
|
+
"labels": {
|
|
157
|
+
"q1": "Lower Quartile",
|
|
158
|
+
"q2": "q2",
|
|
159
|
+
"q3": "Upper Quartile",
|
|
160
|
+
"q4": "q4",
|
|
161
|
+
"minimum": "Minimum",
|
|
162
|
+
"maximum": "Maximum",
|
|
163
|
+
"mean": "Mean",
|
|
164
|
+
"median": "Median",
|
|
165
|
+
"sd": "Standard Deviation",
|
|
166
|
+
"iqr": "Interquartile Range",
|
|
167
|
+
"count": "Count",
|
|
168
|
+
"outliers": "Outliers",
|
|
169
|
+
"values": "Values",
|
|
170
|
+
"lowerBounds": "Lower Bounds",
|
|
171
|
+
"upperBounds": "Upper Bounds"
|
|
172
|
+
},
|
|
173
|
+
"categories": ["category one", "category two", "category three", "category four"],
|
|
174
|
+
"tableData": [
|
|
175
|
+
{
|
|
176
|
+
"columnCategory": "category one",
|
|
177
|
+
"columnMax": 24,
|
|
178
|
+
"columnThirdQuartile": "24",
|
|
179
|
+
"columnMedian": "22",
|
|
180
|
+
"columnFirstQuartile": "20",
|
|
181
|
+
"columnMin": 19,
|
|
182
|
+
"columnCount": 4,
|
|
183
|
+
"columnSd": "2",
|
|
184
|
+
"columnMean": "22",
|
|
185
|
+
"columnOutliers": [],
|
|
186
|
+
"values": [19, 21, 23, 24],
|
|
187
|
+
"keyValues": {
|
|
188
|
+
"Value": ["21", "19", "23", "24"],
|
|
189
|
+
"Price": ["100", "105", "110", "115"]
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"columnCategory": "category two",
|
|
194
|
+
"columnMax": 19,
|
|
195
|
+
"columnThirdQuartile": "19",
|
|
196
|
+
"columnMedian": "15",
|
|
197
|
+
"columnFirstQuartile": "11",
|
|
198
|
+
"columnMin": 10,
|
|
199
|
+
"columnCount": 4,
|
|
200
|
+
"columnSd": "4",
|
|
201
|
+
"columnMean": "15",
|
|
202
|
+
"columnOutliers": [],
|
|
203
|
+
"values": [10, 12, 18, 19],
|
|
204
|
+
"keyValues": {
|
|
205
|
+
"Value": ["18", "10", "12", "19"],
|
|
206
|
+
"Price": ["120", "125", "130", "135"]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"columnCategory": "category three",
|
|
211
|
+
"columnMax": 45.25,
|
|
212
|
+
"columnThirdQuartile": "41",
|
|
213
|
+
"columnMedian": "36",
|
|
214
|
+
"columnFirstQuartile": "33",
|
|
215
|
+
"columnMin": 30,
|
|
216
|
+
"columnCount": 4,
|
|
217
|
+
"columnSd": "7",
|
|
218
|
+
"columnMean": "37",
|
|
219
|
+
"columnOutliers": [],
|
|
220
|
+
"values": [30, 35, 36, 46],
|
|
221
|
+
"keyValues": {
|
|
222
|
+
"Value": ["30", "35", "36", "46"],
|
|
223
|
+
"Price": ["140", "145", "150", "155"]
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"columnCategory": "category four",
|
|
228
|
+
"columnMax": 57.5,
|
|
229
|
+
"columnThirdQuartile": "50",
|
|
230
|
+
"columnMedian": "43",
|
|
231
|
+
"columnFirstQuartile": "35",
|
|
232
|
+
"columnMin": 21,
|
|
233
|
+
"columnCount": 10,
|
|
234
|
+
"columnSd": "20",
|
|
235
|
+
"columnMean": "48",
|
|
236
|
+
"columnOutliers": [82, 85],
|
|
237
|
+
"values": [21, 30, 40, 41, 42, 43, 50, 50, 82, 85],
|
|
238
|
+
"keyValues": {
|
|
239
|
+
"Value": ["30", "40", "50", "50", "85", "82", "43", "42", "41", "21"],
|
|
240
|
+
"Price": ["160", "165", "170", "175", "180", "185", "190", "195", "200", "205"]
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
]
|
|
244
|
+
},
|
|
43
245
|
"topAxis": {
|
|
44
246
|
"hasLine": false
|
|
45
247
|
},
|
|
46
|
-
"
|
|
248
|
+
"isLegendValue": false,
|
|
249
|
+
"barThickness": "0.99",
|
|
47
250
|
"barHeight": 25,
|
|
48
|
-
"
|
|
251
|
+
"barSpace": 15,
|
|
252
|
+
"heights": {
|
|
253
|
+
"vertical": 300,
|
|
254
|
+
"horizontal": 750
|
|
255
|
+
},
|
|
49
256
|
"xAxis": {
|
|
257
|
+
"sortDates": false,
|
|
258
|
+
"anchors": [],
|
|
50
259
|
"type": "categorical",
|
|
260
|
+
"showTargetLabel": true,
|
|
261
|
+
"targetLabel": "Target",
|
|
51
262
|
"hideAxis": false,
|
|
52
263
|
"hideLabel": false,
|
|
53
264
|
"hideTicks": false,
|
|
@@ -58,10 +269,18 @@
|
|
|
58
269
|
"labelColor": "#333",
|
|
59
270
|
"tickLabelColor": "#333",
|
|
60
271
|
"tickColor": "#333",
|
|
61
|
-
"isLegendValue": false,
|
|
62
272
|
"numTicks": "",
|
|
63
|
-
"
|
|
64
|
-
"
|
|
273
|
+
"labelOffset": 0,
|
|
274
|
+
"axisPadding": 200,
|
|
275
|
+
"target": 0,
|
|
276
|
+
"maxTickRotation": 0,
|
|
277
|
+
"padding": 5,
|
|
278
|
+
"showYearsOnce": false,
|
|
279
|
+
"isLegendValue": false,
|
|
280
|
+
"dataKey": "Group_Category",
|
|
281
|
+
"label": "Groups",
|
|
282
|
+
"axisBBox": 56.06999969482422,
|
|
283
|
+
"tickWidthMax": 116
|
|
65
284
|
},
|
|
66
285
|
"table": {
|
|
67
286
|
"label": "Data Table",
|
|
@@ -69,12 +288,24 @@
|
|
|
69
288
|
"limitHeight": false,
|
|
70
289
|
"height": "",
|
|
71
290
|
"caption": "",
|
|
291
|
+
"showDownloadUrl": false,
|
|
292
|
+
"showDataTableLink": true,
|
|
293
|
+
"showDownloadLinkBelow": true,
|
|
294
|
+
"indexLabel": "",
|
|
295
|
+
"download": true,
|
|
296
|
+
"showVertical": false,
|
|
297
|
+
"dateDisplayFormat": "",
|
|
298
|
+
"showMissingDataLabel": true,
|
|
299
|
+
"showSuppressedSymbol": true,
|
|
72
300
|
"show": true
|
|
73
301
|
},
|
|
74
302
|
"orientation": "vertical",
|
|
303
|
+
"color": "pinkpurple",
|
|
304
|
+
"columns": {},
|
|
75
305
|
"legend": {
|
|
306
|
+
"hide": false,
|
|
76
307
|
"behavior": "isolate",
|
|
77
|
-
"
|
|
308
|
+
"axisAlign": true,
|
|
78
309
|
"singleRow": false,
|
|
79
310
|
"colorCode": "",
|
|
80
311
|
"reverseLabelOrder": false,
|
|
@@ -83,7 +314,26 @@
|
|
|
83
314
|
"dynamicLegendDefaultText": "Show All",
|
|
84
315
|
"dynamicLegendItemLimit": 5,
|
|
85
316
|
"dynamicLegendItemLimitMessage": "Dynamic Legend Item Limit Hit.",
|
|
86
|
-
"dynamicLegendChartMessage": "Select Options from the Legend"
|
|
317
|
+
"dynamicLegendChartMessage": "Select Options from the Legend",
|
|
318
|
+
"label": "",
|
|
319
|
+
"lineMode": false,
|
|
320
|
+
"verticalSorted": false,
|
|
321
|
+
"highlightOnHover": false,
|
|
322
|
+
"hideSuppressedLabels": false,
|
|
323
|
+
"hideSuppressionLink": false,
|
|
324
|
+
"seriesHighlight": [],
|
|
325
|
+
"style": "circles",
|
|
326
|
+
"subStyle": "linear blocks",
|
|
327
|
+
"tickRotation": "",
|
|
328
|
+
"hideBorder": {
|
|
329
|
+
"side": false,
|
|
330
|
+
"topBottom": true
|
|
331
|
+
},
|
|
332
|
+
"position": "right"
|
|
333
|
+
},
|
|
334
|
+
"brush": {
|
|
335
|
+
"height": 25,
|
|
336
|
+
"active": false
|
|
87
337
|
},
|
|
88
338
|
"exclusions": {
|
|
89
339
|
"active": false,
|
|
@@ -91,20 +341,142 @@
|
|
|
91
341
|
},
|
|
92
342
|
"palette": "qualitative1",
|
|
93
343
|
"isPaletteReversed": false,
|
|
344
|
+
"twoColor": {
|
|
345
|
+
"palette": "monochrome-1",
|
|
346
|
+
"isPaletteReversed": false
|
|
347
|
+
},
|
|
94
348
|
"labels": false,
|
|
95
349
|
"dataFormat": {
|
|
96
350
|
"commas": false,
|
|
97
351
|
"prefix": "",
|
|
98
352
|
"suffix": "",
|
|
353
|
+
"abbreviated": false,
|
|
354
|
+
"bottomSuffix": "",
|
|
355
|
+
"bottomPrefix": "",
|
|
356
|
+
"bottomAbbreviated": false,
|
|
99
357
|
"useFormat": false
|
|
100
358
|
},
|
|
101
359
|
"confidenceKeys": {},
|
|
102
360
|
"visual": {
|
|
103
361
|
"border": true,
|
|
104
362
|
"accent": true,
|
|
105
|
-
"background": true
|
|
363
|
+
"background": true,
|
|
364
|
+
"verticalHoverLine": false,
|
|
365
|
+
"horizontalHoverLine": false
|
|
106
366
|
},
|
|
107
|
-
"
|
|
367
|
+
"useLogScale": false,
|
|
368
|
+
"filterBehavior": "Filter Change",
|
|
369
|
+
"highlightedBarValues": [],
|
|
370
|
+
"series": [
|
|
371
|
+
{
|
|
372
|
+
"dataKey": "Value",
|
|
373
|
+
"type": "Bar",
|
|
374
|
+
"tooltip": true,
|
|
375
|
+
"axis": "Left"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"dataKey": "Price",
|
|
379
|
+
"type": "Bar",
|
|
380
|
+
"tooltip": true,
|
|
381
|
+
"axis": "Left"
|
|
382
|
+
}
|
|
383
|
+
],
|
|
384
|
+
"tooltips": {
|
|
385
|
+
"opacity": 90,
|
|
386
|
+
"singleSeries": false,
|
|
387
|
+
"dateDisplayFormat": ""
|
|
388
|
+
},
|
|
389
|
+
"forestPlot": {
|
|
390
|
+
"startAt": 0,
|
|
391
|
+
"colors": {
|
|
392
|
+
"line": "",
|
|
393
|
+
"shape": ""
|
|
394
|
+
},
|
|
395
|
+
"lineOfNoEffect": {
|
|
396
|
+
"show": true
|
|
397
|
+
},
|
|
398
|
+
"type": "",
|
|
399
|
+
"pooledResult": {
|
|
400
|
+
"diamondHeight": 5,
|
|
401
|
+
"column": ""
|
|
402
|
+
},
|
|
403
|
+
"estimateField": "",
|
|
404
|
+
"estimateRadius": "",
|
|
405
|
+
"shape": "square",
|
|
406
|
+
"rowHeight": 20,
|
|
407
|
+
"description": {
|
|
408
|
+
"show": true,
|
|
409
|
+
"text": "description",
|
|
410
|
+
"location": 0
|
|
411
|
+
},
|
|
412
|
+
"result": {
|
|
413
|
+
"show": true,
|
|
414
|
+
"text": "result",
|
|
415
|
+
"location": 100
|
|
416
|
+
},
|
|
417
|
+
"radius": {
|
|
418
|
+
"min": 2,
|
|
419
|
+
"max": 10,
|
|
420
|
+
"scalingColumn": ""
|
|
421
|
+
},
|
|
422
|
+
"regression": {
|
|
423
|
+
"lower": 0,
|
|
424
|
+
"upper": 0,
|
|
425
|
+
"estimateField": 0
|
|
426
|
+
},
|
|
427
|
+
"leftWidthOffset": 0,
|
|
428
|
+
"rightWidthOffset": 0,
|
|
429
|
+
"showZeroLine": false,
|
|
430
|
+
"leftLabel": "",
|
|
431
|
+
"rightLabel": ""
|
|
432
|
+
},
|
|
433
|
+
"area": {
|
|
434
|
+
"isStacked": false
|
|
435
|
+
},
|
|
436
|
+
"sankey": {
|
|
437
|
+
"title": {
|
|
438
|
+
"defaultColor": "black"
|
|
439
|
+
},
|
|
440
|
+
"iterations": 1,
|
|
441
|
+
"rxValue": 0.9,
|
|
442
|
+
"overallSize": {
|
|
443
|
+
"width": 900,
|
|
444
|
+
"height": 700
|
|
445
|
+
},
|
|
446
|
+
"margin": {
|
|
447
|
+
"margin_y": 25,
|
|
448
|
+
"margin_x": 0
|
|
449
|
+
},
|
|
450
|
+
"nodeSize": {
|
|
451
|
+
"nodeWidth": 26,
|
|
452
|
+
"nodeHeight": 40
|
|
453
|
+
},
|
|
454
|
+
"nodePadding": 55,
|
|
455
|
+
"nodeFontColor": "black",
|
|
456
|
+
"nodeColor": {
|
|
457
|
+
"default": "#ff8500",
|
|
458
|
+
"inactive": "#808080"
|
|
459
|
+
},
|
|
460
|
+
"linkColor": {
|
|
461
|
+
"default": "#ffc900",
|
|
462
|
+
"inactive": "#D3D3D3"
|
|
463
|
+
},
|
|
464
|
+
"opacity": {
|
|
465
|
+
"nodeOpacityDefault": 1,
|
|
466
|
+
"nodeOpacityInactive": 0.1,
|
|
467
|
+
"LinkOpacityDefault": 1,
|
|
468
|
+
"LinkOpacityInactive": 0.1
|
|
469
|
+
},
|
|
470
|
+
"storyNodeFontColor": "#006778",
|
|
471
|
+
"storyNodeText": [],
|
|
472
|
+
"nodeValueStyle": {
|
|
473
|
+
"textBefore": "(",
|
|
474
|
+
"textAfter": ")"
|
|
475
|
+
},
|
|
476
|
+
"data": []
|
|
477
|
+
},
|
|
478
|
+
"height": 300,
|
|
479
|
+
"dataUrl": "/examples/feature/boxplot/boxplot-data.json",
|
|
108
480
|
"visualizationType": "Box Plot",
|
|
109
481
|
"description": "Lorem ipsum is placeholder text commonly used in the graphic, print, and publishing industries for previewing layouts and visual mockups.",
|
|
110
482
|
"dataDescription": {
|
|
@@ -114,10 +486,162 @@
|
|
|
114
486
|
"xKey": "category one",
|
|
115
487
|
"valueKey": "value"
|
|
116
488
|
},
|
|
117
|
-
"
|
|
489
|
+
"data": [
|
|
490
|
+
{
|
|
491
|
+
"Group_Category": "category one",
|
|
492
|
+
"Value": "21",
|
|
493
|
+
"Price": "100",
|
|
494
|
+
"Month": "January",
|
|
495
|
+
"Radius": "10"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"Group_Category": "category one",
|
|
499
|
+
"Value": "19",
|
|
500
|
+
"Price": "105",
|
|
501
|
+
"Month": "January",
|
|
502
|
+
"Radius": "12"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"Group_Category": "category one",
|
|
506
|
+
"Value": "23",
|
|
507
|
+
"Price": "110",
|
|
508
|
+
"Month": "February",
|
|
509
|
+
"Radius": "7"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"Group_Category": "category one",
|
|
513
|
+
"Value": "24",
|
|
514
|
+
"Price": "115",
|
|
515
|
+
"Month": "February",
|
|
516
|
+
"Radius": "5"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"Group_Category": "category two",
|
|
520
|
+
"Value": "18",
|
|
521
|
+
"Price": "120",
|
|
522
|
+
"Month": "March",
|
|
523
|
+
"Radius": "9"
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"Group_Category": "category two",
|
|
527
|
+
"Value": "10",
|
|
528
|
+
"Price": "125",
|
|
529
|
+
"Month": "March",
|
|
530
|
+
"Radius": "14"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"Group_Category": "category two",
|
|
534
|
+
"Value": "12",
|
|
535
|
+
"Price": "130",
|
|
536
|
+
"Month": "April",
|
|
537
|
+
"Radius": "11"
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
"Group_Category": "category two",
|
|
541
|
+
"Value": "19",
|
|
542
|
+
"Price": "135",
|
|
543
|
+
"Month": "April",
|
|
544
|
+
"Radius": "6"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"Group_Category": "category three",
|
|
548
|
+
"Value": "30",
|
|
549
|
+
"Price": "140",
|
|
550
|
+
"Month": "May",
|
|
551
|
+
"Radius": "8"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"Group_Category": "category three",
|
|
555
|
+
"Value": "35",
|
|
556
|
+
"Price": "145",
|
|
557
|
+
"Month": "May",
|
|
558
|
+
"Radius": "10"
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"Group_Category": "category three",
|
|
562
|
+
"Value": "36",
|
|
563
|
+
"Price": "150",
|
|
564
|
+
"Month": "June",
|
|
565
|
+
"Radius": "12"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"Group_Category": "category three",
|
|
569
|
+
"Value": "46",
|
|
570
|
+
"Price": "155",
|
|
571
|
+
"Month": "June",
|
|
572
|
+
"Radius": "13"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"Group_Category": "category four",
|
|
576
|
+
"Value": "30",
|
|
577
|
+
"Price": "160",
|
|
578
|
+
"Month": "July",
|
|
579
|
+
"Radius": "5"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"Group_Category": "category four",
|
|
583
|
+
"Value": "40",
|
|
584
|
+
"Price": "165",
|
|
585
|
+
"Month": "July",
|
|
586
|
+
"Radius": "9"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"Group_Category": "category four",
|
|
590
|
+
"Value": "50",
|
|
591
|
+
"Price": "170",
|
|
592
|
+
"Month": "August",
|
|
593
|
+
"Radius": "14"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"Group_Category": "category four",
|
|
597
|
+
"Value": "50",
|
|
598
|
+
"Price": "175",
|
|
599
|
+
"Month": "August",
|
|
600
|
+
"Radius": "15"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
"Group_Category": "category four",
|
|
604
|
+
"Value": "85",
|
|
605
|
+
"Price": "180",
|
|
606
|
+
"Month": "September",
|
|
607
|
+
"Radius": "7"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"Group_Category": "category four",
|
|
611
|
+
"Value": "82",
|
|
612
|
+
"Price": "185",
|
|
613
|
+
"Month": "September",
|
|
614
|
+
"Radius": "8"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"Group_Category": "category four",
|
|
618
|
+
"Value": "43",
|
|
619
|
+
"Price": "190",
|
|
620
|
+
"Month": "October",
|
|
621
|
+
"Radius": "10"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"Group_Category": "category four",
|
|
625
|
+
"Value": "42",
|
|
626
|
+
"Price": "195",
|
|
627
|
+
"Month": "October",
|
|
628
|
+
"Radius": "12"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"Group_Category": "category four",
|
|
632
|
+
"Value": "41",
|
|
633
|
+
"Price": "200",
|
|
634
|
+
"Month": "November",
|
|
635
|
+
"Radius": "11"
|
|
636
|
+
},
|
|
118
637
|
{
|
|
119
|
-
"
|
|
120
|
-
"
|
|
638
|
+
"Group_Category": "category four",
|
|
639
|
+
"Value": "21",
|
|
640
|
+
"Price": "205",
|
|
641
|
+
"Month": "November",
|
|
642
|
+
"Radius": "9"
|
|
121
643
|
}
|
|
122
|
-
]
|
|
123
|
-
|
|
644
|
+
],
|
|
645
|
+
"version": "4.24.10",
|
|
646
|
+
"dynamicMarginTop": 0
|
|
647
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
category one,value
|
|
2
|
-
Group A,16
|
|
3
|
-
Group A,24
|
|
4
|
-
Group A,32
|
|
5
|
-
Group A,40
|
|
6
|
-
Group A,43
|
|
7
|
-
Group A,72
|
|
1
|
+
category one,value,price
|
|
2
|
+
Group A,16,33
|
|
3
|
+
Group A,24,54
|
|
4
|
+
Group A,32,32
|
|
5
|
+
Group A,40,45
|
|
6
|
+
Group A,43,32
|
|
7
|
+
Group A,72,33
|
|
8
8
|
Group A,83
|
|
9
9
|
Group A,104
|
|
10
10
|
Group A,137
|