@sky.ui/mcp 0.0.1

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.
Files changed (184) hide show
  1. package/LICENSE.md +139 -0
  2. package/README.md +182 -0
  3. package/data/chart-api-sections.json +4185 -0
  4. package/data/component-tier.json +25 -0
  5. package/data/design-guidelines/p0-guidelines.json +13381 -0
  6. package/data/reactivity-readme-snapshot.json +1 -0
  7. package/data/theme-authoring-contract.json +598 -0
  8. package/data/utils-suggestion-snapshot.json +1 -0
  9. package/dist/cache.d.ts +3 -0
  10. package/dist/cache.d.ts.map +1 -0
  11. package/dist/cache.js +15 -0
  12. package/dist/cache.js.map +1 -0
  13. package/dist/catalog.d.ts +60 -0
  14. package/dist/catalog.d.ts.map +1 -0
  15. package/dist/catalog.js +343 -0
  16. package/dist/catalog.js.map +1 -0
  17. package/dist/cem.d.ts +26 -0
  18. package/dist/cem.d.ts.map +1 -0
  19. package/dist/cem.js +348 -0
  20. package/dist/cem.js.map +1 -0
  21. package/dist/chart-usage-tool.d.ts +20 -0
  22. package/dist/chart-usage-tool.d.ts.map +1 -0
  23. package/dist/chart-usage-tool.js +153 -0
  24. package/dist/chart-usage-tool.js.map +1 -0
  25. package/dist/component-docs-tool.d.ts +45 -0
  26. package/dist/component-docs-tool.d.ts.map +1 -0
  27. package/dist/component-docs-tool.js +217 -0
  28. package/dist/component-docs-tool.js.map +1 -0
  29. package/dist/component-method-filter.d.ts +3 -0
  30. package/dist/component-method-filter.d.ts.map +1 -0
  31. package/dist/component-method-filter.js +32 -0
  32. package/dist/component-method-filter.js.map +1 -0
  33. package/dist/component-tier.d.ts +20 -0
  34. package/dist/component-tier.d.ts.map +1 -0
  35. package/dist/component-tier.js +59 -0
  36. package/dist/component-tier.js.map +1 -0
  37. package/dist/component-usage-tool.d.ts +20 -0
  38. package/dist/component-usage-tool.d.ts.map +1 -0
  39. package/dist/component-usage-tool.js +90 -0
  40. package/dist/component-usage-tool.js.map +1 -0
  41. package/dist/design-guidelines/a11y-engine.d.ts +22 -0
  42. package/dist/design-guidelines/a11y-engine.d.ts.map +1 -0
  43. package/dist/design-guidelines/a11y-engine.js +78 -0
  44. package/dist/design-guidelines/a11y-engine.js.map +1 -0
  45. package/dist/design-guidelines/compatibility-engine.d.ts +20 -0
  46. package/dist/design-guidelines/compatibility-engine.d.ts.map +1 -0
  47. package/dist/design-guidelines/compatibility-engine.js +57 -0
  48. package/dist/design-guidelines/compatibility-engine.js.map +1 -0
  49. package/dist/design-guidelines/component-guideline-engine.d.ts +19 -0
  50. package/dist/design-guidelines/component-guideline-engine.d.ts.map +1 -0
  51. package/dist/design-guidelines/component-guideline-engine.js +40 -0
  52. package/dist/design-guidelines/component-guideline-engine.js.map +1 -0
  53. package/dist/design-guidelines/composition-engine.d.ts +10 -0
  54. package/dist/design-guidelines/composition-engine.d.ts.map +1 -0
  55. package/dist/design-guidelines/composition-engine.js +29 -0
  56. package/dist/design-guidelines/composition-engine.js.map +1 -0
  57. package/dist/design-guidelines/pattern-engine.d.ts +20 -0
  58. package/dist/design-guidelines/pattern-engine.d.ts.map +1 -0
  59. package/dist/design-guidelines/pattern-engine.js +58 -0
  60. package/dist/design-guidelines/pattern-engine.js.map +1 -0
  61. package/dist/design-guidelines/recommendation-engine.d.ts +11 -0
  62. package/dist/design-guidelines/recommendation-engine.d.ts.map +1 -0
  63. package/dist/design-guidelines/recommendation-engine.js +88 -0
  64. package/dist/design-guidelines/recommendation-engine.js.map +1 -0
  65. package/dist/design-guidelines/repository.d.ts +19 -0
  66. package/dist/design-guidelines/repository.d.ts.map +1 -0
  67. package/dist/design-guidelines/repository.js +71 -0
  68. package/dist/design-guidelines/repository.js.map +1 -0
  69. package/dist/design-guidelines/review-engine.d.ts +20 -0
  70. package/dist/design-guidelines/review-engine.d.ts.map +1 -0
  71. package/dist/design-guidelines/review-engine.js +179 -0
  72. package/dist/design-guidelines/review-engine.js.map +1 -0
  73. package/dist/design-guidelines/schema.d.ts +256 -0
  74. package/dist/design-guidelines/schema.d.ts.map +1 -0
  75. package/dist/design-guidelines/schema.js +124 -0
  76. package/dist/design-guidelines/schema.js.map +1 -0
  77. package/dist/design-guidelines/token-engine.d.ts +23 -0
  78. package/dist/design-guidelines/token-engine.d.ts.map +1 -0
  79. package/dist/design-guidelines/token-engine.js +119 -0
  80. package/dist/design-guidelines/token-engine.js.map +1 -0
  81. package/dist/docs-read.d.ts +28 -0
  82. package/dist/docs-read.d.ts.map +1 -0
  83. package/dist/docs-read.js +102 -0
  84. package/dist/docs-read.js.map +1 -0
  85. package/dist/docs.d.ts +73 -0
  86. package/dist/docs.d.ts.map +1 -0
  87. package/dist/docs.js +323 -0
  88. package/dist/docs.js.map +1 -0
  89. package/dist/example-site-doc-enrichment.d.ts +27 -0
  90. package/dist/example-site-doc-enrichment.d.ts.map +1 -0
  91. package/dist/example-site-doc-enrichment.js +171 -0
  92. package/dist/example-site-doc-enrichment.js.map +1 -0
  93. package/dist/example-site-fetch.d.ts +44 -0
  94. package/dist/example-site-fetch.d.ts.map +1 -0
  95. package/dist/example-site-fetch.js +255 -0
  96. package/dist/example-site-fetch.js.map +1 -0
  97. package/dist/framework-wrappers.d.ts +46 -0
  98. package/dist/framework-wrappers.d.ts.map +1 -0
  99. package/dist/framework-wrappers.js +131 -0
  100. package/dist/framework-wrappers.js.map +1 -0
  101. package/dist/mcp-response-truth.d.ts +18 -0
  102. package/dist/mcp-response-truth.d.ts.map +1 -0
  103. package/dist/mcp-response-truth.js +45 -0
  104. package/dist/mcp-response-truth.js.map +1 -0
  105. package/dist/mcp-runtime-status.d.ts +37 -0
  106. package/dist/mcp-runtime-status.d.ts.map +1 -0
  107. package/dist/mcp-runtime-status.js +96 -0
  108. package/dist/mcp-runtime-status.js.map +1 -0
  109. package/dist/mcp-stdio-entry.d.ts +3 -0
  110. package/dist/mcp-stdio-entry.d.ts.map +1 -0
  111. package/dist/mcp-stdio-entry.js +35 -0
  112. package/dist/mcp-stdio-entry.js.map +1 -0
  113. package/dist/mcp-tool-errors.d.ts +35 -0
  114. package/dist/mcp-tool-errors.d.ts.map +1 -0
  115. package/dist/mcp-tool-errors.js +42 -0
  116. package/dist/mcp-tool-errors.js.map +1 -0
  117. package/dist/parse-component-ast.d.ts +112 -0
  118. package/dist/parse-component-ast.d.ts.map +1 -0
  119. package/dist/parse-component-ast.js +695 -0
  120. package/dist/parse-component-ast.js.map +1 -0
  121. package/dist/post-endpoint-server.d.ts +19 -0
  122. package/dist/post-endpoint-server.d.ts.map +1 -0
  123. package/dist/post-endpoint-server.js +777 -0
  124. package/dist/post-endpoint-server.js.map +1 -0
  125. package/dist/reactivity-info.d.ts +22 -0
  126. package/dist/reactivity-info.d.ts.map +1 -0
  127. package/dist/reactivity-info.js +99 -0
  128. package/dist/reactivity-info.js.map +1 -0
  129. package/dist/reactivity-layer-tool.d.ts +18 -0
  130. package/dist/reactivity-layer-tool.d.ts.map +1 -0
  131. package/dist/reactivity-layer-tool.js +58 -0
  132. package/dist/reactivity-layer-tool.js.map +1 -0
  133. package/dist/reactivity-readme-topics.d.ts +46 -0
  134. package/dist/reactivity-readme-topics.d.ts.map +1 -0
  135. package/dist/reactivity-readme-topics.js +206 -0
  136. package/dist/reactivity-readme-topics.js.map +1 -0
  137. package/dist/read-only-tool-allowlist.d.ts +7 -0
  138. package/dist/read-only-tool-allowlist.d.ts.map +1 -0
  139. package/dist/read-only-tool-allowlist.js +17 -0
  140. package/dist/read-only-tool-allowlist.js.map +1 -0
  141. package/dist/server.d.ts +7 -0
  142. package/dist/server.d.ts.map +1 -0
  143. package/dist/server.js +786 -0
  144. package/dist/server.js.map +1 -0
  145. package/dist/source-read.d.ts +31 -0
  146. package/dist/source-read.d.ts.map +1 -0
  147. package/dist/source-read.js +213 -0
  148. package/dist/source-read.js.map +1 -0
  149. package/dist/theme-authoring/contract-schema.d.ts +191 -0
  150. package/dist/theme-authoring/contract-schema.d.ts.map +1 -0
  151. package/dist/theme-authoring/contract-schema.js +49 -0
  152. package/dist/theme-authoring/contract-schema.js.map +1 -0
  153. package/dist/theme-authoring/repository.d.ts +18 -0
  154. package/dist/theme-authoring/repository.d.ts.map +1 -0
  155. package/dist/theme-authoring/repository.js +55 -0
  156. package/dist/theme-authoring/repository.js.map +1 -0
  157. package/dist/theme-tool.d.ts +26 -0
  158. package/dist/theme-tool.d.ts.map +1 -0
  159. package/dist/theme-tool.js +312 -0
  160. package/dist/theme-tool.js.map +1 -0
  161. package/dist/utils-guide-topics.d.ts +39 -0
  162. package/dist/utils-guide-topics.d.ts.map +1 -0
  163. package/dist/utils-guide-topics.js +202 -0
  164. package/dist/utils-guide-topics.js.map +1 -0
  165. package/dist/utils-info.d.ts +75 -0
  166. package/dist/utils-info.d.ts.map +1 -0
  167. package/dist/utils-info.js +219 -0
  168. package/dist/utils-info.js.map +1 -0
  169. package/dist/utils-suggestion-grounding.d.ts +59 -0
  170. package/dist/utils-suggestion-grounding.d.ts.map +1 -0
  171. package/dist/utils-suggestion-grounding.js +267 -0
  172. package/dist/utils-suggestion-grounding.js.map +1 -0
  173. package/docs/agent-recipe-example-site.md +91 -0
  174. package/docs/ai-design-mcp-blueprint.md +75 -0
  175. package/docs/cross-model-mcp-playbook.md +127 -0
  176. package/docs/example-site-and-mcp-training.md +82 -0
  177. package/docs/mcp-capability-status.md +51 -0
  178. package/docs/mcp-tooling-roadmap.md +36 -0
  179. package/docs/sky-chart-option-api.md +47 -0
  180. package/docs/starter-prompt.md +17 -0
  181. package/docs/theme-config-guide.md +178 -0
  182. package/docs/utils-usage-guide.md +110 -0
  183. package/docs/vue-wrapper-v-model.md +36 -0
  184. package/package.json +63 -0
