@lowdefy/docs-content 0.0.0-experimental-20260710073520
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +20 -0
- package/content/actions/callapi.md +66 -0
- package/content/actions/callmethod.md +41 -0
- package/content/actions/copytoclipboard.md +32 -0
- package/content/actions/displaymessage.md +53 -0
- package/content/actions/downloadcsv.md +89 -0
- package/content/actions/fetch.md +50 -0
- package/content/actions/geolocationcurrentposition.md +56 -0
- package/content/actions/link.md +104 -0
- package/content/actions/login.md +85 -0
- package/content/actions/logout.md +56 -0
- package/content/actions/pdfmake.md +304 -0
- package/content/actions/request.md +67 -0
- package/content/actions/reset.md +27 -0
- package/content/actions/resetvalidation.md +85 -0
- package/content/actions/scrollto.md +85 -0
- package/content/actions/setdarkmode.md +62 -0
- package/content/actions/setfocus.md +33 -0
- package/content/actions/setglobal.md +63 -0
- package/content/actions/setlocale.md +69 -0
- package/content/actions/setstate.md +70 -0
- package/content/actions/throw.md +72 -0
- package/content/actions/validate.md +87 -0
- package/content/actions/wait.md +24 -0
- package/content/agents/agent-endpoint-tools.md +190 -0
- package/content/agents/agent-mcp-tools.md +124 -0
- package/content/agents/agent-multi-agent.md +136 -0
- package/content/agents/agent-properties.md +174 -0
- package/content/agents/agent-server-hooks.md +336 -0
- package/content/agents/agentchat.md +515 -0
- package/content/agents/agentconversations.md +148 -0
- package/content/concepts/ai-agent-docs.md +190 -0
- package/content/concepts/cli.md +213 -0
- package/content/concepts/connections-and-requests.md +7 -0
- package/content/concepts/custom-html.md +3 -0
- package/content/concepts/custom-styling.md +161 -0
- package/content/concepts/events-and-actions.md +271 -0
- package/content/concepts/hosting-files.md +18 -0
- package/content/concepts/i18n.md +320 -0
- package/content/concepts/keyboard-shortcuts.md +218 -0
- package/content/concepts/layout-overview.md +478 -0
- package/content/concepts/lists.md +144 -0
- package/content/concepts/logger.md +43 -0
- package/content/concepts/lowdefy-schema.md +365 -0
- package/content/concepts/menus.md +144 -0
- package/content/concepts/module-authoring.md +564 -0
- package/content/concepts/modules.md +338 -0
- package/content/concepts/operators.md +45 -0
- package/content/concepts/overview.md +19 -0
- package/content/concepts/references-and-templates.md +207 -0
- package/content/concepts/secrets.md +24 -0
- package/content/concepts/selectors.md +143 -0
- package/content/connections/amazonredshift.md +176 -0
- package/content/connections/anthropic.md +232 -0
- package/content/connections/awss3.md +313 -0
- package/content/connections/azureblobstorage.md +133 -0
- package/content/connections/elasticsearch.md +371 -0
- package/content/connections/google.md +228 -0
- package/content/connections/googlecloudstorage.md +139 -0
- package/content/connections/googlesheet.md +313 -0
- package/content/connections/knex.md +206 -0
- package/content/connections/mariadb.md +177 -0
- package/content/connections/mcp.md +134 -0
- package/content/connections/mongodb.md +739 -0
- package/content/connections/mssql.md +191 -0
- package/content/connections/mysql.md +192 -0
- package/content/connections/openai-connection.md +228 -0
- package/content/connections/postgresql.md +200 -0
- package/content/connections/redis.md +116 -0
- package/content/connections/sendgridmail.md +94 -0
- package/content/connections/smtp.md +149 -0
- package/content/connections/sqlite.md +187 -0
- package/content/connections/stripe.md +115 -0
- package/content/container-blocks/affix.md +413 -0
- package/content/container-blocks/alert.md +937 -0
- package/content/container-blocks/badge.md +1222 -0
- package/content/container-blocks/box.md +1453 -0
- package/content/container-blocks/card.md +1200 -0
- package/content/container-blocks/carousel.md +2247 -0
- package/content/container-blocks/collapse.md +1335 -0
- package/content/container-blocks/configprovider.md +1070 -0
- package/content/container-blocks/confirmmodal.md +1159 -0
- package/content/container-blocks/content.md +597 -0
- package/content/container-blocks/descriptions.md +870 -0
- package/content/container-blocks/drawer.md +1379 -0
- package/content/container-blocks/dropdownmenu.md +643 -0
- package/content/container-blocks/flex.md +1510 -0
- package/content/container-blocks/footer.md +380 -0
- package/content/container-blocks/googlemaps.md +546 -0
- package/content/container-blocks/googlemapsheatmap.md +607 -0
- package/content/container-blocks/googlemapsscript.md +61 -0
- package/content/container-blocks/header.md +302 -0
- package/content/container-blocks/label.md +739 -0
- package/content/container-blocks/layout.md +604 -0
- package/content/container-blocks/masonry.md +1090 -0
- package/content/container-blocks/mobilemenu.md +1244 -0
- package/content/container-blocks/modal.md +1180 -0
- package/content/container-blocks/pageheadermenu.md +614 -0
- package/content/container-blocks/pagesidebarlayout.md +438 -0
- package/content/container-blocks/pagesidermenu.md +651 -0
- package/content/container-blocks/popover.md +1421 -0
- package/content/container-blocks/result.md +972 -0
- package/content/container-blocks/sider.md +1064 -0
- package/content/container-blocks/span.md +747 -0
- package/content/container-blocks/spinner.md +267 -0
- package/content/container-blocks/splitter.md +1735 -0
- package/content/container-blocks/tabs.md +1718 -0
- package/content/container-blocks/tooltip.md +1274 -0
- package/content/container-blocks/watermark.md +515 -0
- package/content/controls/for.md +103 -0
- package/content/controls/if.md +107 -0
- package/content/controls/log.md +50 -0
- package/content/controls/parallel.md +71 -0
- package/content/controls/parallel_for.md +36 -0
- package/content/controls/reject.md +56 -0
- package/content/controls/return.md +66 -0
- package/content/controls/set_state.md +98 -0
- package/content/controls/switch.md +90 -0
- package/content/controls/throw.md +79 -0
- package/content/controls/try.md +88 -0
- package/content/deployment/docker.md +149 -0
- package/content/deployment/node-server.md +27 -0
- package/content/deployment/vercel.md +101 -0
- package/content/display-blocks/aggrid.md +1459 -0
- package/content/display-blocks/anchor.md +336 -0
- package/content/display-blocks/avatar.md +1154 -0
- package/content/display-blocks/breadcrumb.md +517 -0
- package/content/display-blocks/button.md +758 -0
- package/content/display-blocks/calendar.md +156 -0
- package/content/display-blocks/dangeroushtml.md +314 -0
- package/content/display-blocks/dangerousmarkdown.md +423 -0
- package/content/display-blocks/diffgit.md +44 -0
- package/content/display-blocks/difflist.md +225 -0
- package/content/display-blocks/diffsidebyside.md +56 -0
- package/content/display-blocks/difftimeline.md +94 -0
- package/content/display-blocks/divider.md +406 -0
- package/content/display-blocks/download.md +60 -0
- package/content/display-blocks/dropdownbutton.md +661 -0
- package/content/display-blocks/echart.md +418 -0
- package/content/display-blocks/floatbutton.md +545 -0
- package/content/display-blocks/html.md +311 -0
- package/content/display-blocks/icon.md +717 -0
- package/content/display-blocks/img.md +479 -0
- package/content/display-blocks/markdown.md +520 -0
- package/content/display-blocks/markdownwithcode.md +730 -0
- package/content/display-blocks/menu.md +1123 -0
- package/content/display-blocks/message.md +941 -0
- package/content/display-blocks/notification.md +1410 -0
- package/content/display-blocks/paragraph.md +643 -0
- package/content/display-blocks/progress.md +818 -0
- package/content/display-blocks/qrcode.md +519 -0
- package/content/display-blocks/s3download.md +240 -0
- package/content/display-blocks/search.md +360 -0
- package/content/display-blocks/skeleton.md +272 -0
- package/content/display-blocks/skeletonavatar.md +222 -0
- package/content/display-blocks/skeletonbutton.md +245 -0
- package/content/display-blocks/skeletoninput.md +223 -0
- package/content/display-blocks/skeletonparagraph.md +201 -0
- package/content/display-blocks/statistic.md +485 -0
- package/content/display-blocks/steps.md +585 -0
- package/content/display-blocks/tag.md +620 -0
- package/content/display-blocks/title.md +654 -0
- package/content/display-blocks/tour.md +2359 -0
- package/content/input-blocks/autocomplete.md +786 -0
- package/content/input-blocks/buttonselector.md +964 -0
- package/content/input-blocks/checkboxselector.md +765 -0
- package/content/input-blocks/checkboxswitch.md +497 -0
- package/content/input-blocks/colorselector.md +884 -0
- package/content/input-blocks/daterangeselector.md +777 -0
- package/content/input-blocks/dateselector.md +693 -0
- package/content/input-blocks/datetimeselector.md +791 -0
- package/content/input-blocks/inputgallery.md +528 -0
- package/content/input-blocks/monthselector.md +717 -0
- package/content/input-blocks/multipleselector.md +1337 -0
- package/content/input-blocks/numberinput.md +855 -0
- package/content/input-blocks/pagination.md +679 -0
- package/content/input-blocks/paragraphinput.md +1664 -0
- package/content/input-blocks/passwordinput.md +480 -0
- package/content/input-blocks/phonenumberinput.md +688 -0
- package/content/input-blocks/radioselector.md +820 -0
- package/content/input-blocks/ratingslider.md +684 -0
- package/content/input-blocks/s3uploadbutton.md +384 -0
- package/content/input-blocks/s3uploaddragger.md +305 -0
- package/content/input-blocks/s3uploadphoto.md +288 -0
- package/content/input-blocks/segmentedselector.md +782 -0
- package/content/input-blocks/selector.md +1162 -0
- package/content/input-blocks/switch.md +552 -0
- package/content/input-blocks/textarea.md +714 -0
- package/content/input-blocks/textinput.md +639 -0
- package/content/input-blocks/tiptapinput.md +226 -0
- package/content/input-blocks/tiptapmentioninput.md +471 -0
- package/content/input-blocks/titleinput.md +1094 -0
- package/content/input-blocks/treeinput.md +144 -0
- package/content/input-blocks/treemultipleselector.md +162 -0
- package/content/input-blocks/treeselector.md +185 -0
- package/content/input-blocks/upload.md +149 -0
- package/content/input-blocks/uploaddragger.md +85 -0
- package/content/input-blocks/uploadphoto.md +84 -0
- package/content/input-blocks/weekselector.md +630 -0
- package/content/list-blocks/controlledlist.md +498 -0
- package/content/list-blocks/list.md +529 -0
- package/content/list-blocks/listselector.md +301 -0
- package/content/list-blocks/masonrylist.md +230 -0
- package/content/migration/upgrade-guide.md +106 -0
- package/content/migration/v4-to-v5.md +589 -0
- package/content/migration/v5-to-v6.md +36 -0
- package/content/operators/_actions.md +58 -0
- package/content/operators/_and.md +76 -0
- package/content/operators/_api.md +254 -0
- package/content/operators/_app.md +114 -0
- package/content/operators/_args.md +65 -0
- package/content/operators/_array.md +331 -0
- package/content/operators/_base64.md +49 -0
- package/content/operators/_boolean.md +33 -0
- package/content/operators/_build.md +166 -0
- package/content/operators/_change_case.md +357 -0
- package/content/operators/_date.md +415 -0
- package/content/operators/_dayjs.md +128 -0
- package/content/operators/_diff.md +61 -0
- package/content/operators/_divide.md +32 -0
- package/content/operators/_eq.md +52 -0
- package/content/operators/_event.md +86 -0
- package/content/operators/_function.md +52 -0
- package/content/operators/_get.md +92 -0
- package/content/operators/_global.md +86 -0
- package/content/operators/_gt.md +50 -0
- package/content/operators/_gte.md +50 -0
- package/content/operators/_hash.md +112 -0
- package/content/operators/_if.md +30 -0
- package/content/operators/_if_none.md +47 -0
- package/content/operators/_index.md +48 -0
- package/content/operators/_input.md +86 -0
- package/content/operators/_intl.md +135 -0
- package/content/operators/_item.md +166 -0
- package/content/operators/_js.md +113 -0
- package/content/operators/_json.md +120 -0
- package/content/operators/_jsonata.md +152 -0
- package/content/operators/_locale.md +65 -0
- package/content/operators/_location.md +40 -0
- package/content/operators/_log.md +22 -0
- package/content/operators/_lt.md +50 -0
- package/content/operators/_lte.md +50 -0
- package/content/operators/_math.md +407 -0
- package/content/operators/_media.md +83 -0
- package/content/operators/_menu.md +62 -0
- package/content/operators/_module.md +340 -0
- package/content/operators/_mql.md +95 -0
- package/content/operators/_ne.md +62 -0
- package/content/operators/_not.md +33 -0
- package/content/operators/_number.md +159 -0
- package/content/operators/_nunjucks.md +117 -0
- package/content/operators/_object.md +253 -0
- package/content/operators/_operator.md +33 -0
- package/content/operators/_or.md +67 -0
- package/content/operators/_product.md +45 -0
- package/content/operators/_random.md +90 -0
- package/content/operators/_ref.md +80 -0
- package/content/operators/_regex.md +69 -0
- package/content/operators/_request.md +35 -0
- package/content/operators/_request_details.md +29 -0
- package/content/operators/_secret.md +56 -0
- package/content/operators/_state.md +134 -0
- package/content/operators/_step.md +98 -0
- package/content/operators/_string.md +327 -0
- package/content/operators/_subtract.md +24 -0
- package/content/operators/_sum.md +45 -0
- package/content/operators/_switch.md +37 -0
- package/content/operators/_t.md +96 -0
- package/content/operators/_theme.md +65 -0
- package/content/operators/_type.md +78 -0
- package/content/operators/_uri.md +49 -0
- package/content/operators/_url_query.md +92 -0
- package/content/operators/_user.md +154 -0
- package/content/operators/_uuid.md +118 -0
- package/content/operators/_var.md +88 -0
- package/content/operators/_yaml.md +96 -0
- package/content/other/introduction.md +39 -0
- package/content/other/next-auth-providers.md +3 -0
- package/content/other/updatesession.md +26 -0
- package/content/plugins/plugins-actions.md +80 -0
- package/content/plugins/plugins-connections.md +98 -0
- package/content/plugins/plugins-dev.md +138 -0
- package/content/plugins/plugins-introduction.md +29 -0
- package/content/plugins/plugins-operators.md +71 -0
- package/content/testing/e2e-auth.md +108 -0
- package/content/testing/e2e-configuration.md +107 -0
- package/content/testing/e2e-getting-started.md +96 -0
- package/content/testing/e2e-introduction.md +53 -0
- package/content/testing/e2e-mocking.md +155 -0
- package/content/testing/e2e-writing-tests.md +214 -0
- package/content/tutorial/tutorial-actions-operators.md +222 -0
- package/content/tutorial/tutorial-add-blocks.md +86 -0
- package/content/tutorial/tutorial-create-page.md +57 -0
- package/content/tutorial/tutorial-display-data-page.md +181 -0
- package/content/tutorial/tutorial-next-steps.md +53 -0
- package/content/tutorial/tutorial-requests-sql.md +22 -0
- package/content/tutorial/tutorial-start.md +71 -0
- package/content/user-authentication/auth-providers.md +15 -0
- package/content/user-authentication/login-and-logout.md +122 -0
- package/content/user-authentication/users-introduction.md +31 -0
- package/index.json +2281 -0
- package/package.json +34 -0
- package/scripts/extractAgentDocs.js +130 -0
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
# EChart
|
|
2
|
+
|
|
3
|
+
Apache ECharts visualization with full chart configuration support.
|
|
4
|
+
|
|
5
|
+
```yaml
|
|
6
|
+
- id: bar_chart
|
|
7
|
+
type: EChart
|
|
8
|
+
properties:
|
|
9
|
+
height: 350
|
|
10
|
+
option:
|
|
11
|
+
tooltip:
|
|
12
|
+
trigger: axis
|
|
13
|
+
legend:
|
|
14
|
+
data:
|
|
15
|
+
- Revenue
|
|
16
|
+
- Expenses
|
|
17
|
+
xAxis:
|
|
18
|
+
type: category
|
|
19
|
+
data:
|
|
20
|
+
- Jan
|
|
21
|
+
- Feb
|
|
22
|
+
- Mar
|
|
23
|
+
- Apr
|
|
24
|
+
- May
|
|
25
|
+
- Jun
|
|
26
|
+
yAxis:
|
|
27
|
+
type: value
|
|
28
|
+
axisLabel:
|
|
29
|
+
formatter: ${value}
|
|
30
|
+
series:
|
|
31
|
+
- name: Revenue
|
|
32
|
+
type: bar
|
|
33
|
+
data:
|
|
34
|
+
- 4200
|
|
35
|
+
- 3800
|
|
36
|
+
- 5100
|
|
37
|
+
- 4600
|
|
38
|
+
- 5800
|
|
39
|
+
- 6200
|
|
40
|
+
itemStyle:
|
|
41
|
+
color: "#5470c6"
|
|
42
|
+
- name: Expenses
|
|
43
|
+
type: bar
|
|
44
|
+
data:
|
|
45
|
+
- 3100
|
|
46
|
+
- 2900
|
|
47
|
+
- 3400
|
|
48
|
+
- 3200
|
|
49
|
+
- 3600
|
|
50
|
+
- 3800
|
|
51
|
+
itemStyle:
|
|
52
|
+
color: "#91cc75"
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
```yaml
|
|
56
|
+
- id: line_chart
|
|
57
|
+
type: EChart
|
|
58
|
+
properties:
|
|
59
|
+
height: 350
|
|
60
|
+
option:
|
|
61
|
+
tooltip:
|
|
62
|
+
trigger: axis
|
|
63
|
+
legend:
|
|
64
|
+
data:
|
|
65
|
+
- Organic
|
|
66
|
+
- Paid
|
|
67
|
+
- Referral
|
|
68
|
+
xAxis:
|
|
69
|
+
type: category
|
|
70
|
+
data:
|
|
71
|
+
- Jan
|
|
72
|
+
- Feb
|
|
73
|
+
- Mar
|
|
74
|
+
- Apr
|
|
75
|
+
- May
|
|
76
|
+
- Jun
|
|
77
|
+
- Jul
|
|
78
|
+
- Aug
|
|
79
|
+
yAxis:
|
|
80
|
+
type: value
|
|
81
|
+
series:
|
|
82
|
+
- name: Organic
|
|
83
|
+
type: line
|
|
84
|
+
smooth: true
|
|
85
|
+
data:
|
|
86
|
+
- 820
|
|
87
|
+
- 932
|
|
88
|
+
- 1100
|
|
89
|
+
- 1234
|
|
90
|
+
- 1390
|
|
91
|
+
- 1530
|
|
92
|
+
- 1620
|
|
93
|
+
- 1780
|
|
94
|
+
- name: Paid
|
|
95
|
+
type: line
|
|
96
|
+
smooth: true
|
|
97
|
+
data:
|
|
98
|
+
- 420
|
|
99
|
+
- 510
|
|
100
|
+
- 635
|
|
101
|
+
- 720
|
|
102
|
+
- 845
|
|
103
|
+
- 910
|
|
104
|
+
- 980
|
|
105
|
+
- 1050
|
|
106
|
+
- name: Referral
|
|
107
|
+
type: line
|
|
108
|
+
smooth: true
|
|
109
|
+
data:
|
|
110
|
+
- 220
|
|
111
|
+
- 280
|
|
112
|
+
- 310
|
|
113
|
+
- 350
|
|
114
|
+
- 410
|
|
115
|
+
- 480
|
|
116
|
+
- 530
|
|
117
|
+
- 590
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
```yaml
|
|
121
|
+
- id: pie_chart
|
|
122
|
+
type: EChart
|
|
123
|
+
properties:
|
|
124
|
+
height: 350
|
|
125
|
+
option:
|
|
126
|
+
tooltip:
|
|
127
|
+
trigger: item
|
|
128
|
+
formatter: "{a} <br/>{b}: {c} ({d}%)"
|
|
129
|
+
legend:
|
|
130
|
+
orient: vertical
|
|
131
|
+
left: left
|
|
132
|
+
data:
|
|
133
|
+
- Direct
|
|
134
|
+
- Search Engine
|
|
135
|
+
- Email
|
|
136
|
+
- Social Media
|
|
137
|
+
- Affiliates
|
|
138
|
+
- Other
|
|
139
|
+
series:
|
|
140
|
+
- name: Traffic Source
|
|
141
|
+
type: pie
|
|
142
|
+
radius:
|
|
143
|
+
- 40%
|
|
144
|
+
- 70%
|
|
145
|
+
avoidLabelOverlap: true
|
|
146
|
+
itemStyle:
|
|
147
|
+
borderRadius: 6
|
|
148
|
+
borderColor: "#fff"
|
|
149
|
+
borderWidth: 2
|
|
150
|
+
label:
|
|
151
|
+
show: true
|
|
152
|
+
formatter: "{b}: {d}%"
|
|
153
|
+
data:
|
|
154
|
+
- name: Direct
|
|
155
|
+
value: 3350
|
|
156
|
+
- name: Search Engine
|
|
157
|
+
value: 5100
|
|
158
|
+
- name: Email
|
|
159
|
+
value: 1548
|
|
160
|
+
- name: Social Media
|
|
161
|
+
value: 2430
|
|
162
|
+
- name: Affiliates
|
|
163
|
+
value: 980
|
|
164
|
+
- name: Other
|
|
165
|
+
value: 620
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
```yaml
|
|
169
|
+
- id: area_chart
|
|
170
|
+
type: EChart
|
|
171
|
+
properties:
|
|
172
|
+
height: 350
|
|
173
|
+
option:
|
|
174
|
+
tooltip:
|
|
175
|
+
trigger: axis
|
|
176
|
+
legend:
|
|
177
|
+
data:
|
|
178
|
+
- Downloads
|
|
179
|
+
- Active Users
|
|
180
|
+
xAxis:
|
|
181
|
+
type: category
|
|
182
|
+
boundaryGap: false
|
|
183
|
+
data:
|
|
184
|
+
- Mon
|
|
185
|
+
- Tue
|
|
186
|
+
- Wed
|
|
187
|
+
- Thu
|
|
188
|
+
- Fri
|
|
189
|
+
- Sat
|
|
190
|
+
- Sun
|
|
191
|
+
yAxis:
|
|
192
|
+
type: value
|
|
193
|
+
series:
|
|
194
|
+
- name: Downloads
|
|
195
|
+
type: line
|
|
196
|
+
smooth: true
|
|
197
|
+
areaStyle:
|
|
198
|
+
opacity: 0.3
|
|
199
|
+
data:
|
|
200
|
+
- 1200
|
|
201
|
+
- 1400
|
|
202
|
+
- 1350
|
|
203
|
+
- 1680
|
|
204
|
+
- 1920
|
|
205
|
+
- 980
|
|
206
|
+
- 870
|
|
207
|
+
- name: Active Users
|
|
208
|
+
type: line
|
|
209
|
+
smooth: true
|
|
210
|
+
areaStyle:
|
|
211
|
+
opacity: 0.3
|
|
212
|
+
data:
|
|
213
|
+
- 450
|
|
214
|
+
- 520
|
|
215
|
+
- 490
|
|
216
|
+
- 610
|
|
217
|
+
- 720
|
|
218
|
+
- 380
|
|
219
|
+
- 340
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
```yaml
|
|
223
|
+
- id: scatter_plot
|
|
224
|
+
type: EChart
|
|
225
|
+
properties:
|
|
226
|
+
height: 350
|
|
227
|
+
option:
|
|
228
|
+
tooltip:
|
|
229
|
+
trigger: item
|
|
230
|
+
xAxis:
|
|
231
|
+
name: Price ($)
|
|
232
|
+
nameLocation: middle
|
|
233
|
+
nameGap: 30
|
|
234
|
+
yAxis:
|
|
235
|
+
name: Rating
|
|
236
|
+
nameLocation: middle
|
|
237
|
+
nameGap: 40
|
|
238
|
+
series:
|
|
239
|
+
- name: Electronics
|
|
240
|
+
type: scatter
|
|
241
|
+
symbolSize: 14
|
|
242
|
+
data:
|
|
243
|
+
- - 29
|
|
244
|
+
- 4.2
|
|
245
|
+
- - 49
|
|
246
|
+
- 4.5
|
|
247
|
+
- - 79
|
|
248
|
+
- 4
|
|
249
|
+
- - 99
|
|
250
|
+
- 4.8
|
|
251
|
+
- - 149
|
|
252
|
+
- 3.9
|
|
253
|
+
- - 199
|
|
254
|
+
- 4.6
|
|
255
|
+
- - 249
|
|
256
|
+
- 4.3
|
|
257
|
+
- name: Furniture
|
|
258
|
+
type: scatter
|
|
259
|
+
symbolSize: 14
|
|
260
|
+
data:
|
|
261
|
+
- - 89
|
|
262
|
+
- 3.8
|
|
263
|
+
- - 159
|
|
264
|
+
- 4.1
|
|
265
|
+
- - 289
|
|
266
|
+
- 4.7
|
|
267
|
+
- - 399
|
|
268
|
+
- 4.4
|
|
269
|
+
- - 449
|
|
270
|
+
- 4.9
|
|
271
|
+
- - 599
|
|
272
|
+
- 4.2
|
|
273
|
+
- name: Accessories
|
|
274
|
+
type: scatter
|
|
275
|
+
symbolSize: 14
|
|
276
|
+
data:
|
|
277
|
+
- - 9
|
|
278
|
+
- 3.5
|
|
279
|
+
- - 15
|
|
280
|
+
- 4
|
|
281
|
+
- - 24
|
|
282
|
+
- 4.3
|
|
283
|
+
- - 39
|
|
284
|
+
- 3.9
|
|
285
|
+
- - 19
|
|
286
|
+
- 4.6
|
|
287
|
+
- - 34
|
|
288
|
+
- 4.1
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
```yaml
|
|
292
|
+
- id: mixed_chart
|
|
293
|
+
type: EChart
|
|
294
|
+
properties:
|
|
295
|
+
height: 350
|
|
296
|
+
option:
|
|
297
|
+
tooltip:
|
|
298
|
+
trigger: axis
|
|
299
|
+
axisPointer:
|
|
300
|
+
type: cross
|
|
301
|
+
legend:
|
|
302
|
+
data:
|
|
303
|
+
- Sales Volume
|
|
304
|
+
- Avg Price
|
|
305
|
+
xAxis:
|
|
306
|
+
type: category
|
|
307
|
+
data:
|
|
308
|
+
- Laptops
|
|
309
|
+
- Phones
|
|
310
|
+
- Tablets
|
|
311
|
+
- Watches
|
|
312
|
+
- Headphones
|
|
313
|
+
- Cameras
|
|
314
|
+
yAxis:
|
|
315
|
+
- type: value
|
|
316
|
+
name: Units Sold
|
|
317
|
+
position: left
|
|
318
|
+
- type: value
|
|
319
|
+
name: Avg Price ($)
|
|
320
|
+
position: right
|
|
321
|
+
series:
|
|
322
|
+
- name: Sales Volume
|
|
323
|
+
type: bar
|
|
324
|
+
data:
|
|
325
|
+
- 1240
|
|
326
|
+
- 3560
|
|
327
|
+
- 890
|
|
328
|
+
- 2100
|
|
329
|
+
- 4300
|
|
330
|
+
- 560
|
|
331
|
+
itemStyle:
|
|
332
|
+
color: "#5470c6"
|
|
333
|
+
- name: Avg Price
|
|
334
|
+
type: line
|
|
335
|
+
yAxisIndex: 1
|
|
336
|
+
smooth: true
|
|
337
|
+
data:
|
|
338
|
+
- 899
|
|
339
|
+
- 699
|
|
340
|
+
- 449
|
|
341
|
+
- 299
|
|
342
|
+
- 149
|
|
343
|
+
- 549
|
|
344
|
+
lineStyle:
|
|
345
|
+
width: 3
|
|
346
|
+
itemStyle:
|
|
347
|
+
color: "#ee6666"
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
```yaml
|
|
351
|
+
- id: gauge_chart
|
|
352
|
+
type: EChart
|
|
353
|
+
properties:
|
|
354
|
+
height: 350
|
|
355
|
+
option:
|
|
356
|
+
series:
|
|
357
|
+
- type: gauge
|
|
358
|
+
startAngle: 200
|
|
359
|
+
endAngle: -20
|
|
360
|
+
min: 0
|
|
361
|
+
max: 100
|
|
362
|
+
splitNumber: 10
|
|
363
|
+
progress:
|
|
364
|
+
show: true
|
|
365
|
+
width: 20
|
|
366
|
+
pointer:
|
|
367
|
+
show: true
|
|
368
|
+
axisLine:
|
|
369
|
+
lineStyle:
|
|
370
|
+
width: 20
|
|
371
|
+
axisTick:
|
|
372
|
+
show: false
|
|
373
|
+
splitLine:
|
|
374
|
+
length: 10
|
|
375
|
+
lineStyle:
|
|
376
|
+
width: 2
|
|
377
|
+
color: "#999"
|
|
378
|
+
axisLabel:
|
|
379
|
+
distance: 25
|
|
380
|
+
fontSize: 12
|
|
381
|
+
color: "#999"
|
|
382
|
+
title:
|
|
383
|
+
offsetCenter:
|
|
384
|
+
- 0
|
|
385
|
+
- 70%
|
|
386
|
+
fontSize: 16
|
|
387
|
+
detail:
|
|
388
|
+
valueAnimation: true
|
|
389
|
+
fontSize: 32
|
|
390
|
+
offsetCenter:
|
|
391
|
+
- 0
|
|
392
|
+
- 40%
|
|
393
|
+
formatter: "{value}%"
|
|
394
|
+
data:
|
|
395
|
+
- value: 73
|
|
396
|
+
name: Performance
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
| Property | Type | Default | Description |
|
|
400
|
+
| --- | --- | --- | --- |
|
|
401
|
+
| `option` | object | - | EChart settings object. |
|
|
402
|
+
| `theme` | object | - | EChart theme object. |
|
|
403
|
+
| `width` | number \| string | `"auto"` | Specify chart width explicitly, in pixel. |
|
|
404
|
+
| `height` | number \| string | `"auto"` | Specify chart height explicitly, in pixel. |
|
|
405
|
+
| `init` | object | - | EChart init object. |
|
|
406
|
+
| `init.renderer` | string | `"canvas"` | Chart renderer. Enum: `canvas`, `svg`. |
|
|
407
|
+
| `init.locale` | string | `"EN"` | Specify the locale. Enum: `EN`, `ZH`. |
|
|
408
|
+
|
|
409
|
+
| Event | Event Data | Description |
|
|
410
|
+
| --- | --- | --- |
|
|
411
|
+
| `click` | \- | Trigger actions when the element is clicked. |
|
|
412
|
+
|
|
413
|
+
| Key | Target |
|
|
414
|
+
| --- | --- |
|
|
415
|
+
| `/block` | Outer block wrapper (always available). |
|
|
416
|
+
| `/element` | The EChart element. |
|
|
417
|
+
|
|
418
|
+
No slots defined.
|