@@ -0,0 +1,4185 @@
1
+ {
2
+ "generatedFrom": "components-raw/sky-chart/helper/chart-api-docs.ts",
3
+ "types": [
4
+ "bar",
5
+ "line",
6
+ "pie",
7
+ "scatter",
8
+ "gauge",
9
+ "funnel",
10
+ "heatmap",
11
+ "waterfall",
12
+ "treemap",
13
+ "sunburst",
14
+ "parallel",
15
+ "graph",
16
+ "lines",
17
+ "custom",
18
+ "candlestick",
19
+ "boxplot",
20
+ "map",
21
+ "radar",
22
+ "sankey",
23
+ "brush",
24
+ "pictorialBar",
25
+ "themeRiver",
26
+ "calendar"
27
+ ],
28
+ "sectionsByType": {
29
+ "bar": [
30
+ {
31
+ "id": "title",
32
+ "title": "title",
33
+ "optionPath": "option.title",
34
+ "description": "Chart title shown at the top.",
35
+ "properties": [
36
+ {
37
+ "name": "title.text",
38
+ "type": "string",
39
+ "description": "Main title text."
40
+ },
41
+ {
42
+ "name": "title.left",
43
+ "type": "string | number",
44
+ "default": "auto",
45
+ "description": "Horizontal position: 'left' | 'center' | 'right' or pixel value."
46
+ },
47
+ {
48
+ "name": "title.top",
49
+ "type": "string | number",
50
+ "default": "auto",
51
+ "description": "Vertical position or pixel offset."
52
+ },
53
+ {
54
+ "name": "title.textStyle",
55
+ "type": "object",
56
+ "description": "Font size, color, etc."
57
+ }
58
+ ],
59
+ "snippet": "\"title\": {\n \"text\": \"Sales by Product\",\n \"left\": \"center\"\n}"
60
+ },
61
+ {
62
+ "id": "grid",
63
+ "title": "grid",
64
+ "optionPath": "option.grid",
65
+ "description": "Position and size of the chart area (excluding title, legend, axes labels).",
66
+ "properties": [
67
+ {
68
+ "name": "grid.left",
69
+ "type": "number",
70
+ "default": "—",
71
+ "description": "Left margin in pixels."
72
+ },
73
+ {
74
+ "name": "grid.right",
75
+ "type": "number",
76
+ "default": "—",
77
+ "description": "Right margin."
78
+ },
79
+ {
80
+ "name": "grid.top",
81
+ "type": "number",
82
+ "default": "—",
83
+ "description": "Top margin (leave space for title)."
84
+ },
85
+ {
86
+ "name": "grid.bottom",
87
+ "type": "number",
88
+ "default": "—",
89
+ "description": "Bottom margin (axes labels)."
90
+ }
91
+ ],
92
+ "snippet": "\"grid\": {\n \"left\": 50,\n \"right\": 20,\n \"top\": 50,\n \"bottom\": 40\n}"
93
+ },
94
+ {
95
+ "id": "xAxis",
96
+ "title": "xAxis",
97
+ "optionPath": "option.xAxis",
98
+ "description": "Category or value axis (usually horizontal for bar charts).",
99
+ "properties": [
100
+ {
101
+ "name": "xAxis.type",
102
+ "type": "string",
103
+ "default": "category",
104
+ "description": "'category' for bars by label; 'value' for numeric x."
105
+ },
106
+ {
107
+ "name": "xAxis.name",
108
+ "type": "string",
109
+ "description": "Axis name shown beside the axis."
110
+ },
111
+ {
112
+ "name": "xAxis.nameLocation",
113
+ "type": "string",
114
+ "default": "end",
115
+ "description": "'start' | 'middle' | 'end'."
116
+ },
117
+ {
118
+ "name": "xAxis.data",
119
+ "type": "array",
120
+ "description": "Category labels when not using dataset."
121
+ }
122
+ ],
123
+ "snippet": "\"xAxis\": {\n \"type\": \"category\",\n \"name\": \"Product\",\n \"nameLocation\": \"middle\"\n}"
124
+ },
125
+ {
126
+ "id": "yAxis",
127
+ "title": "yAxis",
128
+ "optionPath": "option.yAxis",
129
+ "description": "Value axis (usually vertical for bar charts).",
130
+ "properties": [
131
+ {
132
+ "name": "yAxis.name",
133
+ "type": "string",
134
+ "description": "Axis name."
135
+ },
136
+ {
137
+ "name": "yAxis.nameGap",
138
+ "type": "number",
139
+ "description": "Gap between axis line and name."
140
+ },
141
+ {
142
+ "name": "yAxis.min",
143
+ "type": "number",
144
+ "description": "Minimum value (auto if omitted)."
145
+ },
146
+ {
147
+ "name": "yAxis.max",
148
+ "type": "number",
149
+ "description": "Maximum value (auto if omitted)."
150
+ }
151
+ ],
152
+ "snippet": "\"yAxis\": {\n \"name\": \"Sales\",\n \"nameGap\": 40\n}"
153
+ },
154
+ {
155
+ "id": "dataset",
156
+ "title": "dataset",
157
+ "optionPath": "option.dataset",
158
+ "description": "Table-style data: first row = dimension names, following rows = values. Series can map columns via encode.",
159
+ "properties": [
160
+ {
161
+ "name": "dataset.source",
162
+ "type": "array[][]",
163
+ "description": "2D array: e.g. [[\"product\", \"Sales\"], [\"A\", 28], ...]."
164
+ }
165
+ ],
166
+ "snippet": "\"dataset\": {\n \"source\": [\n [\"product\", \"Sales\"],\n [\"A\", 28], [\"B\", 55], [\"C\", 43]\n ]\n}"
167
+ },
168
+ {
169
+ "id": "series-bar",
170
+ "title": "series (bar)",
171
+ "optionPath": "option.series",
172
+ "description": "Bar series options. Use type: 'bar' and optionally stack, barWidth, encode.",
173
+ "properties": [
174
+ {
175
+ "name": "series[].type",
176
+ "type": "string",
177
+ "description": "Must be 'bar' for bar chart."
178
+ },
179
+ {
180
+ "name": "series[].name",
181
+ "type": "string",
182
+ "description": "Series name (legend and tooltip)."
183
+ },
184
+ {
185
+ "name": "series[].stack",
186
+ "type": "string",
187
+ "description": "Same string on multiple series to stack bars."
188
+ },
189
+ {
190
+ "name": "series[].encode.x",
191
+ "type": "string | number",
192
+ "description": "Dataset dimension for categories (e.g. column name or index)."
193
+ },
194
+ {
195
+ "name": "series[].encode.y",
196
+ "type": "string | number",
197
+ "description": "Dataset dimension for values."
198
+ },
199
+ {
200
+ "name": "series[].barWidth",
201
+ "type": "string | number",
202
+ "description": "Bar width (e.g. '60%' or pixel number)."
203
+ },
204
+ {
205
+ "name": "series[].barGap",
206
+ "type": "string",
207
+ "default": "30%",
208
+ "description": "Gap between bars in same category (e.g. '30%')."
209
+ },
210
+ {
211
+ "name": "series[].barCategoryGap",
212
+ "type": "string",
213
+ "description": "Gap between categories."
214
+ },
215
+ {
216
+ "name": "series[].itemStyle",
217
+ "type": "object",
218
+ "description": "Fill color, borderColor, borderWidth, borderRadius."
219
+ }
220
+ ],
221
+ "snippet": "\"series\": [\n {\n \"type\": \"bar\",\n \"name\": \"Sales\",\n \"barGap\": \"30%\"\n }\n]"
222
+ },
223
+ {
224
+ "id": "tooltip",
225
+ "title": "tooltip",
226
+ "optionPath": "option.tooltip",
227
+ "description": "Tooltip when hovering over the chart.",
228
+ "properties": [
229
+ {
230
+ "name": "tooltip.show",
231
+ "type": "boolean",
232
+ "default": "true",
233
+ "description": "Whether to show tooltip."
234
+ },
235
+ {
236
+ "name": "tooltip.trigger",
237
+ "type": "string",
238
+ "default": "item",
239
+ "description": "'item' | 'axis'."
240
+ },
241
+ {
242
+ "name": "tooltip.formatter",
243
+ "type": "string | function",
244
+ "description": "Template (e.g. '{b}: {c}') or custom function."
245
+ }
246
+ ],
247
+ "snippet": "\"tooltip\": {\n \"trigger\": \"axis\",\n \"formatter\": \"{b}: {c}\"\n}"
248
+ },
249
+ {
250
+ "id": "legend",
251
+ "title": "legend",
252
+ "optionPath": "option.legend",
253
+ "description": "Legend for multiple series.",
254
+ "properties": [
255
+ {
256
+ "name": "legend.show",
257
+ "type": "boolean",
258
+ "default": "true",
259
+ "description": "Whether to show legend."
260
+ },
261
+ {
262
+ "name": "legend.orient",
263
+ "type": "string",
264
+ "default": "horizontal",
265
+ "description": "'horizontal' | 'vertical'."
266
+ },
267
+ {
268
+ "name": "legend.left",
269
+ "type": "string",
270
+ "description": "Position: 'left' | 'center' | 'right' or number."
271
+ },
272
+ {
273
+ "name": "legend.top",
274
+ "type": "string",
275
+ "description": "Position: 'top' | 'middle' | 'bottom' or number."
276
+ }
277
+ ],
278
+ "snippet": "\"legend\": {\n \"orient\": \"horizontal\",\n \"top\": \"bottom\"\n}"
279
+ },
280
+ {
281
+ "id": "styling",
282
+ "title": "styling",
283
+ "optionPath": "option (styling)",
284
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
285
+ "properties": [
286
+ {
287
+ "name": "backgroundColor",
288
+ "type": "string",
289
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
290
+ },
291
+ {
292
+ "name": "title.textStyle",
293
+ "type": "object",
294
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
295
+ },
296
+ {
297
+ "name": "title.textStyle.fontSize",
298
+ "type": "number",
299
+ "default": "18",
300
+ "description": "Title font size (px)."
301
+ },
302
+ {
303
+ "name": "title.textStyle.color",
304
+ "type": "string",
305
+ "description": "Title text color."
306
+ },
307
+ {
308
+ "name": "title.textStyle.fontWeight",
309
+ "type": "string | number",
310
+ "description": "e.g. 'bold', 600."
311
+ },
312
+ {
313
+ "name": "legend.textStyle",
314
+ "type": "object",
315
+ "description": "Legend label font: fontSize, color."
316
+ },
317
+ {
318
+ "name": "tooltip.backgroundColor",
319
+ "type": "string",
320
+ "description": "Tooltip background color."
321
+ },
322
+ {
323
+ "name": "tooltip.borderColor",
324
+ "type": "string",
325
+ "description": "Tooltip border color."
326
+ },
327
+ {
328
+ "name": "tooltip.textStyle",
329
+ "type": "object",
330
+ "description": "Tooltip font: fontSize, color."
331
+ },
332
+ {
333
+ "name": "series[].itemStyle",
334
+ "type": "object",
335
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
336
+ },
337
+ {
338
+ "name": "series[].lineStyle",
339
+ "type": "object",
340
+ "description": "Lines: color, width, type ('solid'|'dashed')."
341
+ },
342
+ {
343
+ "name": "series[].areaStyle",
344
+ "type": "object",
345
+ "description": "Area fill: color, opacity."
346
+ },
347
+ {
348
+ "name": "series[].label",
349
+ "type": "object",
350
+ "description": "Data labels: show, color, fontSize, formatter."
351
+ }
352
+ ],
353
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
354
+ }
355
+ ],
356
+ "line": [
357
+ {
358
+ "id": "title",
359
+ "title": "title",
360
+ "optionPath": "option.title",
361
+ "description": "Chart title at the top.",
362
+ "properties": [
363
+ {
364
+ "name": "title.text",
365
+ "type": "string",
366
+ "description": "Main title text."
367
+ },
368
+ {
369
+ "name": "title.left",
370
+ "type": "string | number",
371
+ "description": "Position."
372
+ }
373
+ ],
374
+ "snippet": "\"title\": { \"text\": \"Revenue Trend\" }"
375
+ },
376
+ {
377
+ "id": "grid",
378
+ "title": "grid",
379
+ "optionPath": "option.grid",
380
+ "description": "Chart area margins.",
381
+ "properties": [
382
+ {
383
+ "name": "grid.left",
384
+ "type": "number",
385
+ "description": "Left margin (px)."
386
+ },
387
+ {
388
+ "name": "grid.right",
389
+ "type": "number",
390
+ "description": "Right margin."
391
+ },
392
+ {
393
+ "name": "grid.top",
394
+ "type": "number",
395
+ "description": "Top margin."
396
+ },
397
+ {
398
+ "name": "grid.bottom",
399
+ "type": "number",
400
+ "description": "Bottom margin."
401
+ }
402
+ ],
403
+ "snippet": "\"grid\": { \"left\": 50, \"right\": 20, \"top\": 50, \"bottom\": 40 }"
404
+ },
405
+ {
406
+ "id": "xAxis",
407
+ "title": "xAxis",
408
+ "optionPath": "option.xAxis",
409
+ "description": "Category or time axis.",
410
+ "properties": [
411
+ {
412
+ "name": "xAxis.type",
413
+ "type": "string",
414
+ "description": "'category' | 'value' | 'time'."
415
+ },
416
+ {
417
+ "name": "xAxis.name",
418
+ "type": "string",
419
+ "description": "Axis name."
420
+ }
421
+ ],
422
+ "snippet": "\"xAxis\": { \"type\": \"category\", \"name\": \"Month\" }"
423
+ },
424
+ {
425
+ "id": "yAxis",
426
+ "title": "yAxis",
427
+ "optionPath": "option.yAxis",
428
+ "description": "Value axis.",
429
+ "properties": [
430
+ {
431
+ "name": "yAxis.name",
432
+ "type": "string",
433
+ "description": "Axis name."
434
+ },
435
+ {
436
+ "name": "yAxis.min",
437
+ "type": "number",
438
+ "description": "Min value (optional)."
439
+ },
440
+ {
441
+ "name": "yAxis.max",
442
+ "type": "number",
443
+ "description": "Max value (optional)."
444
+ }
445
+ ],
446
+ "snippet": "\"yAxis\": { \"name\": \"Revenue\" }"
447
+ },
448
+ {
449
+ "id": "dataset",
450
+ "title": "dataset",
451
+ "optionPath": "option.dataset",
452
+ "description": "Table data; series map via encode.",
453
+ "properties": [
454
+ {
455
+ "name": "dataset.source",
456
+ "type": "array[][]",
457
+ "description": "2D array: dimensions + rows."
458
+ }
459
+ ],
460
+ "snippet": "\"dataset\": { \"source\": [[\"month\",\"Revenue\"],[\"Jan\",24],[\"Feb\",31]] }"
461
+ },
462
+ {
463
+ "id": "series-line",
464
+ "title": "series (line)",
465
+ "optionPath": "option.series",
466
+ "description": "Line series options.",
467
+ "properties": [
468
+ {
469
+ "name": "series[].type",
470
+ "type": "string",
471
+ "description": "Must be 'line'."
472
+ },
473
+ {
474
+ "name": "series[].name",
475
+ "type": "string",
476
+ "description": "Series name."
477
+ },
478
+ {
479
+ "name": "series[].smooth",
480
+ "type": "boolean",
481
+ "default": "false",
482
+ "description": "Smooth curve."
483
+ },
484
+ {
485
+ "name": "series[].step",
486
+ "type": "boolean | string",
487
+ "description": "Step: true | 'start' | 'end' | 'middle'."
488
+ },
489
+ {
490
+ "name": "series[].stack",
491
+ "type": "string",
492
+ "description": "Stack id for stacking."
493
+ },
494
+ {
495
+ "name": "series[].showSymbol",
496
+ "type": "boolean",
497
+ "default": "true",
498
+ "description": "Show points."
499
+ },
500
+ {
501
+ "name": "series[].connectNulls",
502
+ "type": "boolean",
503
+ "description": "Connect across nulls."
504
+ },
505
+ {
506
+ "name": "series[].sampling",
507
+ "type": "string",
508
+ "description": "'lttb' | 'max' | 'min' | 'average'."
509
+ }
510
+ ],
511
+ "snippet": "\"series\": [{ \"type\": \"line\", \"name\": \"Revenue\", \"smooth\": true }]"
512
+ },
513
+ {
514
+ "id": "dataZoom",
515
+ "title": "dataZoom",
516
+ "optionPath": "option.dataZoom",
517
+ "description": "Slider or inside zoom.",
518
+ "properties": [
519
+ {
520
+ "name": "dataZoom[].type",
521
+ "type": "string",
522
+ "description": "'slider' | 'inside'."
523
+ },
524
+ {
525
+ "name": "dataZoom[].start",
526
+ "type": "number",
527
+ "description": "Start % (0–100)."
528
+ },
529
+ {
530
+ "name": "dataZoom[].end",
531
+ "type": "number",
532
+ "description": "End % (0–100)."
533
+ }
534
+ ],
535
+ "snippet": "\"dataZoom\": [{ \"type\": \"slider\", \"start\": 0, \"end\": 50 }]"
536
+ },
537
+ {
538
+ "id": "tooltip",
539
+ "title": "tooltip",
540
+ "optionPath": "option.tooltip",
541
+ "description": "Hover tooltip.",
542
+ "properties": [
543
+ {
544
+ "name": "tooltip.trigger",
545
+ "type": "string",
546
+ "description": "'item' | 'axis'."
547
+ },
548
+ {
549
+ "name": "tooltip.formatter",
550
+ "type": "string | function",
551
+ "description": "Template or function."
552
+ }
553
+ ],
554
+ "snippet": "\"tooltip\": { \"trigger\": \"axis\" }"
555
+ },
556
+ {
557
+ "id": "legend",
558
+ "title": "legend",
559
+ "optionPath": "option.legend",
560
+ "description": "Legend for series.",
561
+ "properties": [
562
+ {
563
+ "name": "legend.show",
564
+ "type": "boolean",
565
+ "description": "Show legend."
566
+ },
567
+ {
568
+ "name": "legend.orient",
569
+ "type": "string",
570
+ "description": "'horizontal' | 'vertical'."
571
+ }
572
+ ],
573
+ "snippet": "\"legend\": { \"top\": \"bottom\" }"
574
+ },
575
+ {
576
+ "id": "styling",
577
+ "title": "styling",
578
+ "optionPath": "option (styling)",
579
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
580
+ "properties": [
581
+ {
582
+ "name": "backgroundColor",
583
+ "type": "string",
584
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
585
+ },
586
+ {
587
+ "name": "title.textStyle",
588
+ "type": "object",
589
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
590
+ },
591
+ {
592
+ "name": "title.textStyle.fontSize",
593
+ "type": "number",
594
+ "default": "18",
595
+ "description": "Title font size (px)."
596
+ },
597
+ {
598
+ "name": "title.textStyle.color",
599
+ "type": "string",
600
+ "description": "Title text color."
601
+ },
602
+ {
603
+ "name": "title.textStyle.fontWeight",
604
+ "type": "string | number",
605
+ "description": "e.g. 'bold', 600."
606
+ },
607
+ {
608
+ "name": "legend.textStyle",
609
+ "type": "object",
610
+ "description": "Legend label font: fontSize, color."
611
+ },
612
+ {
613
+ "name": "tooltip.backgroundColor",
614
+ "type": "string",
615
+ "description": "Tooltip background color."
616
+ },
617
+ {
618
+ "name": "tooltip.borderColor",
619
+ "type": "string",
620
+ "description": "Tooltip border color."
621
+ },
622
+ {
623
+ "name": "tooltip.textStyle",
624
+ "type": "object",
625
+ "description": "Tooltip font: fontSize, color."
626
+ },
627
+ {
628
+ "name": "series[].itemStyle",
629
+ "type": "object",
630
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
631
+ },
632
+ {
633
+ "name": "series[].lineStyle",
634
+ "type": "object",
635
+ "description": "Lines: color, width, type ('solid'|'dashed')."
636
+ },
637
+ {
638
+ "name": "series[].areaStyle",
639
+ "type": "object",
640
+ "description": "Area fill: color, opacity."
641
+ },
642
+ {
643
+ "name": "series[].label",
644
+ "type": "object",
645
+ "description": "Data labels: show, color, fontSize, formatter."
646
+ }
647
+ ],
648
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
649
+ }
650
+ ],
651
+ "pie": [
652
+ {
653
+ "id": "title",
654
+ "title": "title",
655
+ "optionPath": "option.title",
656
+ "description": "Chart title.",
657
+ "properties": [
658
+ {
659
+ "name": "title.text",
660
+ "type": "string",
661
+ "description": "Title text."
662
+ }
663
+ ],
664
+ "snippet": "\"title\": { \"text\": \"Market Share\" }"
665
+ },
666
+ {
667
+ "id": "series-pie",
668
+ "title": "series (pie)",
669
+ "optionPath": "option.series",
670
+ "description": "Pie series: data as [{ name, value }, ...] or use dataset + encode.",
671
+ "properties": [
672
+ {
673
+ "name": "series[].type",
674
+ "type": "string",
675
+ "description": "Must be 'pie'."
676
+ },
677
+ {
678
+ "name": "series[].radius",
679
+ "type": "string | [string, string]",
680
+ "description": "'50%' or ['0%','75%'] for donut."
681
+ },
682
+ {
683
+ "name": "series[].center",
684
+ "type": "[string, string]",
685
+ "description": "['50%','50%']."
686
+ },
687
+ {
688
+ "name": "series[].roseType",
689
+ "type": "string",
690
+ "description": "'radius' | 'area' for Nightingale."
691
+ },
692
+ {
693
+ "name": "series[].label.formatter",
694
+ "type": "string | function",
695
+ "description": "Label template e.g. '{b}: {c}'."
696
+ },
697
+ {
698
+ "name": "series[].label.position",
699
+ "type": "string",
700
+ "description": "'outside' | 'inside' | 'center'."
701
+ },
702
+ {
703
+ "name": "series[].emphasis.scale",
704
+ "type": "boolean",
705
+ "description": "Scale slice on hover."
706
+ },
707
+ {
708
+ "name": "series[].selectedMode",
709
+ "type": "boolean | string",
710
+ "description": "Click to select."
711
+ },
712
+ {
713
+ "name": "series[].selectedOffset",
714
+ "type": "number",
715
+ "description": "Offset when selected."
716
+ }
717
+ ],
718
+ "snippet": "\"series\": [{ \"type\": \"pie\", \"radius\": \"60%\", \"data\": [{\"name\":\"A\",\"value\":35},{\"name\":\"B\",\"value\":65}] }]"
719
+ },
720
+ {
721
+ "id": "tooltip",
722
+ "title": "tooltip",
723
+ "optionPath": "option.tooltip",
724
+ "description": "Hover tooltip.",
725
+ "properties": [
726
+ {
727
+ "name": "tooltip.trigger",
728
+ "type": "string",
729
+ "default": "item",
730
+ "description": "Usually 'item' for pie."
731
+ },
732
+ {
733
+ "name": "tooltip.formatter",
734
+ "type": "string | function",
735
+ "description": "e.g. '{b}: {c} ({d}%)'."
736
+ }
737
+ ],
738
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
739
+ },
740
+ {
741
+ "id": "legend",
742
+ "title": "legend",
743
+ "optionPath": "option.legend",
744
+ "description": "Legend for slices.",
745
+ "properties": [
746
+ {
747
+ "name": "legend.show",
748
+ "type": "boolean",
749
+ "description": "Show legend."
750
+ },
751
+ {
752
+ "name": "legend.orient",
753
+ "type": "string",
754
+ "description": "'horizontal' | 'vertical'."
755
+ }
756
+ ],
757
+ "snippet": "\"legend\": { \"orient\": \"vertical\", \"left\": \"left\" }"
758
+ },
759
+ {
760
+ "id": "styling",
761
+ "title": "styling",
762
+ "optionPath": "option (styling)",
763
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
764
+ "properties": [
765
+ {
766
+ "name": "backgroundColor",
767
+ "type": "string",
768
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
769
+ },
770
+ {
771
+ "name": "title.textStyle",
772
+ "type": "object",
773
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
774
+ },
775
+ {
776
+ "name": "title.textStyle.fontSize",
777
+ "type": "number",
778
+ "default": "18",
779
+ "description": "Title font size (px)."
780
+ },
781
+ {
782
+ "name": "title.textStyle.color",
783
+ "type": "string",
784
+ "description": "Title text color."
785
+ },
786
+ {
787
+ "name": "title.textStyle.fontWeight",
788
+ "type": "string | number",
789
+ "description": "e.g. 'bold', 600."
790
+ },
791
+ {
792
+ "name": "legend.textStyle",
793
+ "type": "object",
794
+ "description": "Legend label font: fontSize, color."
795
+ },
796
+ {
797
+ "name": "tooltip.backgroundColor",
798
+ "type": "string",
799
+ "description": "Tooltip background color."
800
+ },
801
+ {
802
+ "name": "tooltip.borderColor",
803
+ "type": "string",
804
+ "description": "Tooltip border color."
805
+ },
806
+ {
807
+ "name": "tooltip.textStyle",
808
+ "type": "object",
809
+ "description": "Tooltip font: fontSize, color."
810
+ },
811
+ {
812
+ "name": "series[].itemStyle",
813
+ "type": "object",
814
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
815
+ },
816
+ {
817
+ "name": "series[].lineStyle",
818
+ "type": "object",
819
+ "description": "Lines: color, width, type ('solid'|'dashed')."
820
+ },
821
+ {
822
+ "name": "series[].areaStyle",
823
+ "type": "object",
824
+ "description": "Area fill: color, opacity."
825
+ },
826
+ {
827
+ "name": "series[].label",
828
+ "type": "object",
829
+ "description": "Data labels: show, color, fontSize, formatter."
830
+ }
831
+ ],
832
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
833
+ }
834
+ ],
835
+ "scatter": [
836
+ {
837
+ "id": "title",
838
+ "title": "title",
839
+ "optionPath": "option.title",
840
+ "description": "Chart title.",
841
+ "properties": [
842
+ {
843
+ "name": "title.text",
844
+ "type": "string",
845
+ "description": "Title text."
846
+ }
847
+ ],
848
+ "snippet": "\"title\": { \"text\": \"Scatter\" }"
849
+ },
850
+ {
851
+ "id": "grid",
852
+ "title": "grid",
853
+ "optionPath": "option.grid",
854
+ "description": "Chart area margins.",
855
+ "properties": [
856
+ {
857
+ "name": "grid.left",
858
+ "type": "number",
859
+ "description": "Left (px)."
860
+ },
861
+ {
862
+ "name": "grid.right",
863
+ "type": "number",
864
+ "description": "Right."
865
+ },
866
+ {
867
+ "name": "grid.top",
868
+ "type": "number",
869
+ "description": "Top."
870
+ },
871
+ {
872
+ "name": "grid.bottom",
873
+ "type": "number",
874
+ "description": "Bottom."
875
+ }
876
+ ],
877
+ "snippet": "\"grid\": { \"left\": 50, \"right\": 20, \"top\": 50, \"bottom\": 40 }"
878
+ },
879
+ {
880
+ "id": "xAxis",
881
+ "title": "xAxis",
882
+ "optionPath": "option.xAxis",
883
+ "description": "X axis (value or category).",
884
+ "properties": [
885
+ {
886
+ "name": "xAxis.type",
887
+ "type": "string",
888
+ "description": "'value' | 'category'."
889
+ },
890
+ {
891
+ "name": "xAxis.name",
892
+ "type": "string",
893
+ "description": "Axis name."
894
+ }
895
+ ],
896
+ "snippet": "\"xAxis\": { \"name\": \"X\" }"
897
+ },
898
+ {
899
+ "id": "yAxis",
900
+ "title": "yAxis",
901
+ "optionPath": "option.yAxis",
902
+ "description": "Y axis.",
903
+ "properties": [
904
+ {
905
+ "name": "yAxis.name",
906
+ "type": "string",
907
+ "description": "Axis name."
908
+ }
909
+ ],
910
+ "snippet": "\"yAxis\": { \"name\": \"Y\" }"
911
+ },
912
+ {
913
+ "id": "series-scatter",
914
+ "title": "series (scatter)",
915
+ "optionPath": "option.series",
916
+ "description": "Scatter series: data as [x,y] or [{ value: [x,y] }, ...].",
917
+ "properties": [
918
+ {
919
+ "name": "series[].type",
920
+ "type": "string",
921
+ "description": "Must be 'scatter'."
922
+ },
923
+ {
924
+ "name": "series[].symbol",
925
+ "type": "string",
926
+ "description": "'circle' | 'rect' | 'roundRect' | 'triangle' | 'diamond' | 'pin' | 'arrow'."
927
+ },
928
+ {
929
+ "name": "series[].symbolSize",
930
+ "type": "number | function",
931
+ "description": "Size in px or (value, params) => number."
932
+ },
933
+ {
934
+ "name": "series[].large",
935
+ "type": "boolean",
936
+ "description": "Use sampling for many points."
937
+ },
938
+ {
939
+ "name": "series[].largeThreshold",
940
+ "type": "number",
941
+ "description": "Threshold for large mode."
942
+ }
943
+ ],
944
+ "snippet": "\"series\": [{ \"type\": \"scatter\", \"symbolSize\": 10, \"data\": [[10,20],[30,40]] }]"
945
+ },
946
+ {
947
+ "id": "tooltip",
948
+ "title": "tooltip",
949
+ "optionPath": "option.tooltip",
950
+ "description": "Hover tooltip.",
951
+ "properties": [
952
+ {
953
+ "name": "tooltip.trigger",
954
+ "type": "string",
955
+ "description": "'item' typically."
956
+ }
957
+ ],
958
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
959
+ },
960
+ {
961
+ "id": "legend",
962
+ "title": "legend",
963
+ "optionPath": "option.legend",
964
+ "description": "Legend.",
965
+ "properties": [
966
+ {
967
+ "name": "legend.show",
968
+ "type": "boolean",
969
+ "description": "Show legend."
970
+ }
971
+ ],
972
+ "snippet": "\"legend\": { \"top\": \"bottom\" }"
973
+ },
974
+ {
975
+ "id": "styling",
976
+ "title": "styling",
977
+ "optionPath": "option (styling)",
978
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
979
+ "properties": [
980
+ {
981
+ "name": "backgroundColor",
982
+ "type": "string",
983
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
984
+ },
985
+ {
986
+ "name": "title.textStyle",
987
+ "type": "object",
988
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
989
+ },
990
+ {
991
+ "name": "title.textStyle.fontSize",
992
+ "type": "number",
993
+ "default": "18",
994
+ "description": "Title font size (px)."
995
+ },
996
+ {
997
+ "name": "title.textStyle.color",
998
+ "type": "string",
999
+ "description": "Title text color."
1000
+ },
1001
+ {
1002
+ "name": "title.textStyle.fontWeight",
1003
+ "type": "string | number",
1004
+ "description": "e.g. 'bold', 600."
1005
+ },
1006
+ {
1007
+ "name": "legend.textStyle",
1008
+ "type": "object",
1009
+ "description": "Legend label font: fontSize, color."
1010
+ },
1011
+ {
1012
+ "name": "tooltip.backgroundColor",
1013
+ "type": "string",
1014
+ "description": "Tooltip background color."
1015
+ },
1016
+ {
1017
+ "name": "tooltip.borderColor",
1018
+ "type": "string",
1019
+ "description": "Tooltip border color."
1020
+ },
1021
+ {
1022
+ "name": "tooltip.textStyle",
1023
+ "type": "object",
1024
+ "description": "Tooltip font: fontSize, color."
1025
+ },
1026
+ {
1027
+ "name": "series[].itemStyle",
1028
+ "type": "object",
1029
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
1030
+ },
1031
+ {
1032
+ "name": "series[].lineStyle",
1033
+ "type": "object",
1034
+ "description": "Lines: color, width, type ('solid'|'dashed')."
1035
+ },
1036
+ {
1037
+ "name": "series[].areaStyle",
1038
+ "type": "object",
1039
+ "description": "Area fill: color, opacity."
1040
+ },
1041
+ {
1042
+ "name": "series[].label",
1043
+ "type": "object",
1044
+ "description": "Data labels: show, color, fontSize, formatter."
1045
+ }
1046
+ ],
1047
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
1048
+ }
1049
+ ],
1050
+ "gauge": [
1051
+ {
1052
+ "id": "title",
1053
+ "title": "title",
1054
+ "optionPath": "option.title",
1055
+ "description": "Chart title.",
1056
+ "properties": [
1057
+ {
1058
+ "name": "title.text",
1059
+ "type": "string",
1060
+ "description": "Title text."
1061
+ }
1062
+ ],
1063
+ "snippet": "\"title\": { \"text\": \"Speed\" }"
1064
+ },
1065
+ {
1066
+ "id": "series-gauge",
1067
+ "title": "series (gauge)",
1068
+ "optionPath": "option.series",
1069
+ "description": "Gauge: data is array of values (one per arc when multiple). Center detail uses first value only.",
1070
+ "properties": [
1071
+ {
1072
+ "name": "series[].type",
1073
+ "type": "string",
1074
+ "description": "Must be 'gauge'."
1075
+ },
1076
+ {
1077
+ "name": "series[].min",
1078
+ "type": "number",
1079
+ "description": "Minimum value."
1080
+ },
1081
+ {
1082
+ "name": "series[].max",
1083
+ "type": "number",
1084
+ "description": "Maximum value."
1085
+ },
1086
+ {
1087
+ "name": "series[].splitNumber",
1088
+ "type": "number",
1089
+ "description": "Major segments; major tick count = splitNumber + 1."
1090
+ },
1091
+ {
1092
+ "name": "series[].splitLine",
1093
+ "type": "object",
1094
+ "description": "Major radial ticks: show (default on), length, distance, lineStyle."
1095
+ },
1096
+ {
1097
+ "name": "series[].axisTick",
1098
+ "type": "object",
1099
+ "description": "Minor ticks between majors — set show: true (default off)."
1100
+ },
1101
+ {
1102
+ "name": "series[].axisLine.lineStyle",
1103
+ "type": "object",
1104
+ "description": "Axis line color/width."
1105
+ },
1106
+ {
1107
+ "name": "series[].splitArea",
1108
+ "type": "object",
1109
+ "description": "Alternating segment colors."
1110
+ },
1111
+ {
1112
+ "name": "series[].axisLabel.formatter",
1113
+ "type": "string | function",
1114
+ "description": "Tick label formatter."
1115
+ },
1116
+ {
1117
+ "name": "series[].detail.formatter",
1118
+ "type": "string | function",
1119
+ "description": "Center value formatter."
1120
+ },
1121
+ {
1122
+ "name": "title.offsetCenter",
1123
+ "type": "array",
1124
+ "description": "Chart title position (% strings); not series.title."
1125
+ }
1126
+ ],
1127
+ "snippet": "\"series\": [{ \"type\": \"gauge\", \"min\": 0, \"max\": 100, \"data\": [{ \"value\": 65 }] }]"
1128
+ },
1129
+ {
1130
+ "id": "legend-gauge",
1131
+ "title": "legend (gauge)",
1132
+ "optionPath": "option.legend",
1133
+ "description": "Optional color swatch under the chart. Omit legend or leave show unset to hide (the dial already shows the metric). Set legend.show: true to show; label text is option.title.text or series name.",
1134
+ "properties": [
1135
+ {
1136
+ "name": "legend.show",
1137
+ "type": "boolean",
1138
+ "description": "true = show swatch; false = hide; omit = hidden."
1139
+ }
1140
+ ],
1141
+ "snippet": "\"legend\": { \"show\": true }"
1142
+ },
1143
+ {
1144
+ "id": "tooltip",
1145
+ "title": "tooltip",
1146
+ "optionPath": "option.tooltip",
1147
+ "description": "Hover tooltip.",
1148
+ "properties": [
1149
+ {
1150
+ "name": "tooltip.show",
1151
+ "type": "boolean",
1152
+ "description": "Show tooltip."
1153
+ }
1154
+ ],
1155
+ "snippet": "\"tooltip\": { \"show\": true }"
1156
+ },
1157
+ {
1158
+ "id": "styling",
1159
+ "title": "styling",
1160
+ "optionPath": "option (styling)",
1161
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
1162
+ "properties": [
1163
+ {
1164
+ "name": "backgroundColor",
1165
+ "type": "string",
1166
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
1167
+ },
1168
+ {
1169
+ "name": "title.textStyle",
1170
+ "type": "object",
1171
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
1172
+ },
1173
+ {
1174
+ "name": "title.textStyle.fontSize",
1175
+ "type": "number",
1176
+ "default": "18",
1177
+ "description": "Title font size (px)."
1178
+ },
1179
+ {
1180
+ "name": "title.textStyle.color",
1181
+ "type": "string",
1182
+ "description": "Title text color."
1183
+ },
1184
+ {
1185
+ "name": "title.textStyle.fontWeight",
1186
+ "type": "string | number",
1187
+ "description": "e.g. 'bold', 600."
1188
+ },
1189
+ {
1190
+ "name": "legend.textStyle",
1191
+ "type": "object",
1192
+ "description": "Legend label font: fontSize, color."
1193
+ },
1194
+ {
1195
+ "name": "tooltip.backgroundColor",
1196
+ "type": "string",
1197
+ "description": "Tooltip background color."
1198
+ },
1199
+ {
1200
+ "name": "tooltip.borderColor",
1201
+ "type": "string",
1202
+ "description": "Tooltip border color."
1203
+ },
1204
+ {
1205
+ "name": "tooltip.textStyle",
1206
+ "type": "object",
1207
+ "description": "Tooltip font: fontSize, color."
1208
+ },
1209
+ {
1210
+ "name": "series[].itemStyle",
1211
+ "type": "object",
1212
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
1213
+ },
1214
+ {
1215
+ "name": "series[].lineStyle",
1216
+ "type": "object",
1217
+ "description": "Lines: color, width, type ('solid'|'dashed')."
1218
+ },
1219
+ {
1220
+ "name": "series[].areaStyle",
1221
+ "type": "object",
1222
+ "description": "Area fill: color, opacity."
1223
+ },
1224
+ {
1225
+ "name": "series[].label",
1226
+ "type": "object",
1227
+ "description": "Data labels: show, color, fontSize, formatter."
1228
+ }
1229
+ ],
1230
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
1231
+ }
1232
+ ],
1233
+ "funnel": [
1234
+ {
1235
+ "id": "title",
1236
+ "title": "title",
1237
+ "optionPath": "option.title",
1238
+ "description": "Chart title.",
1239
+ "properties": [
1240
+ {
1241
+ "name": "title.text",
1242
+ "type": "string",
1243
+ "description": "Title text."
1244
+ }
1245
+ ],
1246
+ "snippet": "\"title\": { \"text\": \"Funnel\" }"
1247
+ },
1248
+ {
1249
+ "id": "series-funnel",
1250
+ "title": "series (funnel)",
1251
+ "optionPath": "option.series",
1252
+ "description": "Funnel: data as [{ name, value, itemStyle? }, ...], or dataset + encode.itemName / encode.value.",
1253
+ "properties": [
1254
+ {
1255
+ "name": "series[].type",
1256
+ "type": "string",
1257
+ "description": "Must be 'funnel'."
1258
+ },
1259
+ {
1260
+ "name": "series[].sort",
1261
+ "type": "string",
1262
+ "description": "'ascending' | 'asc' | 'descending' | 'desc' | 'none' | null."
1263
+ },
1264
+ {
1265
+ "name": "series[].gap",
1266
+ "type": "number",
1267
+ "description": "Gap between segments (px)."
1268
+ },
1269
+ {
1270
+ "name": "series[].orient",
1271
+ "type": "string",
1272
+ "description": "'vertical' (default) | 'horizontal'."
1273
+ },
1274
+ {
1275
+ "name": "series[].funnelAlign",
1276
+ "type": "string",
1277
+ "description": "Vertical: 'left' | 'center' | 'right'. Horizontal: 'top' | 'center' | 'bottom'."
1278
+ },
1279
+ {
1280
+ "name": "series[].minSize",
1281
+ "type": "string | number",
1282
+ "description": "Min neck width as % (e.g. '20%')."
1283
+ },
1284
+ {
1285
+ "name": "series[].maxSize",
1286
+ "type": "string | number",
1287
+ "description": "Max width as % (default '100%')."
1288
+ },
1289
+ {
1290
+ "name": "series[].label.position",
1291
+ "type": "string",
1292
+ "description": "inside | center | insideLeft | insideRight | left | right | outside | top | bottom."
1293
+ },
1294
+ {
1295
+ "name": "series[].label.showValue",
1296
+ "type": "boolean",
1297
+ "description": "Second line with raw value; default true."
1298
+ },
1299
+ {
1300
+ "name": "series[].label.overflow",
1301
+ "type": "string",
1302
+ "description": "Inside labels: truncate | break | breakAll | none (default truncate, ECharts-style)."
1303
+ },
1304
+ {
1305
+ "name": "series[].label.lineHeight",
1306
+ "type": "number",
1307
+ "description": "Line height multiplier for wrapped inside labels."
1308
+ },
1309
+ {
1310
+ "name": "series[].label.formatter",
1311
+ "type": "string | function",
1312
+ "description": "Placeholders {a}{b} name, {c} value, {d} percent."
1313
+ },
1314
+ {
1315
+ "name": "series[].labelLine",
1316
+ "type": "object",
1317
+ "description": "show, length, length2 for outside left/right labels."
1318
+ },
1319
+ {
1320
+ "name": "series[].emphasis.itemStyle",
1321
+ "type": "object",
1322
+ "description": "Hover outline: borderColor, borderWidth."
1323
+ },
1324
+ {
1325
+ "name": "series[].silent",
1326
+ "type": "boolean",
1327
+ "description": "Disable pointer events and tooltip."
1328
+ }
1329
+ ],
1330
+ "snippet": "\"series\": [{ \"type\": \"funnel\", \"sort\": \"descending\", \"gap\": 4, \"funnelAlign\": \"center\", \"data\": [{\"name\":\"A\",\"value\":100}] }]"
1331
+ },
1332
+ {
1333
+ "id": "tooltip",
1334
+ "title": "tooltip",
1335
+ "optionPath": "option.tooltip",
1336
+ "description": "Hover tooltip.",
1337
+ "properties": [
1338
+ {
1339
+ "name": "tooltip.trigger",
1340
+ "type": "string",
1341
+ "description": "'item'."
1342
+ }
1343
+ ],
1344
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
1345
+ },
1346
+ {
1347
+ "id": "legend",
1348
+ "title": "legend",
1349
+ "optionPath": "option.legend",
1350
+ "description": "List legend with optional toggle.",
1351
+ "properties": [
1352
+ {
1353
+ "name": "legend.show",
1354
+ "type": "boolean",
1355
+ "description": "Show legend."
1356
+ },
1357
+ {
1358
+ "name": "legend.selected",
1359
+ "type": "object",
1360
+ "description": "Map name → boolean for initial visibility."
1361
+ },
1362
+ {
1363
+ "name": "legend.selectedMode",
1364
+ "type": "boolean | string",
1365
+ "description": "false disables click toggle."
1366
+ }
1367
+ ],
1368
+ "snippet": "\"legend\": { \"show\": true, \"selected\": { \"A\": true } }"
1369
+ },
1370
+ {
1371
+ "id": "styling",
1372
+ "title": "styling",
1373
+ "optionPath": "option (styling)",
1374
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
1375
+ "properties": [
1376
+ {
1377
+ "name": "backgroundColor",
1378
+ "type": "string",
1379
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
1380
+ },
1381
+ {
1382
+ "name": "title.textStyle",
1383
+ "type": "object",
1384
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
1385
+ },
1386
+ {
1387
+ "name": "title.textStyle.fontSize",
1388
+ "type": "number",
1389
+ "default": "18",
1390
+ "description": "Title font size (px)."
1391
+ },
1392
+ {
1393
+ "name": "title.textStyle.color",
1394
+ "type": "string",
1395
+ "description": "Title text color."
1396
+ },
1397
+ {
1398
+ "name": "title.textStyle.fontWeight",
1399
+ "type": "string | number",
1400
+ "description": "e.g. 'bold', 600."
1401
+ },
1402
+ {
1403
+ "name": "legend.textStyle",
1404
+ "type": "object",
1405
+ "description": "Legend label font: fontSize, color."
1406
+ },
1407
+ {
1408
+ "name": "tooltip.backgroundColor",
1409
+ "type": "string",
1410
+ "description": "Tooltip background color."
1411
+ },
1412
+ {
1413
+ "name": "tooltip.borderColor",
1414
+ "type": "string",
1415
+ "description": "Tooltip border color."
1416
+ },
1417
+ {
1418
+ "name": "tooltip.textStyle",
1419
+ "type": "object",
1420
+ "description": "Tooltip font: fontSize, color."
1421
+ },
1422
+ {
1423
+ "name": "series[].itemStyle",
1424
+ "type": "object",
1425
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
1426
+ },
1427
+ {
1428
+ "name": "series[].lineStyle",
1429
+ "type": "object",
1430
+ "description": "Lines: color, width, type ('solid'|'dashed')."
1431
+ },
1432
+ {
1433
+ "name": "series[].areaStyle",
1434
+ "type": "object",
1435
+ "description": "Area fill: color, opacity."
1436
+ },
1437
+ {
1438
+ "name": "series[].label",
1439
+ "type": "object",
1440
+ "description": "Data labels: show, color, fontSize, formatter."
1441
+ }
1442
+ ],
1443
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
1444
+ }
1445
+ ],
1446
+ "heatmap": [
1447
+ {
1448
+ "id": "title",
1449
+ "title": "title",
1450
+ "optionPath": "option.title",
1451
+ "description": "Chart title.",
1452
+ "properties": [
1453
+ {
1454
+ "name": "title.text",
1455
+ "type": "string",
1456
+ "description": "Title text."
1457
+ }
1458
+ ],
1459
+ "snippet": "\"title\": { \"text\": \"Heatmap\" }"
1460
+ },
1461
+ {
1462
+ "id": "grid",
1463
+ "title": "grid",
1464
+ "optionPath": "option.grid",
1465
+ "description": "Chart area.",
1466
+ "properties": [
1467
+ {
1468
+ "name": "grid.left",
1469
+ "type": "number",
1470
+ "description": "Left (px)."
1471
+ },
1472
+ {
1473
+ "name": "grid.right",
1474
+ "type": "number",
1475
+ "description": "Right."
1476
+ },
1477
+ {
1478
+ "name": "grid.top",
1479
+ "type": "number",
1480
+ "description": "Top."
1481
+ },
1482
+ {
1483
+ "name": "grid.bottom",
1484
+ "type": "number",
1485
+ "description": "Bottom."
1486
+ }
1487
+ ],
1488
+ "snippet": "\"grid\": { \"left\": 60, \"right\": 20, \"top\": 50, \"bottom\": 50 }"
1489
+ },
1490
+ {
1491
+ "id": "xAxis",
1492
+ "title": "xAxis",
1493
+ "optionPath": "option.xAxis",
1494
+ "description": "Categories (e.g. hours).",
1495
+ "properties": [
1496
+ {
1497
+ "name": "xAxis.type",
1498
+ "type": "string",
1499
+ "description": "'category'."
1500
+ },
1501
+ {
1502
+ "name": "xAxis.data",
1503
+ "type": "array",
1504
+ "description": "Category labels."
1505
+ }
1506
+ ],
1507
+ "snippet": "\"xAxis\": { \"type\": \"category\", \"data\": [\"a\",\"b\",\"c\"] }"
1508
+ },
1509
+ {
1510
+ "id": "yAxis",
1511
+ "title": "yAxis",
1512
+ "optionPath": "option.yAxis",
1513
+ "description": "Categories (e.g. days).",
1514
+ "properties": [
1515
+ {
1516
+ "name": "yAxis.type",
1517
+ "type": "string",
1518
+ "description": "'category'."
1519
+ },
1520
+ {
1521
+ "name": "yAxis.data",
1522
+ "type": "array",
1523
+ "description": "Category labels."
1524
+ }
1525
+ ],
1526
+ "snippet": "\"yAxis\": { \"type\": \"category\", \"data\": [\"Mon\",\"Tue\"] }"
1527
+ },
1528
+ {
1529
+ "id": "visualMap",
1530
+ "title": "visualMap",
1531
+ "optionPath": "option.visualMap",
1532
+ "description": "Color mapping for cell values.",
1533
+ "properties": [
1534
+ {
1535
+ "name": "visualMap.type",
1536
+ "type": "string",
1537
+ "description": "'piecewise' | 'continuous'."
1538
+ },
1539
+ {
1540
+ "name": "visualMap.min",
1541
+ "type": "number",
1542
+ "description": "Min value."
1543
+ },
1544
+ {
1545
+ "name": "visualMap.max",
1546
+ "type": "number",
1547
+ "description": "Max value."
1548
+ },
1549
+ {
1550
+ "name": "visualMap.inRange",
1551
+ "type": "object",
1552
+ "description": "Color range."
1553
+ }
1554
+ ],
1555
+ "snippet": "\"visualMap\": { \"type\": \"piecewise\", \"min\": 0, \"max\": 10 }"
1556
+ },
1557
+ {
1558
+ "id": "series-heatmap",
1559
+ "title": "series (heatmap)",
1560
+ "optionPath": "option.series",
1561
+ "description": "Data: [[xIndex, yIndex, value], ...].",
1562
+ "properties": [
1563
+ {
1564
+ "name": "series[].type",
1565
+ "type": "string",
1566
+ "description": "Must be 'heatmap'."
1567
+ },
1568
+ {
1569
+ "name": "series[].label.show",
1570
+ "type": "boolean",
1571
+ "description": "Show cell label."
1572
+ },
1573
+ {
1574
+ "name": "series[].label.formatter",
1575
+ "type": "string | function",
1576
+ "description": "'{c}' etc."
1577
+ }
1578
+ ],
1579
+ "snippet": "\"series\": [{ \"type\": \"heatmap\", \"data\": [[0,0,5],[1,0,8]], \"label\": { \"show\": true } }]"
1580
+ },
1581
+ {
1582
+ "id": "tooltip",
1583
+ "title": "tooltip",
1584
+ "optionPath": "option.tooltip",
1585
+ "description": "Hover tooltip.",
1586
+ "properties": [
1587
+ {
1588
+ "name": "tooltip.trigger",
1589
+ "type": "string",
1590
+ "description": "'item'."
1591
+ }
1592
+ ],
1593
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
1594
+ },
1595
+ {
1596
+ "id": "styling",
1597
+ "title": "styling",
1598
+ "optionPath": "option (styling)",
1599
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
1600
+ "properties": [
1601
+ {
1602
+ "name": "backgroundColor",
1603
+ "type": "string",
1604
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
1605
+ },
1606
+ {
1607
+ "name": "title.textStyle",
1608
+ "type": "object",
1609
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
1610
+ },
1611
+ {
1612
+ "name": "title.textStyle.fontSize",
1613
+ "type": "number",
1614
+ "default": "18",
1615
+ "description": "Title font size (px)."
1616
+ },
1617
+ {
1618
+ "name": "title.textStyle.color",
1619
+ "type": "string",
1620
+ "description": "Title text color."
1621
+ },
1622
+ {
1623
+ "name": "title.textStyle.fontWeight",
1624
+ "type": "string | number",
1625
+ "description": "e.g. 'bold', 600."
1626
+ },
1627
+ {
1628
+ "name": "legend.textStyle",
1629
+ "type": "object",
1630
+ "description": "Legend label font: fontSize, color."
1631
+ },
1632
+ {
1633
+ "name": "tooltip.backgroundColor",
1634
+ "type": "string",
1635
+ "description": "Tooltip background color."
1636
+ },
1637
+ {
1638
+ "name": "tooltip.borderColor",
1639
+ "type": "string",
1640
+ "description": "Tooltip border color."
1641
+ },
1642
+ {
1643
+ "name": "tooltip.textStyle",
1644
+ "type": "object",
1645
+ "description": "Tooltip font: fontSize, color."
1646
+ },
1647
+ {
1648
+ "name": "series[].itemStyle",
1649
+ "type": "object",
1650
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
1651
+ },
1652
+ {
1653
+ "name": "series[].lineStyle",
1654
+ "type": "object",
1655
+ "description": "Lines: color, width, type ('solid'|'dashed')."
1656
+ },
1657
+ {
1658
+ "name": "series[].areaStyle",
1659
+ "type": "object",
1660
+ "description": "Area fill: color, opacity."
1661
+ },
1662
+ {
1663
+ "name": "series[].label",
1664
+ "type": "object",
1665
+ "description": "Data labels: show, color, fontSize, formatter."
1666
+ }
1667
+ ],
1668
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
1669
+ }
1670
+ ],
1671
+ "waterfall": [
1672
+ {
1673
+ "id": "title",
1674
+ "title": "title",
1675
+ "optionPath": "option.title",
1676
+ "description": "Chart title.",
1677
+ "properties": [
1678
+ {
1679
+ "name": "title.text",
1680
+ "type": "string",
1681
+ "description": "Title text."
1682
+ }
1683
+ ],
1684
+ "snippet": "\"title\": { \"text\": \"Waterfall\" }"
1685
+ },
1686
+ {
1687
+ "id": "grid",
1688
+ "title": "grid",
1689
+ "optionPath": "option.grid",
1690
+ "description": "Chart area.",
1691
+ "properties": [
1692
+ {
1693
+ "name": "grid.left",
1694
+ "type": "number",
1695
+ "description": "Left (px)."
1696
+ },
1697
+ {
1698
+ "name": "grid.right",
1699
+ "type": "number",
1700
+ "description": "Right."
1701
+ },
1702
+ {
1703
+ "name": "grid.top",
1704
+ "type": "number",
1705
+ "description": "Top."
1706
+ },
1707
+ {
1708
+ "name": "grid.bottom",
1709
+ "type": "number",
1710
+ "description": "Bottom."
1711
+ }
1712
+ ],
1713
+ "snippet": "\"grid\": { \"left\": 50, \"right\": 20, \"top\": 50, \"bottom\": 40 }"
1714
+ },
1715
+ {
1716
+ "id": "xAxis",
1717
+ "title": "xAxis",
1718
+ "optionPath": "option.xAxis",
1719
+ "description": "Category axis.",
1720
+ "properties": [
1721
+ {
1722
+ "name": "xAxis.type",
1723
+ "type": "string",
1724
+ "description": "'category'."
1725
+ },
1726
+ {
1727
+ "name": "xAxis.data",
1728
+ "type": "array",
1729
+ "description": "Labels."
1730
+ }
1731
+ ],
1732
+ "snippet": "\"xAxis\": { \"type\": \"category\", \"data\": [\"Start\",\"A\",\"B\",\"End\"] }"
1733
+ },
1734
+ {
1735
+ "id": "yAxis",
1736
+ "title": "yAxis",
1737
+ "optionPath": "option.yAxis",
1738
+ "description": "Value axis.",
1739
+ "properties": [
1740
+ {
1741
+ "name": "yAxis.name",
1742
+ "type": "string",
1743
+ "description": "Axis name."
1744
+ }
1745
+ ],
1746
+ "snippet": "\"yAxis\": { \"name\": \"Amount\" }"
1747
+ },
1748
+ {
1749
+ "id": "series-waterfall",
1750
+ "title": "series (waterfall)",
1751
+ "optionPath": "option.series",
1752
+ "description": "Data: [{ name, value }, ...]. Total row: same name as first item or isTotal: true.",
1753
+ "properties": [
1754
+ {
1755
+ "name": "series[].type",
1756
+ "type": "string",
1757
+ "description": "Must be 'waterfall'."
1758
+ },
1759
+ {
1760
+ "name": "series[].totalItemStyle",
1761
+ "type": "object",
1762
+ "description": "Style for total bar (color, etc.)."
1763
+ }
1764
+ ],
1765
+ "snippet": "\"series\": [{ \"type\": \"waterfall\", \"data\": [{\"name\":\"Start\",\"value\":100},{\"name\":\"A\",\"value\":-20},{\"name\":\"Total\",\"value\":80}], \"totalItemStyle\": { \"color\": \"#6366f1\" } }]"
1766
+ },
1767
+ {
1768
+ "id": "tooltip",
1769
+ "title": "tooltip",
1770
+ "optionPath": "option.tooltip",
1771
+ "description": "Hover tooltip.",
1772
+ "properties": [
1773
+ {
1774
+ "name": "tooltip.trigger",
1775
+ "type": "string",
1776
+ "description": "'axis'."
1777
+ }
1778
+ ],
1779
+ "snippet": "\"tooltip\": { \"trigger\": \"axis\" }"
1780
+ },
1781
+ {
1782
+ "id": "styling",
1783
+ "title": "styling",
1784
+ "optionPath": "option (styling)",
1785
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
1786
+ "properties": [
1787
+ {
1788
+ "name": "backgroundColor",
1789
+ "type": "string",
1790
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
1791
+ },
1792
+ {
1793
+ "name": "title.textStyle",
1794
+ "type": "object",
1795
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
1796
+ },
1797
+ {
1798
+ "name": "title.textStyle.fontSize",
1799
+ "type": "number",
1800
+ "default": "18",
1801
+ "description": "Title font size (px)."
1802
+ },
1803
+ {
1804
+ "name": "title.textStyle.color",
1805
+ "type": "string",
1806
+ "description": "Title text color."
1807
+ },
1808
+ {
1809
+ "name": "title.textStyle.fontWeight",
1810
+ "type": "string | number",
1811
+ "description": "e.g. 'bold', 600."
1812
+ },
1813
+ {
1814
+ "name": "legend.textStyle",
1815
+ "type": "object",
1816
+ "description": "Legend label font: fontSize, color."
1817
+ },
1818
+ {
1819
+ "name": "tooltip.backgroundColor",
1820
+ "type": "string",
1821
+ "description": "Tooltip background color."
1822
+ },
1823
+ {
1824
+ "name": "tooltip.borderColor",
1825
+ "type": "string",
1826
+ "description": "Tooltip border color."
1827
+ },
1828
+ {
1829
+ "name": "tooltip.textStyle",
1830
+ "type": "object",
1831
+ "description": "Tooltip font: fontSize, color."
1832
+ },
1833
+ {
1834
+ "name": "series[].itemStyle",
1835
+ "type": "object",
1836
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
1837
+ },
1838
+ {
1839
+ "name": "series[].lineStyle",
1840
+ "type": "object",
1841
+ "description": "Lines: color, width, type ('solid'|'dashed')."
1842
+ },
1843
+ {
1844
+ "name": "series[].areaStyle",
1845
+ "type": "object",
1846
+ "description": "Area fill: color, opacity."
1847
+ },
1848
+ {
1849
+ "name": "series[].label",
1850
+ "type": "object",
1851
+ "description": "Data labels: show, color, fontSize, formatter."
1852
+ }
1853
+ ],
1854
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
1855
+ }
1856
+ ],
1857
+ "treemap": [
1858
+ {
1859
+ "id": "title",
1860
+ "title": "title",
1861
+ "optionPath": "option.title",
1862
+ "description": "Chart title.",
1863
+ "properties": [
1864
+ {
1865
+ "name": "title.text",
1866
+ "type": "string",
1867
+ "description": "Title text."
1868
+ }
1869
+ ],
1870
+ "snippet": "\"title\": { \"text\": \"Treemap\" }"
1871
+ },
1872
+ {
1873
+ "id": "series-treemap",
1874
+ "title": "series (treemap)",
1875
+ "optionPath": "option.series",
1876
+ "description": "Hierarchy: data as { name, value, children?: [] }.",
1877
+ "properties": [
1878
+ {
1879
+ "name": "series[].type",
1880
+ "type": "string",
1881
+ "description": "Must be 'treemap'."
1882
+ },
1883
+ {
1884
+ "name": "series[].sort",
1885
+ "type": "string",
1886
+ "description": "'desc' | 'asc' | null (by data order)."
1887
+ },
1888
+ {
1889
+ "name": "series[].label.formatter",
1890
+ "type": "string | function",
1891
+ "description": "'{b}' | '{c}' etc."
1892
+ },
1893
+ {
1894
+ "name": "series[].levels",
1895
+ "type": "array",
1896
+ "description": "Per-level itemStyle/label."
1897
+ }
1898
+ ],
1899
+ "snippet": "\"series\": [{ \"type\": \"treemap\", \"data\": [{ \"name\": \"A\", \"value\": 10, \"children\": [] }], \"sort\": \"desc\" }]"
1900
+ },
1901
+ {
1902
+ "id": "tooltip",
1903
+ "title": "tooltip",
1904
+ "optionPath": "option.tooltip",
1905
+ "description": "Hover tooltip.",
1906
+ "properties": [
1907
+ {
1908
+ "name": "tooltip.trigger",
1909
+ "type": "string",
1910
+ "description": "'item'."
1911
+ }
1912
+ ],
1913
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
1914
+ },
1915
+ {
1916
+ "id": "styling",
1917
+ "title": "styling",
1918
+ "optionPath": "option (styling)",
1919
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
1920
+ "properties": [
1921
+ {
1922
+ "name": "backgroundColor",
1923
+ "type": "string",
1924
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
1925
+ },
1926
+ {
1927
+ "name": "title.textStyle",
1928
+ "type": "object",
1929
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
1930
+ },
1931
+ {
1932
+ "name": "title.textStyle.fontSize",
1933
+ "type": "number",
1934
+ "default": "18",
1935
+ "description": "Title font size (px)."
1936
+ },
1937
+ {
1938
+ "name": "title.textStyle.color",
1939
+ "type": "string",
1940
+ "description": "Title text color."
1941
+ },
1942
+ {
1943
+ "name": "title.textStyle.fontWeight",
1944
+ "type": "string | number",
1945
+ "description": "e.g. 'bold', 600."
1946
+ },
1947
+ {
1948
+ "name": "legend.textStyle",
1949
+ "type": "object",
1950
+ "description": "Legend label font: fontSize, color."
1951
+ },
1952
+ {
1953
+ "name": "tooltip.backgroundColor",
1954
+ "type": "string",
1955
+ "description": "Tooltip background color."
1956
+ },
1957
+ {
1958
+ "name": "tooltip.borderColor",
1959
+ "type": "string",
1960
+ "description": "Tooltip border color."
1961
+ },
1962
+ {
1963
+ "name": "tooltip.textStyle",
1964
+ "type": "object",
1965
+ "description": "Tooltip font: fontSize, color."
1966
+ },
1967
+ {
1968
+ "name": "series[].itemStyle",
1969
+ "type": "object",
1970
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
1971
+ },
1972
+ {
1973
+ "name": "series[].lineStyle",
1974
+ "type": "object",
1975
+ "description": "Lines: color, width, type ('solid'|'dashed')."
1976
+ },
1977
+ {
1978
+ "name": "series[].areaStyle",
1979
+ "type": "object",
1980
+ "description": "Area fill: color, opacity."
1981
+ },
1982
+ {
1983
+ "name": "series[].label",
1984
+ "type": "object",
1985
+ "description": "Data labels: show, color, fontSize, formatter."
1986
+ }
1987
+ ],
1988
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
1989
+ }
1990
+ ],
1991
+ "sunburst": [
1992
+ {
1993
+ "id": "title",
1994
+ "title": "title",
1995
+ "optionPath": "option.title",
1996
+ "description": "Chart title.",
1997
+ "properties": [
1998
+ {
1999
+ "name": "title.text",
2000
+ "type": "string",
2001
+ "description": "Title text."
2002
+ }
2003
+ ],
2004
+ "snippet": "\"title\": { \"text\": \"Sunburst\" }"
2005
+ },
2006
+ {
2007
+ "id": "series-sunburst",
2008
+ "title": "series (sunburst)",
2009
+ "optionPath": "option.series",
2010
+ "description": "Hierarchy: data as { name, value, children?: [] }.",
2011
+ "properties": [
2012
+ {
2013
+ "name": "series[].type",
2014
+ "type": "string",
2015
+ "description": "Must be 'sunburst'."
2016
+ },
2017
+ {
2018
+ "name": "series[].radius",
2019
+ "type": "[string, string]",
2020
+ "description": "Inner/outer radius."
2021
+ },
2022
+ {
2023
+ "name": "series[].sort",
2024
+ "type": "string",
2025
+ "description": "'desc' | 'asc' | null."
2026
+ },
2027
+ {
2028
+ "name": "series[].label.formatter",
2029
+ "type": "string | function",
2030
+ "description": "Label template."
2031
+ }
2032
+ ],
2033
+ "snippet": "\"series\": [{ \"type\": \"sunburst\", \"radius\": [\"0%\",\"100%\"], \"data\": [{ \"name\": \"A\", \"value\": 10 }], \"sort\": \"desc\" }]"
2034
+ },
2035
+ {
2036
+ "id": "tooltip",
2037
+ "title": "tooltip",
2038
+ "optionPath": "option.tooltip",
2039
+ "description": "Hover tooltip.",
2040
+ "properties": [
2041
+ {
2042
+ "name": "tooltip.trigger",
2043
+ "type": "string",
2044
+ "description": "'item'."
2045
+ }
2046
+ ],
2047
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
2048
+ },
2049
+ {
2050
+ "id": "styling",
2051
+ "title": "styling",
2052
+ "optionPath": "option (styling)",
2053
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
2054
+ "properties": [
2055
+ {
2056
+ "name": "backgroundColor",
2057
+ "type": "string",
2058
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
2059
+ },
2060
+ {
2061
+ "name": "title.textStyle",
2062
+ "type": "object",
2063
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
2064
+ },
2065
+ {
2066
+ "name": "title.textStyle.fontSize",
2067
+ "type": "number",
2068
+ "default": "18",
2069
+ "description": "Title font size (px)."
2070
+ },
2071
+ {
2072
+ "name": "title.textStyle.color",
2073
+ "type": "string",
2074
+ "description": "Title text color."
2075
+ },
2076
+ {
2077
+ "name": "title.textStyle.fontWeight",
2078
+ "type": "string | number",
2079
+ "description": "e.g. 'bold', 600."
2080
+ },
2081
+ {
2082
+ "name": "legend.textStyle",
2083
+ "type": "object",
2084
+ "description": "Legend label font: fontSize, color."
2085
+ },
2086
+ {
2087
+ "name": "tooltip.backgroundColor",
2088
+ "type": "string",
2089
+ "description": "Tooltip background color."
2090
+ },
2091
+ {
2092
+ "name": "tooltip.borderColor",
2093
+ "type": "string",
2094
+ "description": "Tooltip border color."
2095
+ },
2096
+ {
2097
+ "name": "tooltip.textStyle",
2098
+ "type": "object",
2099
+ "description": "Tooltip font: fontSize, color."
2100
+ },
2101
+ {
2102
+ "name": "series[].itemStyle",
2103
+ "type": "object",
2104
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
2105
+ },
2106
+ {
2107
+ "name": "series[].lineStyle",
2108
+ "type": "object",
2109
+ "description": "Lines: color, width, type ('solid'|'dashed')."
2110
+ },
2111
+ {
2112
+ "name": "series[].areaStyle",
2113
+ "type": "object",
2114
+ "description": "Area fill: color, opacity."
2115
+ },
2116
+ {
2117
+ "name": "series[].label",
2118
+ "type": "object",
2119
+ "description": "Data labels: show, color, fontSize, formatter."
2120
+ }
2121
+ ],
2122
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
2123
+ }
2124
+ ],
2125
+ "parallel": [
2126
+ {
2127
+ "id": "title",
2128
+ "title": "title",
2129
+ "optionPath": "option.title",
2130
+ "description": "Chart title.",
2131
+ "properties": [
2132
+ {
2133
+ "name": "title.text",
2134
+ "type": "string",
2135
+ "description": "Title text."
2136
+ }
2137
+ ],
2138
+ "snippet": "\"title\": { \"text\": \"Parallel\" }"
2139
+ },
2140
+ {
2141
+ "id": "parallel-layout",
2142
+ "title": "parallel",
2143
+ "optionPath": "option.parallel",
2144
+ "description": "Chart area like grid: left, right, top, bottom, width, height (px or %).",
2145
+ "properties": [
2146
+ {
2147
+ "name": "parallel.left",
2148
+ "type": "number | string",
2149
+ "description": "Inset from container left."
2150
+ },
2151
+ {
2152
+ "name": "parallel.width",
2153
+ "type": "number | string",
2154
+ "description": "Region width."
2155
+ }
2156
+ ],
2157
+ "snippet": "\"parallel\": { \"left\": 40, \"right\": 40, \"top\": 50, \"bottom\": 40 }"
2158
+ },
2159
+ {
2160
+ "id": "parallelAxis",
2161
+ "title": "parallelAxis",
2162
+ "optionPath": "option.parallelAxis",
2163
+ "description": "Per dimension: match by index or dim. Value (default) or category axis.",
2164
+ "properties": [
2165
+ {
2166
+ "name": "parallelAxis[].dim",
2167
+ "type": "number",
2168
+ "description": "Dimension index (0-based)."
2169
+ },
2170
+ {
2171
+ "name": "parallelAxis[].name",
2172
+ "type": "string",
2173
+ "description": "Axis title."
2174
+ },
2175
+ {
2176
+ "name": "parallelAxis[].type",
2177
+ "type": "string",
2178
+ "description": "'value' | 'category'."
2179
+ },
2180
+ {
2181
+ "name": "parallelAxis[].data",
2182
+ "type": "string[]",
2183
+ "description": "Category names when type is category."
2184
+ },
2185
+ {
2186
+ "name": "parallelAxis[].min / max",
2187
+ "type": "number",
2188
+ "description": "Value domain override."
2189
+ },
2190
+ {
2191
+ "name": "parallelAxis[].inverse",
2192
+ "type": "boolean",
2193
+ "description": "Invert axis direction."
2194
+ },
2195
+ {
2196
+ "name": "parallelAxis[].axisLine / axisTick / axisLabel / splitLine",
2197
+ "type": "object",
2198
+ "description": "Style and formatter (see parallelAxis)."
2199
+ }
2200
+ ],
2201
+ "snippet": "\"parallelAxis\": [{ \"dim\": 0, \"name\": \"A\" }, { \"dim\": 1, \"type\": \"category\", \"data\": [\"x\",\"y\"] }]"
2202
+ },
2203
+ {
2204
+ "id": "series-parallel",
2205
+ "title": "series (parallel)",
2206
+ "optionPath": "option.series",
2207
+ "description": "Inline `data`: number[][] or `{ value, name }[]`. Or omit data and use `dataset` (one consuming series). Multiple parallel series overlay; legend shows each.",
2208
+ "properties": [
2209
+ {
2210
+ "name": "series[].type",
2211
+ "type": "string",
2212
+ "description": "Must be 'parallel'."
2213
+ },
2214
+ {
2215
+ "name": "series[].data",
2216
+ "type": "array",
2217
+ "description": "Rows across dimensions."
2218
+ },
2219
+ {
2220
+ "name": "series[].lineStyle",
2221
+ "type": "object",
2222
+ "description": "Stroke width, color, opacity, type."
2223
+ },
2224
+ {
2225
+ "name": "series[].smooth",
2226
+ "type": "boolean | number",
2227
+ "description": "false = straight; true / spline / tension."
2228
+ },
2229
+ {
2230
+ "name": "series[].inactiveOpacity / activeOpacity",
2231
+ "type": "number",
2232
+ "description": "Hover dimming (ECharts-style)."
2233
+ },
2234
+ {
2235
+ "name": "series[].emphasis",
2236
+ "type": "object",
2237
+ "description": "focus, lineStyle on hover."
2238
+ }
2239
+ ],
2240
+ "snippet": "\"series\": [{ \"type\": \"parallel\", \"data\": [[1,2,3],[4,5,6]] }]"
2241
+ },
2242
+ {
2243
+ "id": "visualMap-parallel",
2244
+ "title": "visualMap (parallel)",
2245
+ "optionPath": "option.visualMap",
2246
+ "description": "Continuous or piecewise map: set dimension (defaults to last axis) and optional seriesIndex.",
2247
+ "properties": [
2248
+ {
2249
+ "name": "visualMap.dimension",
2250
+ "type": "number",
2251
+ "description": "Which axis value drives color."
2252
+ },
2253
+ {
2254
+ "name": "visualMap.seriesIndex",
2255
+ "type": "number | number[]",
2256
+ "description": "Target series (omit = all)."
2257
+ }
2258
+ ],
2259
+ "snippet": "\"visualMap\": { \"min\": 0, \"max\": 10, \"dimension\": 2, \"inRange\": { \"color\": [\"#313695\",\"#e0ffff\",\"#d73027\"] } }"
2260
+ },
2261
+ {
2262
+ "id": "tooltip",
2263
+ "title": "tooltip",
2264
+ "optionPath": "option.tooltip",
2265
+ "description": "Hover tooltip.",
2266
+ "properties": [
2267
+ {
2268
+ "name": "tooltip.trigger",
2269
+ "type": "string",
2270
+ "description": "'item'."
2271
+ }
2272
+ ],
2273
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
2274
+ },
2275
+ {
2276
+ "id": "styling",
2277
+ "title": "styling",
2278
+ "optionPath": "option (styling)",
2279
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
2280
+ "properties": [
2281
+ {
2282
+ "name": "backgroundColor",
2283
+ "type": "string",
2284
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
2285
+ },
2286
+ {
2287
+ "name": "title.textStyle",
2288
+ "type": "object",
2289
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
2290
+ },
2291
+ {
2292
+ "name": "title.textStyle.fontSize",
2293
+ "type": "number",
2294
+ "default": "18",
2295
+ "description": "Title font size (px)."
2296
+ },
2297
+ {
2298
+ "name": "title.textStyle.color",
2299
+ "type": "string",
2300
+ "description": "Title text color."
2301
+ },
2302
+ {
2303
+ "name": "title.textStyle.fontWeight",
2304
+ "type": "string | number",
2305
+ "description": "e.g. 'bold', 600."
2306
+ },
2307
+ {
2308
+ "name": "legend.textStyle",
2309
+ "type": "object",
2310
+ "description": "Legend label font: fontSize, color."
2311
+ },
2312
+ {
2313
+ "name": "tooltip.backgroundColor",
2314
+ "type": "string",
2315
+ "description": "Tooltip background color."
2316
+ },
2317
+ {
2318
+ "name": "tooltip.borderColor",
2319
+ "type": "string",
2320
+ "description": "Tooltip border color."
2321
+ },
2322
+ {
2323
+ "name": "tooltip.textStyle",
2324
+ "type": "object",
2325
+ "description": "Tooltip font: fontSize, color."
2326
+ },
2327
+ {
2328
+ "name": "series[].itemStyle",
2329
+ "type": "object",
2330
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
2331
+ },
2332
+ {
2333
+ "name": "series[].lineStyle",
2334
+ "type": "object",
2335
+ "description": "Lines: color, width, type ('solid'|'dashed')."
2336
+ },
2337
+ {
2338
+ "name": "series[].areaStyle",
2339
+ "type": "object",
2340
+ "description": "Area fill: color, opacity."
2341
+ },
2342
+ {
2343
+ "name": "series[].label",
2344
+ "type": "object",
2345
+ "description": "Data labels: show, color, fontSize, formatter."
2346
+ }
2347
+ ],
2348
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
2349
+ }
2350
+ ],
2351
+ "graph": [
2352
+ {
2353
+ "id": "title",
2354
+ "title": "title",
2355
+ "optionPath": "option.title",
2356
+ "description": "Chart title.",
2357
+ "properties": [
2358
+ {
2359
+ "name": "title.text",
2360
+ "type": "string",
2361
+ "description": "Title text."
2362
+ }
2363
+ ],
2364
+ "snippet": "\"title\": { \"text\": \"Graph\" }"
2365
+ },
2366
+ {
2367
+ "id": "series-graph",
2368
+ "title": "series (graph)",
2369
+ "optionPath": "option.series",
2370
+ "description": "ECharts-style graph: `data: { nodes, links }`. First `type: 'graph'` series is rendered. Nodes: `id`, `name`, `symbol` (circle|rect|roundRect|triangle|diamond|pin|arrow; `image://` falls back to circle), `symbolSize` (number diameter or `[w,h]`), optional `x`/`y` (`layout: 'none'`), `value` (optional `visualMap` fill), `category`, `itemStyle`, per-node `label`. Links: `source`/`target`, `lineStyle` (incl. `curveness` for curved edges), per-link `label` (merged with `edgeLabel`).",
2371
+ "properties": [
2372
+ {
2373
+ "name": "series[].type",
2374
+ "type": "string",
2375
+ "description": "Must be 'graph'."
2376
+ },
2377
+ {
2378
+ "name": "series[].layout",
2379
+ "type": "string",
2380
+ "description": "'force' | 'circular' | 'none' (fixed positions from node x,y)."
2381
+ },
2382
+ {
2383
+ "name": "series[].roam",
2384
+ "type": "boolean | 'scale' | 'move'",
2385
+ "description": "Pan/zoom the graph layer."
2386
+ },
2387
+ {
2388
+ "name": "series[].force",
2389
+ "type": "object",
2390
+ "description": "repulsion, gravity, edgeLength (number or [min,max]), friction."
2391
+ },
2392
+ {
2393
+ "name": "series[].edgeSymbol",
2394
+ "type": "string | [string, string]",
2395
+ "description": "'arrow' | 'both' | ['none','arrow'] | ['arrow','none'] — arrow markers on edges."
2396
+ },
2397
+ {
2398
+ "name": "series[].lineStyle",
2399
+ "type": "object",
2400
+ "description": "Default edge stroke; merged with link.lineStyle. Includes `curveness` (-1..1) for quadratic bend."
2401
+ },
2402
+ {
2403
+ "name": "series[].itemStyle",
2404
+ "type": "object",
2405
+ "description": "Default node fill/stroke."
2406
+ },
2407
+ {
2408
+ "name": "series[].categories",
2409
+ "type": "array",
2410
+ "description": "{ name, itemStyle } — legend + node.category colors."
2411
+ },
2412
+ {
2413
+ "name": "series[].colorBy",
2414
+ "type": "'series' | 'data'",
2415
+ "description": "Palette per node when no category color."
2416
+ },
2417
+ {
2418
+ "name": "series[].label",
2419
+ "type": "object",
2420
+ "description": "Default node labels: show, formatter ({b}/{c}), fontSize, color, rich."
2421
+ },
2422
+ {
2423
+ "name": "series[].edgeLabel",
2424
+ "type": "object",
2425
+ "description": "Default edge labels (merged with link.label)."
2426
+ },
2427
+ {
2428
+ "name": "series[].focusNodeAdjacency",
2429
+ "type": "boolean",
2430
+ "description": "On hover, dim nodes and edges not adjacent to the hovered node."
2431
+ },
2432
+ {
2433
+ "name": "series[].emphasis",
2434
+ "type": "object",
2435
+ "description": "`scale` / `scaleSize` enlarge symbol on hover; `disabled` skips emphasis."
2436
+ },
2437
+ {
2438
+ "name": "series[].blur / inactiveOpacity",
2439
+ "type": "object | number",
2440
+ "description": "`blur.itemStyle.opacity` or `inactiveOpacity` sets dimmed opacity when focusNodeAdjacency is on."
2441
+ },
2442
+ {
2443
+ "name": "series[].silent",
2444
+ "type": "boolean",
2445
+ "description": "When true, no tooltips or hover emphasis on nodes/edges."
2446
+ },
2447
+ {
2448
+ "name": "option.visualMap",
2449
+ "type": "object",
2450
+ "description": "Continuous/piecewise map: node `value` can drive fill when no explicit itemStyle color wins."
2451
+ }
2452
+ ],
2453
+ "snippet": "\"series\": [{ \"type\": \"graph\", \"layout\": \"force\", \"roam\": true, \"edgeSymbol\": \"arrow\", \"data\": { \"nodes\": [], \"links\": [] } }]"
2454
+ },
2455
+ {
2456
+ "id": "tooltip",
2457
+ "title": "tooltip",
2458
+ "optionPath": "option.tooltip",
2459
+ "description": "Hover tooltip.",
2460
+ "properties": [
2461
+ {
2462
+ "name": "tooltip.trigger",
2463
+ "type": "string",
2464
+ "description": "'item'."
2465
+ }
2466
+ ],
2467
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
2468
+ },
2469
+ {
2470
+ "id": "styling",
2471
+ "title": "styling",
2472
+ "optionPath": "option (styling)",
2473
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
2474
+ "properties": [
2475
+ {
2476
+ "name": "backgroundColor",
2477
+ "type": "string",
2478
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
2479
+ },
2480
+ {
2481
+ "name": "title.textStyle",
2482
+ "type": "object",
2483
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
2484
+ },
2485
+ {
2486
+ "name": "title.textStyle.fontSize",
2487
+ "type": "number",
2488
+ "default": "18",
2489
+ "description": "Title font size (px)."
2490
+ },
2491
+ {
2492
+ "name": "title.textStyle.color",
2493
+ "type": "string",
2494
+ "description": "Title text color."
2495
+ },
2496
+ {
2497
+ "name": "title.textStyle.fontWeight",
2498
+ "type": "string | number",
2499
+ "description": "e.g. 'bold', 600."
2500
+ },
2501
+ {
2502
+ "name": "legend.textStyle",
2503
+ "type": "object",
2504
+ "description": "Legend label font: fontSize, color."
2505
+ },
2506
+ {
2507
+ "name": "tooltip.backgroundColor",
2508
+ "type": "string",
2509
+ "description": "Tooltip background color."
2510
+ },
2511
+ {
2512
+ "name": "tooltip.borderColor",
2513
+ "type": "string",
2514
+ "description": "Tooltip border color."
2515
+ },
2516
+ {
2517
+ "name": "tooltip.textStyle",
2518
+ "type": "object",
2519
+ "description": "Tooltip font: fontSize, color."
2520
+ },
2521
+ {
2522
+ "name": "series[].itemStyle",
2523
+ "type": "object",
2524
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
2525
+ },
2526
+ {
2527
+ "name": "series[].lineStyle",
2528
+ "type": "object",
2529
+ "description": "Lines: color, width, type ('solid'|'dashed')."
2530
+ },
2531
+ {
2532
+ "name": "series[].areaStyle",
2533
+ "type": "object",
2534
+ "description": "Area fill: color, opacity."
2535
+ },
2536
+ {
2537
+ "name": "series[].label",
2538
+ "type": "object",
2539
+ "description": "Data labels: show, color, fontSize, formatter."
2540
+ }
2541
+ ],
2542
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
2543
+ }
2544
+ ],
2545
+ "lines": [
2546
+ {
2547
+ "id": "title",
2548
+ "title": "title",
2549
+ "optionPath": "option.title",
2550
+ "description": "Chart title.",
2551
+ "properties": [
2552
+ {
2553
+ "name": "title.text",
2554
+ "type": "string",
2555
+ "description": "Title text."
2556
+ }
2557
+ ],
2558
+ "snippet": "\"title\": { \"text\": \"Lines\" }"
2559
+ },
2560
+ {
2561
+ "id": "series-lines",
2562
+ "title": "series (lines)",
2563
+ "optionPath": "option.series",
2564
+ "description": "One or more `lines` series. **Cartesian:** grid + xAxis/yAxis, shared extent. **Geo:** `coordinateSystem: 'geo'` with `option.geo.geoJson` (Mercator, optional `geo.roam`). Rows: `{ coords: [[x,y],...], value?, lineStyle?, name? }` (≥2 points).",
2565
+ "properties": [
2566
+ {
2567
+ "name": "series[].type",
2568
+ "type": "string",
2569
+ "description": "Must be 'lines'."
2570
+ },
2571
+ {
2572
+ "name": "series[].coordinateSystem",
2573
+ "type": "string",
2574
+ "description": "'cartesian2d' (default) or 'geo'."
2575
+ },
2576
+ {
2577
+ "name": "series[].curveness",
2578
+ "type": "number",
2579
+ "description": "0–1 bend between endpoints (quadratic)."
2580
+ },
2581
+ {
2582
+ "name": "series[].data[].coords",
2583
+ "type": "number[][]",
2584
+ "description": "Polyline vertices in data coordinates."
2585
+ },
2586
+ {
2587
+ "name": "series[].data[].lineStyle",
2588
+ "type": "object",
2589
+ "description": "Per-row stroke overrides."
2590
+ },
2591
+ {
2592
+ "name": "series[].lineStyle",
2593
+ "type": "object",
2594
+ "description": "width, opacity, type solid|dashed|dotted, color."
2595
+ },
2596
+ {
2597
+ "name": "series[].effect",
2598
+ "type": "object",
2599
+ "description": "show, period, delay, trailLength, constantSpeed; symbol: circle|rect|roundRect|triangle|diamond|pin|arrow|image://|path://; symbolSize (diameter-ish)."
2600
+ },
2601
+ {
2602
+ "name": "series[].large / largeThreshold",
2603
+ "type": "boolean | number",
2604
+ "description": "When large and count ≥ threshold, line enter animation skipped."
2605
+ },
2606
+ {
2607
+ "name": "series[].progressive / progressiveThreshold",
2608
+ "type": "number",
2609
+ "description": "Chunk size (>0) and row count threshold (default 3000): append lines over animation frames."
2610
+ },
2611
+ {
2612
+ "name": "series[].label",
2613
+ "type": "object",
2614
+ "description": "show, formatter ({a}/{b}/{c}), fontSize, color — at path centroid."
2615
+ },
2616
+ {
2617
+ "name": "series[].blur / emphasis",
2618
+ "type": "object",
2619
+ "description": "blur.lineStyle.opacity; emphasis.focus 'series' dims other series on hover."
2620
+ },
2621
+ {
2622
+ "name": "option.geo",
2623
+ "type": "object",
2624
+ "description": "geoJson, roam, show, itemStyle — used when any lines series uses geo."
2625
+ }
2626
+ ],
2627
+ "snippet": "\"series\": [{ \"type\": \"lines\", \"curveness\": 0.2, \"lineStyle\": { \"type\": \"dashed\" }, \"effect\": { \"show\": true, \"period\": 2 }, \"data\": [{ \"coords\": [[10,20],[80,70]] }] }]"
2628
+ },
2629
+ {
2630
+ "id": "tooltip",
2631
+ "title": "tooltip",
2632
+ "optionPath": "option.tooltip",
2633
+ "description": "Hover tooltip.",
2634
+ "properties": [
2635
+ {
2636
+ "name": "tooltip.trigger",
2637
+ "type": "string",
2638
+ "description": "'item'."
2639
+ }
2640
+ ],
2641
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
2642
+ },
2643
+ {
2644
+ "id": "styling",
2645
+ "title": "styling",
2646
+ "optionPath": "option (styling)",
2647
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
2648
+ "properties": [
2649
+ {
2650
+ "name": "backgroundColor",
2651
+ "type": "string",
2652
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
2653
+ },
2654
+ {
2655
+ "name": "title.textStyle",
2656
+ "type": "object",
2657
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
2658
+ },
2659
+ {
2660
+ "name": "title.textStyle.fontSize",
2661
+ "type": "number",
2662
+ "default": "18",
2663
+ "description": "Title font size (px)."
2664
+ },
2665
+ {
2666
+ "name": "title.textStyle.color",
2667
+ "type": "string",
2668
+ "description": "Title text color."
2669
+ },
2670
+ {
2671
+ "name": "title.textStyle.fontWeight",
2672
+ "type": "string | number",
2673
+ "description": "e.g. 'bold', 600."
2674
+ },
2675
+ {
2676
+ "name": "legend.textStyle",
2677
+ "type": "object",
2678
+ "description": "Legend label font: fontSize, color."
2679
+ },
2680
+ {
2681
+ "name": "tooltip.backgroundColor",
2682
+ "type": "string",
2683
+ "description": "Tooltip background color."
2684
+ },
2685
+ {
2686
+ "name": "tooltip.borderColor",
2687
+ "type": "string",
2688
+ "description": "Tooltip border color."
2689
+ },
2690
+ {
2691
+ "name": "tooltip.textStyle",
2692
+ "type": "object",
2693
+ "description": "Tooltip font: fontSize, color."
2694
+ },
2695
+ {
2696
+ "name": "series[].itemStyle",
2697
+ "type": "object",
2698
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
2699
+ },
2700
+ {
2701
+ "name": "series[].lineStyle",
2702
+ "type": "object",
2703
+ "description": "Lines: color, width, type ('solid'|'dashed')."
2704
+ },
2705
+ {
2706
+ "name": "series[].areaStyle",
2707
+ "type": "object",
2708
+ "description": "Area fill: color, opacity."
2709
+ },
2710
+ {
2711
+ "name": "series[].label",
2712
+ "type": "object",
2713
+ "description": "Data labels: show, color, fontSize, formatter."
2714
+ }
2715
+ ],
2716
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
2717
+ }
2718
+ ],
2719
+ "custom": [
2720
+ {
2721
+ "id": "title",
2722
+ "title": "title",
2723
+ "optionPath": "option.title",
2724
+ "description": "Chart title.",
2725
+ "properties": [
2726
+ {
2727
+ "name": "title.text",
2728
+ "type": "string",
2729
+ "description": "Title text."
2730
+ }
2731
+ ],
2732
+ "snippet": "\"title\": { \"text\": \"Custom\" }"
2733
+ },
2734
+ {
2735
+ "id": "grid",
2736
+ "title": "grid",
2737
+ "optionPath": "option.grid",
2738
+ "description": "Chart coordinate area.",
2739
+ "properties": [
2740
+ {
2741
+ "name": "grid.left",
2742
+ "type": "number",
2743
+ "description": "Left (px)."
2744
+ },
2745
+ {
2746
+ "name": "grid.right",
2747
+ "type": "number",
2748
+ "description": "Right."
2749
+ },
2750
+ {
2751
+ "name": "grid.top",
2752
+ "type": "number",
2753
+ "description": "Top."
2754
+ },
2755
+ {
2756
+ "name": "grid.bottom",
2757
+ "type": "number",
2758
+ "description": "Bottom."
2759
+ }
2760
+ ],
2761
+ "snippet": "\"grid\": { \"left\": 20, \"right\": 20, \"top\": 50, \"bottom\": 20 }"
2762
+ },
2763
+ {
2764
+ "id": "series-custom",
2765
+ "title": "series (custom)",
2766
+ "optionPath": "option.series",
2767
+ "description": "First series with type 'custom'. Declarative data: leaf shapes in logical coordinates, auto-scaled to the grid. Nested type 'group' is flattened. ECharts-style z, z2, opacity on leaves. renderItem(params, api) runs per data row; api.coordSys and api.size() use the real inner width/height (not a fixed box).",
2768
+ "properties": [
2769
+ {
2770
+ "name": "series[].type",
2771
+ "type": "string",
2772
+ "description": "Must be 'custom'."
2773
+ },
2774
+ {
2775
+ "name": "series[].name",
2776
+ "type": "string",
2777
+ "description": "Legend label."
2778
+ },
2779
+ {
2780
+ "name": "series[].data[]",
2781
+ "type": "array | object",
2782
+ "description": "Leaf shapes or { type: 'group', children: [...] }."
2783
+ },
2784
+ {
2785
+ "name": "shape z / z2 / opacity",
2786
+ "type": "number",
2787
+ "description": "Draw order (ascending = lower first; higher z on top). opacity 0-1."
2788
+ },
2789
+ {
2790
+ "name": "rect.rx / ry",
2791
+ "type": "number",
2792
+ "description": "Corner radius in shape units (scaled with width/height)."
2793
+ },
2794
+ {
2795
+ "name": "line.strokeLinecap / strokeLinejoin",
2796
+ "type": "string",
2797
+ "description": "SVG caps; default round."
2798
+ },
2799
+ {
2800
+ "name": "series[].renderItem",
2801
+ "type": "function",
2802
+ "description": "(params, api) => shape | shape[] | null. params: dataIndex, data, seriesIndex. api: size(), coordSys: { width, height, type? }."
2803
+ }
2804
+ ],
2805
+ "snippet": "\"series\": [{ \"type\": \"custom\", \"data\": [{ \"type\": \"circle\", \"x\": 20, \"y\": 50, \"r\": 25, \"z\": 0, \"color\": \"#3b82f6\" }, { \"type\": \"rect\", \"x\": 70, \"y\": 30, \"width\": 35, \"height\": 40, \"rx\": 4, \"ry\": 4, \"color\": \"#10b981\" }] }]"
2806
+ },
2807
+ {
2808
+ "id": "tooltip",
2809
+ "title": "tooltip",
2810
+ "optionPath": "option.tooltip",
2811
+ "description": "Hover tooltip.",
2812
+ "properties": [
2813
+ {
2814
+ "name": "tooltip.trigger",
2815
+ "type": "string",
2816
+ "description": "'item'."
2817
+ }
2818
+ ],
2819
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
2820
+ },
2821
+ {
2822
+ "id": "styling",
2823
+ "title": "styling",
2824
+ "optionPath": "option (styling)",
2825
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
2826
+ "properties": [
2827
+ {
2828
+ "name": "backgroundColor",
2829
+ "type": "string",
2830
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
2831
+ },
2832
+ {
2833
+ "name": "title.textStyle",
2834
+ "type": "object",
2835
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
2836
+ },
2837
+ {
2838
+ "name": "title.textStyle.fontSize",
2839
+ "type": "number",
2840
+ "default": "18",
2841
+ "description": "Title font size (px)."
2842
+ },
2843
+ {
2844
+ "name": "title.textStyle.color",
2845
+ "type": "string",
2846
+ "description": "Title text color."
2847
+ },
2848
+ {
2849
+ "name": "title.textStyle.fontWeight",
2850
+ "type": "string | number",
2851
+ "description": "e.g. 'bold', 600."
2852
+ },
2853
+ {
2854
+ "name": "legend.textStyle",
2855
+ "type": "object",
2856
+ "description": "Legend label font: fontSize, color."
2857
+ },
2858
+ {
2859
+ "name": "tooltip.backgroundColor",
2860
+ "type": "string",
2861
+ "description": "Tooltip background color."
2862
+ },
2863
+ {
2864
+ "name": "tooltip.borderColor",
2865
+ "type": "string",
2866
+ "description": "Tooltip border color."
2867
+ },
2868
+ {
2869
+ "name": "tooltip.textStyle",
2870
+ "type": "object",
2871
+ "description": "Tooltip font: fontSize, color."
2872
+ },
2873
+ {
2874
+ "name": "series[].itemStyle",
2875
+ "type": "object",
2876
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
2877
+ },
2878
+ {
2879
+ "name": "series[].lineStyle",
2880
+ "type": "object",
2881
+ "description": "Lines: color, width, type ('solid'|'dashed')."
2882
+ },
2883
+ {
2884
+ "name": "series[].areaStyle",
2885
+ "type": "object",
2886
+ "description": "Area fill: color, opacity."
2887
+ },
2888
+ {
2889
+ "name": "series[].label",
2890
+ "type": "object",
2891
+ "description": "Data labels: show, color, fontSize, formatter."
2892
+ }
2893
+ ],
2894
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
2895
+ }
2896
+ ],
2897
+ "candlestick": [
2898
+ {
2899
+ "id": "title",
2900
+ "title": "title",
2901
+ "optionPath": "option.title",
2902
+ "description": "Chart title.",
2903
+ "properties": [
2904
+ {
2905
+ "name": "title.text",
2906
+ "type": "string",
2907
+ "description": "Title text."
2908
+ }
2909
+ ],
2910
+ "snippet": "\"title\": { \"text\": \"Candlestick\" }"
2911
+ },
2912
+ {
2913
+ "id": "grid",
2914
+ "title": "grid",
2915
+ "optionPath": "option.grid",
2916
+ "description": "Chart area.",
2917
+ "properties": [
2918
+ {
2919
+ "name": "grid.left",
2920
+ "type": "number",
2921
+ "description": "Left (px)."
2922
+ },
2923
+ {
2924
+ "name": "grid.right",
2925
+ "type": "number",
2926
+ "description": "Right."
2927
+ },
2928
+ {
2929
+ "name": "grid.top",
2930
+ "type": "number",
2931
+ "description": "Top."
2932
+ },
2933
+ {
2934
+ "name": "grid.bottom",
2935
+ "type": "number",
2936
+ "description": "Bottom."
2937
+ }
2938
+ ],
2939
+ "snippet": "\"grid\": { \"left\": 50, \"right\": 20, \"top\": 50, \"bottom\": 40 }"
2940
+ },
2941
+ {
2942
+ "id": "xAxis",
2943
+ "title": "xAxis",
2944
+ "optionPath": "option.xAxis",
2945
+ "description": "Category (e.g. date).",
2946
+ "properties": [
2947
+ {
2948
+ "name": "xAxis.type",
2949
+ "type": "string",
2950
+ "description": "'category'."
2951
+ },
2952
+ {
2953
+ "name": "xAxis.data",
2954
+ "type": "array",
2955
+ "description": "Labels."
2956
+ }
2957
+ ],
2958
+ "snippet": "\"xAxis\": { \"type\": \"category\", \"data\": [\"Mon\",\"Tue\"] }"
2959
+ },
2960
+ {
2961
+ "id": "yAxis",
2962
+ "title": "yAxis",
2963
+ "optionPath": "option.yAxis",
2964
+ "description": "Value axis.",
2965
+ "properties": [
2966
+ {
2967
+ "name": "yAxis.name",
2968
+ "type": "string",
2969
+ "description": "Axis name."
2970
+ },
2971
+ {
2972
+ "name": "yAxis.scale",
2973
+ "type": "boolean",
2974
+ "description": "Scale to include OHLC."
2975
+ }
2976
+ ],
2977
+ "snippet": "\"yAxis\": { \"name\": \"Price\", \"scale\": true }"
2978
+ },
2979
+ {
2980
+ "id": "series-candlestick",
2981
+ "title": "series (candlestick)",
2982
+ "optionPath": "option.series",
2983
+ "description": "Data: [open, close, low, high] or [[o,c,l,h], ...].",
2984
+ "properties": [
2985
+ {
2986
+ "name": "series[].type",
2987
+ "type": "string",
2988
+ "description": "Must be 'candlestick'."
2989
+ },
2990
+ {
2991
+ "name": "series[].itemStyle",
2992
+ "type": "object",
2993
+ "description": "Up/down bar colors."
2994
+ }
2995
+ ],
2996
+ "snippet": "\"series\": [{ \"type\": \"candlestick\", \"data\": [[20,35,10,40],[25,30,22,38]] }]"
2997
+ },
2998
+ {
2999
+ "id": "tooltip",
3000
+ "title": "tooltip",
3001
+ "optionPath": "option.tooltip",
3002
+ "description": "Hover tooltip.",
3003
+ "properties": [
3004
+ {
3005
+ "name": "tooltip.trigger",
3006
+ "type": "string",
3007
+ "description": "'axis'."
3008
+ }
3009
+ ],
3010
+ "snippet": "\"tooltip\": { \"trigger\": \"axis\" }"
3011
+ },
3012
+ {
3013
+ "id": "styling",
3014
+ "title": "styling",
3015
+ "optionPath": "option (styling)",
3016
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
3017
+ "properties": [
3018
+ {
3019
+ "name": "backgroundColor",
3020
+ "type": "string",
3021
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
3022
+ },
3023
+ {
3024
+ "name": "title.textStyle",
3025
+ "type": "object",
3026
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
3027
+ },
3028
+ {
3029
+ "name": "title.textStyle.fontSize",
3030
+ "type": "number",
3031
+ "default": "18",
3032
+ "description": "Title font size (px)."
3033
+ },
3034
+ {
3035
+ "name": "title.textStyle.color",
3036
+ "type": "string",
3037
+ "description": "Title text color."
3038
+ },
3039
+ {
3040
+ "name": "title.textStyle.fontWeight",
3041
+ "type": "string | number",
3042
+ "description": "e.g. 'bold', 600."
3043
+ },
3044
+ {
3045
+ "name": "legend.textStyle",
3046
+ "type": "object",
3047
+ "description": "Legend label font: fontSize, color."
3048
+ },
3049
+ {
3050
+ "name": "tooltip.backgroundColor",
3051
+ "type": "string",
3052
+ "description": "Tooltip background color."
3053
+ },
3054
+ {
3055
+ "name": "tooltip.borderColor",
3056
+ "type": "string",
3057
+ "description": "Tooltip border color."
3058
+ },
3059
+ {
3060
+ "name": "tooltip.textStyle",
3061
+ "type": "object",
3062
+ "description": "Tooltip font: fontSize, color."
3063
+ },
3064
+ {
3065
+ "name": "series[].itemStyle",
3066
+ "type": "object",
3067
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
3068
+ },
3069
+ {
3070
+ "name": "series[].lineStyle",
3071
+ "type": "object",
3072
+ "description": "Lines: color, width, type ('solid'|'dashed')."
3073
+ },
3074
+ {
3075
+ "name": "series[].areaStyle",
3076
+ "type": "object",
3077
+ "description": "Area fill: color, opacity."
3078
+ },
3079
+ {
3080
+ "name": "series[].label",
3081
+ "type": "object",
3082
+ "description": "Data labels: show, color, fontSize, formatter."
3083
+ }
3084
+ ],
3085
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
3086
+ }
3087
+ ],
3088
+ "boxplot": [
3089
+ {
3090
+ "id": "title",
3091
+ "title": "title",
3092
+ "optionPath": "option.title",
3093
+ "description": "Chart title.",
3094
+ "properties": [
3095
+ {
3096
+ "name": "title.text",
3097
+ "type": "string",
3098
+ "description": "Title text."
3099
+ }
3100
+ ],
3101
+ "snippet": "\"title\": { \"text\": \"Boxplot\" }"
3102
+ },
3103
+ {
3104
+ "id": "grid",
3105
+ "title": "grid",
3106
+ "optionPath": "option.grid",
3107
+ "description": "Chart area.",
3108
+ "properties": [
3109
+ {
3110
+ "name": "grid.left",
3111
+ "type": "number",
3112
+ "description": "Left (px)."
3113
+ },
3114
+ {
3115
+ "name": "grid.right",
3116
+ "type": "number",
3117
+ "description": "Right."
3118
+ },
3119
+ {
3120
+ "name": "grid.top",
3121
+ "type": "number",
3122
+ "description": "Top."
3123
+ },
3124
+ {
3125
+ "name": "grid.bottom",
3126
+ "type": "number",
3127
+ "description": "Bottom."
3128
+ }
3129
+ ],
3130
+ "snippet": "\"grid\": { \"left\": 50, \"right\": 20, \"top\": 50, \"bottom\": 40 }"
3131
+ },
3132
+ {
3133
+ "id": "xAxis",
3134
+ "title": "xAxis",
3135
+ "optionPath": "option.xAxis",
3136
+ "description": "Category.",
3137
+ "properties": [
3138
+ {
3139
+ "name": "xAxis.type",
3140
+ "type": "string",
3141
+ "description": "'category'."
3142
+ },
3143
+ {
3144
+ "name": "xAxis.data",
3145
+ "type": "array",
3146
+ "description": "Labels."
3147
+ }
3148
+ ],
3149
+ "snippet": "\"xAxis\": { \"type\": \"category\", \"data\": [\"A\",\"B\"] }"
3150
+ },
3151
+ {
3152
+ "id": "yAxis",
3153
+ "title": "yAxis",
3154
+ "optionPath": "option.yAxis",
3155
+ "description": "Value axis.",
3156
+ "properties": [
3157
+ {
3158
+ "name": "yAxis.name",
3159
+ "type": "string",
3160
+ "description": "Axis name."
3161
+ }
3162
+ ],
3163
+ "snippet": "\"yAxis\": { \"name\": \"Value\" }"
3164
+ },
3165
+ {
3166
+ "id": "series-boxplot",
3167
+ "title": "series (boxplot)",
3168
+ "optionPath": "option.series",
3169
+ "description": "Data: [min, Q1, median, Q3, max] per category.",
3170
+ "properties": [
3171
+ {
3172
+ "name": "series[].type",
3173
+ "type": "string",
3174
+ "description": "Must be 'boxplot'."
3175
+ },
3176
+ {
3177
+ "name": "series[].data",
3178
+ "type": "array",
3179
+ "description": "Array of [min,q1,median,q3,max]."
3180
+ }
3181
+ ],
3182
+ "snippet": "\"series\": [{ \"type\": \"boxplot\", \"data\": [[5,10,15,20,25],[8,12,16,22,28]] }]"
3183
+ },
3184
+ {
3185
+ "id": "tooltip",
3186
+ "title": "tooltip",
3187
+ "optionPath": "option.tooltip",
3188
+ "description": "Hover tooltip.",
3189
+ "properties": [
3190
+ {
3191
+ "name": "tooltip.trigger",
3192
+ "type": "string",
3193
+ "description": "'item'."
3194
+ }
3195
+ ],
3196
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
3197
+ },
3198
+ {
3199
+ "id": "styling",
3200
+ "title": "styling",
3201
+ "optionPath": "option (styling)",
3202
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
3203
+ "properties": [
3204
+ {
3205
+ "name": "backgroundColor",
3206
+ "type": "string",
3207
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
3208
+ },
3209
+ {
3210
+ "name": "title.textStyle",
3211
+ "type": "object",
3212
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
3213
+ },
3214
+ {
3215
+ "name": "title.textStyle.fontSize",
3216
+ "type": "number",
3217
+ "default": "18",
3218
+ "description": "Title font size (px)."
3219
+ },
3220
+ {
3221
+ "name": "title.textStyle.color",
3222
+ "type": "string",
3223
+ "description": "Title text color."
3224
+ },
3225
+ {
3226
+ "name": "title.textStyle.fontWeight",
3227
+ "type": "string | number",
3228
+ "description": "e.g. 'bold', 600."
3229
+ },
3230
+ {
3231
+ "name": "legend.textStyle",
3232
+ "type": "object",
3233
+ "description": "Legend label font: fontSize, color."
3234
+ },
3235
+ {
3236
+ "name": "tooltip.backgroundColor",
3237
+ "type": "string",
3238
+ "description": "Tooltip background color."
3239
+ },
3240
+ {
3241
+ "name": "tooltip.borderColor",
3242
+ "type": "string",
3243
+ "description": "Tooltip border color."
3244
+ },
3245
+ {
3246
+ "name": "tooltip.textStyle",
3247
+ "type": "object",
3248
+ "description": "Tooltip font: fontSize, color."
3249
+ },
3250
+ {
3251
+ "name": "series[].itemStyle",
3252
+ "type": "object",
3253
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
3254
+ },
3255
+ {
3256
+ "name": "series[].lineStyle",
3257
+ "type": "object",
3258
+ "description": "Lines: color, width, type ('solid'|'dashed')."
3259
+ },
3260
+ {
3261
+ "name": "series[].areaStyle",
3262
+ "type": "object",
3263
+ "description": "Area fill: color, opacity."
3264
+ },
3265
+ {
3266
+ "name": "series[].label",
3267
+ "type": "object",
3268
+ "description": "Data labels: show, color, fontSize, formatter."
3269
+ }
3270
+ ],
3271
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
3272
+ }
3273
+ ],
3274
+ "map": [
3275
+ {
3276
+ "id": "title",
3277
+ "title": "title",
3278
+ "optionPath": "option.title",
3279
+ "description": "Chart title.",
3280
+ "properties": [
3281
+ {
3282
+ "name": "title.text",
3283
+ "type": "string",
3284
+ "description": "Title text."
3285
+ }
3286
+ ],
3287
+ "snippet": "\"title\": { \"text\": \"Map\" }"
3288
+ },
3289
+ {
3290
+ "id": "geo",
3291
+ "title": "geo",
3292
+ "optionPath": "option.geo",
3293
+ "description": "Map base: GeoJSON regions, style, roam (zoom/pan), hover emphasis, and optional LineString/MultiLineString strokes.",
3294
+ "properties": [
3295
+ {
3296
+ "name": "geo.geoJson",
3297
+ "type": "object",
3298
+ "description": "GeoJSON FeatureCollection. Polygon/MultiPolygon → filled regions; LineString/MultiLineString → stroked paths."
3299
+ },
3300
+ {
3301
+ "name": "geo.show",
3302
+ "type": "boolean",
3303
+ "description": "If false, GeoJSON is still used to project lng/lat scatter; polygons are not drawn."
3304
+ },
3305
+ {
3306
+ "name": "geo.roam",
3307
+ "type": "boolean | string",
3308
+ "description": "true | 'scale' (zoom only) | 'move' (pan only)."
3309
+ },
3310
+ {
3311
+ "name": "geo.itemStyle",
3312
+ "type": "object",
3313
+ "description": "Default region fill (color), border (borderColor, borderWidth); also default line stroke for line features."
3314
+ },
3315
+ {
3316
+ "name": "geo.emphasis.itemStyle",
3317
+ "type": "object",
3318
+ "description": "Region style while hovered (color, borderColor, borderWidth)."
3319
+ },
3320
+ {
3321
+ "name": "geo.regions",
3322
+ "type": "array",
3323
+ "description": "Per-region overrides: [{ name, itemStyle? }]."
3324
+ }
3325
+ ],
3326
+ "snippet": "\"geo\": { \"geoJson\": { \"type\": \"FeatureCollection\", \"features\": [] }, \"roam\": true, \"emphasis\": { \"itemStyle\": { \"color\": \"#fbbf24\" } } }"
3327
+ },
3328
+ {
3329
+ "id": "visualMap-map",
3330
+ "title": "visualMap (map)",
3331
+ "optionPath": "option.visualMap",
3332
+ "description": "Continuous or piecewise visualMap tints choropleth regions and scatter fills when no per-point itemStyle.color.",
3333
+ "properties": [
3334
+ {
3335
+ "name": "visualMap.min / max",
3336
+ "type": "number",
3337
+ "description": "Domain for continuous color (inRange.color)."
3338
+ },
3339
+ {
3340
+ "name": "visualMap.seriesIndex",
3341
+ "type": "number | number[]",
3342
+ "description": "Optional: bind this visualMap to a series index."
3343
+ }
3344
+ ],
3345
+ "snippet": "\"visualMap\": { \"min\": 0, \"max\": 100, \"inRange\": { \"color\": [\"#fee5d9\", \"#a50f15\"] } }"
3346
+ },
3347
+ {
3348
+ "id": "series-map",
3349
+ "title": "series (map)",
3350
+ "optionPath": "option.series",
3351
+ "description": "First series with type 'map': rows with coords [lng, lat] or [x, y] are scatter; rows with name + value only fill the region whose feature.properties.name matches (choropleth).",
3352
+ "properties": [
3353
+ {
3354
+ "name": "series[].type",
3355
+ "type": "string",
3356
+ "description": "Must be 'map'."
3357
+ },
3358
+ {
3359
+ "name": "series[].data[]",
3360
+ "type": "array",
3361
+ "description": "{ name, value, coords? } - omit coords for choropleth."
3362
+ },
3363
+ {
3364
+ "name": "series[].symbolSize",
3365
+ "type": "number | [min, max]",
3366
+ "description": "Fixed radius (px) or sqrt-scaled range for scatter."
3367
+ },
3368
+ {
3369
+ "name": "series[].label",
3370
+ "type": "object",
3371
+ "description": "show, formatter ({ name, value, dataIndex }), color, fontSize."
3372
+ },
3373
+ {
3374
+ "name": "series[].itemStyle",
3375
+ "type": "object",
3376
+ "description": "Per-point color / border for scatter."
3377
+ }
3378
+ ],
3379
+ "snippet": "\"series\": [{ \"type\": \"map\", \"data\": [{ \"name\": \"Region A\", \"value\": 40 }, { \"name\": \"City\", \"value\": 10, \"coords\": [-6.2, 53.3] }] }]"
3380
+ },
3381
+ {
3382
+ "id": "tooltip",
3383
+ "title": "tooltip",
3384
+ "optionPath": "option.tooltip",
3385
+ "description": "Hover tooltip for regions and scatter points.",
3386
+ "properties": [
3387
+ {
3388
+ "name": "tooltip.trigger",
3389
+ "type": "string",
3390
+ "description": "'item'."
3391
+ }
3392
+ ],
3393
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
3394
+ },
3395
+ {
3396
+ "id": "styling",
3397
+ "title": "styling",
3398
+ "optionPath": "option (styling)",
3399
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
3400
+ "properties": [
3401
+ {
3402
+ "name": "backgroundColor",
3403
+ "type": "string",
3404
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
3405
+ },
3406
+ {
3407
+ "name": "title.textStyle",
3408
+ "type": "object",
3409
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
3410
+ },
3411
+ {
3412
+ "name": "title.textStyle.fontSize",
3413
+ "type": "number",
3414
+ "default": "18",
3415
+ "description": "Title font size (px)."
3416
+ },
3417
+ {
3418
+ "name": "title.textStyle.color",
3419
+ "type": "string",
3420
+ "description": "Title text color."
3421
+ },
3422
+ {
3423
+ "name": "title.textStyle.fontWeight",
3424
+ "type": "string | number",
3425
+ "description": "e.g. 'bold', 600."
3426
+ },
3427
+ {
3428
+ "name": "legend.textStyle",
3429
+ "type": "object",
3430
+ "description": "Legend label font: fontSize, color."
3431
+ },
3432
+ {
3433
+ "name": "tooltip.backgroundColor",
3434
+ "type": "string",
3435
+ "description": "Tooltip background color."
3436
+ },
3437
+ {
3438
+ "name": "tooltip.borderColor",
3439
+ "type": "string",
3440
+ "description": "Tooltip border color."
3441
+ },
3442
+ {
3443
+ "name": "tooltip.textStyle",
3444
+ "type": "object",
3445
+ "description": "Tooltip font: fontSize, color."
3446
+ },
3447
+ {
3448
+ "name": "series[].itemStyle",
3449
+ "type": "object",
3450
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
3451
+ },
3452
+ {
3453
+ "name": "series[].lineStyle",
3454
+ "type": "object",
3455
+ "description": "Lines: color, width, type ('solid'|'dashed')."
3456
+ },
3457
+ {
3458
+ "name": "series[].areaStyle",
3459
+ "type": "object",
3460
+ "description": "Area fill: color, opacity."
3461
+ },
3462
+ {
3463
+ "name": "series[].label",
3464
+ "type": "object",
3465
+ "description": "Data labels: show, color, fontSize, formatter."
3466
+ }
3467
+ ],
3468
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
3469
+ }
3470
+ ],
3471
+ "radar": [
3472
+ {
3473
+ "id": "title",
3474
+ "title": "title",
3475
+ "optionPath": "option.title",
3476
+ "description": "Chart title.",
3477
+ "properties": [
3478
+ {
3479
+ "name": "title.text",
3480
+ "type": "string",
3481
+ "description": "Title text."
3482
+ }
3483
+ ],
3484
+ "snippet": "\"title\": { \"text\": \"Radar\" }"
3485
+ },
3486
+ {
3487
+ "id": "radar",
3488
+ "title": "radar",
3489
+ "optionPath": "option.radar",
3490
+ "description": "Indicator axes: name and max (and optional min) per axis.",
3491
+ "properties": [
3492
+ {
3493
+ "name": "radar.indicator",
3494
+ "type": "array",
3495
+ "description": "Array of { name: string, max?: number, min?: number }."
3496
+ },
3497
+ {
3498
+ "name": "radar.center",
3499
+ "type": "[string, string]",
3500
+ "description": "Center position e.g. ['50%','50%']."
3501
+ },
3502
+ {
3503
+ "name": "radar.radius",
3504
+ "type": "number | string",
3505
+ "description": "Radius in px or percent."
3506
+ }
3507
+ ],
3508
+ "snippet": "\"radar\": { \"indicator\": [{ \"name\": \"A\", \"max\": 100 }, { \"name\": \"B\", \"max\": 100 }] }"
3509
+ },
3510
+ {
3511
+ "id": "series-radar",
3512
+ "title": "series (radar)",
3513
+ "optionPath": "option.series",
3514
+ "description": "Each series has data: number[] (one value per indicator).",
3515
+ "properties": [
3516
+ {
3517
+ "name": "series[].type",
3518
+ "type": "string",
3519
+ "description": "Must be 'radar'."
3520
+ },
3521
+ {
3522
+ "name": "series[].name",
3523
+ "type": "string",
3524
+ "description": "Series name (legend/tooltip)."
3525
+ },
3526
+ {
3527
+ "name": "series[].data",
3528
+ "type": "array",
3529
+ "description": "Array of numbers, one per indicator (or [{ value: n }, ...])."
3530
+ }
3531
+ ],
3532
+ "snippet": "\"series\": [{ \"type\": \"radar\", \"name\": \"Series 1\", \"data\": [80, 60, 90, 70, 85] }]"
3533
+ },
3534
+ {
3535
+ "id": "tooltip",
3536
+ "title": "tooltip",
3537
+ "optionPath": "option.tooltip",
3538
+ "description": "Hover tooltip (per series polygon).",
3539
+ "properties": [
3540
+ {
3541
+ "name": "tooltip.trigger",
3542
+ "type": "string",
3543
+ "description": "'item'."
3544
+ }
3545
+ ],
3546
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
3547
+ },
3548
+ {
3549
+ "id": "legend",
3550
+ "title": "legend",
3551
+ "optionPath": "option.legend",
3552
+ "description": "Legend for multiple series.",
3553
+ "properties": [
3554
+ {
3555
+ "name": "legend.show",
3556
+ "type": "boolean",
3557
+ "description": "Show legend."
3558
+ }
3559
+ ],
3560
+ "snippet": "\"legend\": { \"top\": \"bottom\" }"
3561
+ },
3562
+ {
3563
+ "id": "styling",
3564
+ "title": "styling",
3565
+ "optionPath": "option (styling)",
3566
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
3567
+ "properties": [
3568
+ {
3569
+ "name": "backgroundColor",
3570
+ "type": "string",
3571
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
3572
+ },
3573
+ {
3574
+ "name": "title.textStyle",
3575
+ "type": "object",
3576
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
3577
+ },
3578
+ {
3579
+ "name": "title.textStyle.fontSize",
3580
+ "type": "number",
3581
+ "default": "18",
3582
+ "description": "Title font size (px)."
3583
+ },
3584
+ {
3585
+ "name": "title.textStyle.color",
3586
+ "type": "string",
3587
+ "description": "Title text color."
3588
+ },
3589
+ {
3590
+ "name": "title.textStyle.fontWeight",
3591
+ "type": "string | number",
3592
+ "description": "e.g. 'bold', 600."
3593
+ },
3594
+ {
3595
+ "name": "legend.textStyle",
3596
+ "type": "object",
3597
+ "description": "Legend label font: fontSize, color."
3598
+ },
3599
+ {
3600
+ "name": "tooltip.backgroundColor",
3601
+ "type": "string",
3602
+ "description": "Tooltip background color."
3603
+ },
3604
+ {
3605
+ "name": "tooltip.borderColor",
3606
+ "type": "string",
3607
+ "description": "Tooltip border color."
3608
+ },
3609
+ {
3610
+ "name": "tooltip.textStyle",
3611
+ "type": "object",
3612
+ "description": "Tooltip font: fontSize, color."
3613
+ },
3614
+ {
3615
+ "name": "series[].itemStyle",
3616
+ "type": "object",
3617
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
3618
+ },
3619
+ {
3620
+ "name": "series[].lineStyle",
3621
+ "type": "object",
3622
+ "description": "Lines: color, width, type ('solid'|'dashed')."
3623
+ },
3624
+ {
3625
+ "name": "series[].areaStyle",
3626
+ "type": "object",
3627
+ "description": "Area fill: color, opacity."
3628
+ },
3629
+ {
3630
+ "name": "series[].label",
3631
+ "type": "object",
3632
+ "description": "Data labels: show, color, fontSize, formatter."
3633
+ }
3634
+ ],
3635
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
3636
+ }
3637
+ ],
3638
+ "sankey": [
3639
+ {
3640
+ "id": "title",
3641
+ "title": "title",
3642
+ "optionPath": "option.title",
3643
+ "description": "Chart title.",
3644
+ "properties": [
3645
+ {
3646
+ "name": "title.text",
3647
+ "type": "string",
3648
+ "description": "Title text."
3649
+ }
3650
+ ],
3651
+ "snippet": "\"title\": { \"text\": \"Sankey\" }"
3652
+ },
3653
+ {
3654
+ "id": "series-sankey",
3655
+ "title": "series (sankey)",
3656
+ "optionPath": "option.series",
3657
+ "description": "Data: nodes (name) and links (source, target, value). source/target can be index or name.",
3658
+ "properties": [
3659
+ {
3660
+ "name": "series[].type",
3661
+ "type": "string",
3662
+ "description": "Must be 'sankey'."
3663
+ },
3664
+ {
3665
+ "name": "series[].data.nodes",
3666
+ "type": "array",
3667
+ "description": "Optional: [{ name: string, value?: number }]. If omitted, nodes inferred from links."
3668
+ },
3669
+ {
3670
+ "name": "series[].data.links",
3671
+ "type": "array",
3672
+ "description": "[{ source: number|string, target: number|string, value: number }]."
3673
+ }
3674
+ ],
3675
+ "snippet": "\"series\": [{ \"type\": \"sankey\", \"data\": { \"nodes\": [{ \"name\": \"A\" }, { \"name\": \"B\" }], \"links\": [{ \"source\": \"A\", \"target\": \"B\", \"value\": 10 }] } }]"
3676
+ },
3677
+ {
3678
+ "id": "tooltip",
3679
+ "title": "tooltip",
3680
+ "optionPath": "option.tooltip",
3681
+ "description": "Hover tooltip on nodes and links.",
3682
+ "properties": [
3683
+ {
3684
+ "name": "tooltip.trigger",
3685
+ "type": "string",
3686
+ "description": "'item'."
3687
+ }
3688
+ ],
3689
+ "snippet": "\"tooltip\": { \"trigger\": \"item\" }"
3690
+ },
3691
+ {
3692
+ "id": "styling",
3693
+ "title": "styling",
3694
+ "optionPath": "option (styling)",
3695
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
3696
+ "properties": [
3697
+ {
3698
+ "name": "backgroundColor",
3699
+ "type": "string",
3700
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
3701
+ },
3702
+ {
3703
+ "name": "title.textStyle",
3704
+ "type": "object",
3705
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
3706
+ },
3707
+ {
3708
+ "name": "title.textStyle.fontSize",
3709
+ "type": "number",
3710
+ "default": "18",
3711
+ "description": "Title font size (px)."
3712
+ },
3713
+ {
3714
+ "name": "title.textStyle.color",
3715
+ "type": "string",
3716
+ "description": "Title text color."
3717
+ },
3718
+ {
3719
+ "name": "title.textStyle.fontWeight",
3720
+ "type": "string | number",
3721
+ "description": "e.g. 'bold', 600."
3722
+ },
3723
+ {
3724
+ "name": "legend.textStyle",
3725
+ "type": "object",
3726
+ "description": "Legend label font: fontSize, color."
3727
+ },
3728
+ {
3729
+ "name": "tooltip.backgroundColor",
3730
+ "type": "string",
3731
+ "description": "Tooltip background color."
3732
+ },
3733
+ {
3734
+ "name": "tooltip.borderColor",
3735
+ "type": "string",
3736
+ "description": "Tooltip border color."
3737
+ },
3738
+ {
3739
+ "name": "tooltip.textStyle",
3740
+ "type": "object",
3741
+ "description": "Tooltip font: fontSize, color."
3742
+ },
3743
+ {
3744
+ "name": "series[].itemStyle",
3745
+ "type": "object",
3746
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
3747
+ },
3748
+ {
3749
+ "name": "series[].lineStyle",
3750
+ "type": "object",
3751
+ "description": "Lines: color, width, type ('solid'|'dashed')."
3752
+ },
3753
+ {
3754
+ "name": "series[].areaStyle",
3755
+ "type": "object",
3756
+ "description": "Area fill: color, opacity."
3757
+ },
3758
+ {
3759
+ "name": "series[].label",
3760
+ "type": "object",
3761
+ "description": "Data labels: show, color, fontSize, formatter."
3762
+ }
3763
+ ],
3764
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
3765
+ }
3766
+ ],
3767
+ "brush": [
3768
+ {
3769
+ "id": "brush",
3770
+ "title": "brush",
3771
+ "optionPath": "option.brush",
3772
+ "description": "Range selector: use start/end (0–100) and @brush-end. option.brush.type: 'lineX' (horizontal) or 'lineY' (vertical).",
3773
+ "properties": [
3774
+ {
3775
+ "name": "brush.type",
3776
+ "type": "string",
3777
+ "description": "'lineX' | 'lineY'."
3778
+ }
3779
+ ],
3780
+ "snippet": "\"brush\": { \"type\": \"lineX\" }"
3781
+ },
3782
+ {
3783
+ "id": "styling",
3784
+ "title": "styling",
3785
+ "optionPath": "option (styling)",
3786
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
3787
+ "properties": [
3788
+ {
3789
+ "name": "backgroundColor",
3790
+ "type": "string",
3791
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
3792
+ },
3793
+ {
3794
+ "name": "title.textStyle",
3795
+ "type": "object",
3796
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
3797
+ },
3798
+ {
3799
+ "name": "title.textStyle.fontSize",
3800
+ "type": "number",
3801
+ "default": "18",
3802
+ "description": "Title font size (px)."
3803
+ },
3804
+ {
3805
+ "name": "title.textStyle.color",
3806
+ "type": "string",
3807
+ "description": "Title text color."
3808
+ },
3809
+ {
3810
+ "name": "title.textStyle.fontWeight",
3811
+ "type": "string | number",
3812
+ "description": "e.g. 'bold', 600."
3813
+ },
3814
+ {
3815
+ "name": "legend.textStyle",
3816
+ "type": "object",
3817
+ "description": "Legend label font: fontSize, color."
3818
+ },
3819
+ {
3820
+ "name": "tooltip.backgroundColor",
3821
+ "type": "string",
3822
+ "description": "Tooltip background color."
3823
+ },
3824
+ {
3825
+ "name": "tooltip.borderColor",
3826
+ "type": "string",
3827
+ "description": "Tooltip border color."
3828
+ },
3829
+ {
3830
+ "name": "tooltip.textStyle",
3831
+ "type": "object",
3832
+ "description": "Tooltip font: fontSize, color."
3833
+ },
3834
+ {
3835
+ "name": "series[].itemStyle",
3836
+ "type": "object",
3837
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
3838
+ },
3839
+ {
3840
+ "name": "series[].lineStyle",
3841
+ "type": "object",
3842
+ "description": "Lines: color, width, type ('solid'|'dashed')."
3843
+ },
3844
+ {
3845
+ "name": "series[].areaStyle",
3846
+ "type": "object",
3847
+ "description": "Area fill: color, opacity."
3848
+ },
3849
+ {
3850
+ "name": "series[].label",
3851
+ "type": "object",
3852
+ "description": "Data labels: show, color, fontSize, formatter."
3853
+ }
3854
+ ],
3855
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
3856
+ }
3857
+ ],
3858
+ "pictorialBar": [
3859
+ {
3860
+ "id": "title",
3861
+ "title": "title",
3862
+ "optionPath": "option.title",
3863
+ "description": "Chart title.",
3864
+ "properties": [
3865
+ {
3866
+ "name": "title.text",
3867
+ "type": "string",
3868
+ "description": "Title text."
3869
+ }
3870
+ ],
3871
+ "snippet": "\"title\": { \"text\": \"Pictorial Bar\" }"
3872
+ },
3873
+ {
3874
+ "id": "series-pictorialBar",
3875
+ "title": "series (pictorialBar)",
3876
+ "optionPath": "option.series",
3877
+ "description": "Currently renders as bar chart. Full pictorial symbol support is optional.",
3878
+ "properties": [
3879
+ {
3880
+ "name": "series[].type",
3881
+ "type": "string",
3882
+ "description": "Must be 'pictorialBar'."
3883
+ },
3884
+ {
3885
+ "name": "series[].data",
3886
+ "type": "array",
3887
+ "description": "Same as bar: value or [open, close]."
3888
+ }
3889
+ ],
3890
+ "snippet": "\"series\": [{ \"type\": \"pictorialBar\", \"data\": [100, 80, 120, 90 ] }]"
3891
+ },
3892
+ {
3893
+ "id": "styling",
3894
+ "title": "styling",
3895
+ "optionPath": "option (styling)",
3896
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
3897
+ "properties": [
3898
+ {
3899
+ "name": "backgroundColor",
3900
+ "type": "string",
3901
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
3902
+ },
3903
+ {
3904
+ "name": "title.textStyle",
3905
+ "type": "object",
3906
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
3907
+ },
3908
+ {
3909
+ "name": "title.textStyle.fontSize",
3910
+ "type": "number",
3911
+ "default": "18",
3912
+ "description": "Title font size (px)."
3913
+ },
3914
+ {
3915
+ "name": "title.textStyle.color",
3916
+ "type": "string",
3917
+ "description": "Title text color."
3918
+ },
3919
+ {
3920
+ "name": "title.textStyle.fontWeight",
3921
+ "type": "string | number",
3922
+ "description": "e.g. 'bold', 600."
3923
+ },
3924
+ {
3925
+ "name": "legend.textStyle",
3926
+ "type": "object",
3927
+ "description": "Legend label font: fontSize, color."
3928
+ },
3929
+ {
3930
+ "name": "tooltip.backgroundColor",
3931
+ "type": "string",
3932
+ "description": "Tooltip background color."
3933
+ },
3934
+ {
3935
+ "name": "tooltip.borderColor",
3936
+ "type": "string",
3937
+ "description": "Tooltip border color."
3938
+ },
3939
+ {
3940
+ "name": "tooltip.textStyle",
3941
+ "type": "object",
3942
+ "description": "Tooltip font: fontSize, color."
3943
+ },
3944
+ {
3945
+ "name": "series[].itemStyle",
3946
+ "type": "object",
3947
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
3948
+ },
3949
+ {
3950
+ "name": "series[].lineStyle",
3951
+ "type": "object",
3952
+ "description": "Lines: color, width, type ('solid'|'dashed')."
3953
+ },
3954
+ {
3955
+ "name": "series[].areaStyle",
3956
+ "type": "object",
3957
+ "description": "Area fill: color, opacity."
3958
+ },
3959
+ {
3960
+ "name": "series[].label",
3961
+ "type": "object",
3962
+ "description": "Data labels: show, color, fontSize, formatter."
3963
+ }
3964
+ ],
3965
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
3966
+ }
3967
+ ],
3968
+ "themeRiver": [
3969
+ {
3970
+ "id": "title",
3971
+ "title": "title",
3972
+ "optionPath": "option.title",
3973
+ "description": "Chart title.",
3974
+ "properties": [
3975
+ {
3976
+ "name": "title.text",
3977
+ "type": "string",
3978
+ "description": "Title text."
3979
+ }
3980
+ ],
3981
+ "snippet": "\"title\": { \"text\": \"Theme River\" }"
3982
+ },
3983
+ {
3984
+ "id": "series-themeRiver",
3985
+ "title": "series (themeRiver)",
3986
+ "optionPath": "option.series",
3987
+ "description": "Currently renders as area. Full theme river layout is optional.",
3988
+ "properties": [
3989
+ {
3990
+ "name": "series[].type",
3991
+ "type": "string",
3992
+ "description": "Must be 'themeRiver'."
3993
+ }
3994
+ ],
3995
+ "snippet": "\"series\": [{ \"type\": \"themeRiver\", \"data\": [] }]"
3996
+ },
3997
+ {
3998
+ "id": "styling",
3999
+ "title": "styling",
4000
+ "optionPath": "option (styling)",
4001
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
4002
+ "properties": [
4003
+ {
4004
+ "name": "backgroundColor",
4005
+ "type": "string",
4006
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
4007
+ },
4008
+ {
4009
+ "name": "title.textStyle",
4010
+ "type": "object",
4011
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
4012
+ },
4013
+ {
4014
+ "name": "title.textStyle.fontSize",
4015
+ "type": "number",
4016
+ "default": "18",
4017
+ "description": "Title font size (px)."
4018
+ },
4019
+ {
4020
+ "name": "title.textStyle.color",
4021
+ "type": "string",
4022
+ "description": "Title text color."
4023
+ },
4024
+ {
4025
+ "name": "title.textStyle.fontWeight",
4026
+ "type": "string | number",
4027
+ "description": "e.g. 'bold', 600."
4028
+ },
4029
+ {
4030
+ "name": "legend.textStyle",
4031
+ "type": "object",
4032
+ "description": "Legend label font: fontSize, color."
4033
+ },
4034
+ {
4035
+ "name": "tooltip.backgroundColor",
4036
+ "type": "string",
4037
+ "description": "Tooltip background color."
4038
+ },
4039
+ {
4040
+ "name": "tooltip.borderColor",
4041
+ "type": "string",
4042
+ "description": "Tooltip border color."
4043
+ },
4044
+ {
4045
+ "name": "tooltip.textStyle",
4046
+ "type": "object",
4047
+ "description": "Tooltip font: fontSize, color."
4048
+ },
4049
+ {
4050
+ "name": "series[].itemStyle",
4051
+ "type": "object",
4052
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
4053
+ },
4054
+ {
4055
+ "name": "series[].lineStyle",
4056
+ "type": "object",
4057
+ "description": "Lines: color, width, type ('solid'|'dashed')."
4058
+ },
4059
+ {
4060
+ "name": "series[].areaStyle",
4061
+ "type": "object",
4062
+ "description": "Area fill: color, opacity."
4063
+ },
4064
+ {
4065
+ "name": "series[].label",
4066
+ "type": "object",
4067
+ "description": "Data labels: show, color, fontSize, formatter."
4068
+ }
4069
+ ],
4070
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
4071
+ }
4072
+ ],
4073
+ "calendar": [
4074
+ {
4075
+ "id": "title",
4076
+ "title": "title",
4077
+ "optionPath": "option.title",
4078
+ "description": "Chart title.",
4079
+ "properties": [
4080
+ {
4081
+ "name": "title.text",
4082
+ "type": "string",
4083
+ "description": "Title text."
4084
+ }
4085
+ ],
4086
+ "snippet": "\"title\": { \"text\": \"Calendar\" }"
4087
+ },
4088
+ {
4089
+ "id": "series-calendar",
4090
+ "title": "series (calendar)",
4091
+ "optionPath": "option.series",
4092
+ "description": "Stub: use heatmap with date dimensions for similar effect.",
4093
+ "properties": [
4094
+ {
4095
+ "name": "series[].type",
4096
+ "type": "string",
4097
+ "description": "Must be 'calendar'."
4098
+ }
4099
+ ],
4100
+ "snippet": "\"series\": [{ \"type\": \"calendar\", \"data\": [] }]"
4101
+ },
4102
+ {
4103
+ "id": "styling",
4104
+ "title": "styling",
4105
+ "optionPath": "option (styling)",
4106
+ "description": "Global and per-component styling: background, title/legend/tooltip text, and series colors.",
4107
+ "properties": [
4108
+ {
4109
+ "name": "backgroundColor",
4110
+ "type": "string",
4111
+ "description": "Chart background color (e.g. '#fff', 'transparent')."
4112
+ },
4113
+ {
4114
+ "name": "title.textStyle",
4115
+ "type": "object",
4116
+ "description": "Title font: fontSize, color, fontWeight, fontFamily."
4117
+ },
4118
+ {
4119
+ "name": "title.textStyle.fontSize",
4120
+ "type": "number",
4121
+ "default": "18",
4122
+ "description": "Title font size (px)."
4123
+ },
4124
+ {
4125
+ "name": "title.textStyle.color",
4126
+ "type": "string",
4127
+ "description": "Title text color."
4128
+ },
4129
+ {
4130
+ "name": "title.textStyle.fontWeight",
4131
+ "type": "string | number",
4132
+ "description": "e.g. 'bold', 600."
4133
+ },
4134
+ {
4135
+ "name": "legend.textStyle",
4136
+ "type": "object",
4137
+ "description": "Legend label font: fontSize, color."
4138
+ },
4139
+ {
4140
+ "name": "tooltip.backgroundColor",
4141
+ "type": "string",
4142
+ "description": "Tooltip background color."
4143
+ },
4144
+ {
4145
+ "name": "tooltip.borderColor",
4146
+ "type": "string",
4147
+ "description": "Tooltip border color."
4148
+ },
4149
+ {
4150
+ "name": "tooltip.textStyle",
4151
+ "type": "object",
4152
+ "description": "Tooltip font: fontSize, color."
4153
+ },
4154
+ {
4155
+ "name": "series[].itemStyle",
4156
+ "type": "object",
4157
+ "description": "Bars/slices/points: color, borderColor, borderWidth, borderRadius."
4158
+ },
4159
+ {
4160
+ "name": "series[].lineStyle",
4161
+ "type": "object",
4162
+ "description": "Lines: color, width, type ('solid'|'dashed')."
4163
+ },
4164
+ {
4165
+ "name": "series[].areaStyle",
4166
+ "type": "object",
4167
+ "description": "Area fill: color, opacity."
4168
+ },
4169
+ {
4170
+ "name": "series[].label",
4171
+ "type": "object",
4172
+ "description": "Data labels: show, color, fontSize, formatter."
4173
+ }
4174
+ ],
4175
+ "snippet": "\"backgroundColor\": \"#fafafa\",\n\"title\": { \"text\": \"My Chart\", \"textStyle\": { \"fontSize\": 20, \"color\": \"#333\" } },\n\"legend\": { \"textStyle\": { \"fontSize\": 12, \"color\": \"#666\" } },\n\"series\": [{ \"itemStyle\": { \"color\": \"#3b82f6\", \"borderRadius\": 4 } }]"
4176
+ }
4177
+ ]
4178
+ },
4179
+ "notes": {
4180
+ "hostElement": "sky-chart",
4181
+ "import": "@sky.ui.pro/core/sky-chart",
4182
+ "brush": "UI-only range control; use host start/end (0–100). No plot renderer.",
4183
+ "waterfall": "Series type waterfall; host type is often bar."
4184
+ }
4185
+ }