@orbcharts/presets-basic 3.0.0-alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +201 -0
- package/dist/orbcharts-presets-basic.es.js +347 -0
- package/dist/orbcharts-presets-basic.umd.js +1 -0
- package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +3 -0
- package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +3 -0
- package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +3 -0
- package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +3 -0
- package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +3 -0
- package/dist/src/chartParamsFiles/index.d.ts +5 -0
- package/dist/src/createPreset.d.ts +9 -0
- package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +3 -0
- package/dist/src/gridDataFormatterFiles/index.d.ts +1 -0
- package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +2 -0
- package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +2 -0
- package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +2 -0
- package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +1 -0
- package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +4 -0
- package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +1 -0
- package/dist/src/gridPluginParamsFiles/index.d.ts +5 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/multiGridDataFormatterFiles/index.d.ts +1 -0
- package/dist/src/multiGridPluginParamsFiles/index.d.ts +1 -0
- package/dist/src/multiValueDataFormatterFiles/index.d.ts +1 -0
- package/dist/src/multiValuePluginParamsFiles/index.d.ts +1 -0
- package/dist/src/relationshipDataFormatterFiles/index.d.ts +1 -0
- package/dist/src/relationshipPluginParamsFiles/index.d.ts +1 -0
- package/dist/src/seriesDataFormatterFiles/index.d.ts +1 -0
- package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +1 -0
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +4 -0
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +4 -0
- package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +2 -0
- package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +4 -0
- package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +4 -0
- package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +2 -0
- package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +4 -0
- package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +1 -0
- package/dist/src/seriesPluginParamsFiles/index.d.ts +4 -0
- package/dist/src/treeDataFormatterFiles/index.d.ts +1 -0
- package/dist/src/treePluginParamsFiles/index.d.ts +1 -0
- package/dist/src/types.d.ts +39 -0
- package/dist/vite.config.d.ts +2 -0
- package/package.json +43 -0
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +14 -0
- package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +14 -0
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +15 -0
- package/src/chartParamsFiles/CP_LEFT_PADDING.ts +14 -0
- package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +14 -0
- package/src/chartParamsFiles/index.ts +5 -0
- package/src/createPreset.ts +88 -0
- package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +16 -0
- package/src/gridDataFormatterFiles/index.ts +1 -0
- package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +15 -0
- package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +14 -0
- package/src/gridPluginParamsFiles/Bars/index.ts +2 -0
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +14 -0
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +14 -0
- package/src/gridPluginParamsFiles/Dots/index.ts +2 -0
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +14 -0
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +15 -0
- package/src/gridPluginParamsFiles/GridLegend/index.ts +2 -0
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +12 -0
- package/src/gridPluginParamsFiles/GroupAxis/index.ts +1 -0
- package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +13 -0
- package/src/gridPluginParamsFiles/Lines/index.ts +1 -0
- package/src/gridPluginParamsFiles/index.ts +6 -0
- package/src/index.ts +103 -0
- package/src/multiGridDataFormatterFiles/index.ts +1 -0
- package/src/multiGridPluginParamsFiles/index.ts +1 -0
- package/src/multiValueDataFormatterFiles/index.ts +1 -0
- package/src/multiValuePluginParamsFiles/index.ts +1 -0
- package/src/relationshipDataFormatterFiles/index.ts +1 -0
- package/src/relationshipPluginParamsFiles/index.ts +1 -0
- package/src/seriesDataFormatterFiles/index.ts +1 -0
- package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +12 -0
- package/src/seriesPluginParamsFiles/Bubbles/index.ts +1 -0
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +12 -0
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +14 -0
- package/src/seriesPluginParamsFiles/Pie/index.ts +2 -0
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +13 -0
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +13 -0
- package/src/seriesPluginParamsFiles/PieLabels/index.ts +2 -0
- package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +12 -0
- package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +1 -0
- package/src/seriesPluginParamsFiles/index.ts +4 -0
- package/src/treeDataFormatterFiles/index.ts +1 -0
- package/src/treePluginParamsFiles/index.ts +1 -0
- package/src/types.ts +58 -0
- package/tsconfig.json +14 -0
- package/vite.config.js +45 -0
package/LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright 2023 Blue Planet Inc.
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|
@@ -0,0 +1,347 @@
|
|
1
|
+
const T = {
|
2
|
+
id: "CP_BOTTOM_LONG_PADDING",
|
3
|
+
description: "間距下面加長留空",
|
4
|
+
data: {
|
5
|
+
padding: {
|
6
|
+
top: 60,
|
7
|
+
right: 60,
|
8
|
+
bottom: 180,
|
9
|
+
left: 60
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}, I = {
|
13
|
+
id: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
|
14
|
+
description: "間距下面留空及highlight群組",
|
15
|
+
data: {
|
16
|
+
padding: {
|
17
|
+
top: 60,
|
18
|
+
right: 60,
|
19
|
+
bottom: 120,
|
20
|
+
left: 60
|
21
|
+
},
|
22
|
+
highlightTarget: "group"
|
23
|
+
}
|
24
|
+
}, E = {
|
25
|
+
id: "CP_BOTTOM_PADDING",
|
26
|
+
description: "間距下面留空",
|
27
|
+
data: {
|
28
|
+
padding: {
|
29
|
+
top: 60,
|
30
|
+
right: 60,
|
31
|
+
bottom: 120,
|
32
|
+
left: 60
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}, p = {
|
36
|
+
id: "CP_LEFT_PADDING",
|
37
|
+
description: "間距右邊留空",
|
38
|
+
data: {
|
39
|
+
padding: {
|
40
|
+
top: 60,
|
41
|
+
right: 60,
|
42
|
+
bottom: 60,
|
43
|
+
left: 180
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}, O = {
|
47
|
+
id: "CP_RIGHT_PADDING",
|
48
|
+
description: "間距右邊留空",
|
49
|
+
data: {
|
50
|
+
padding: {
|
51
|
+
top: 60,
|
52
|
+
right: 180,
|
53
|
+
bottom: 60,
|
54
|
+
left: 60
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}, g = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
58
|
+
__proto__: null,
|
59
|
+
CP_BOTTOM_LONG_PADDING: T,
|
60
|
+
CP_BOTTOM_PADDING: E,
|
61
|
+
CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT: I,
|
62
|
+
CP_LEFT_PADDING: p,
|
63
|
+
CP_RIGHT_PADDING: O
|
64
|
+
}, Symbol.toStringTag, { value: "Module" })), S = {}, u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
65
|
+
__proto__: null,
|
66
|
+
temp: S
|
67
|
+
}, Symbol.toStringTag, { value: "Module" })), D = {
|
68
|
+
id: "PP_BUBBLES_SCALING_BY_RADIUS",
|
69
|
+
chartType: "series",
|
70
|
+
pluginName: "Bubbles",
|
71
|
+
description: "以半徑尺寸為比例的泡泡圖",
|
72
|
+
data: {
|
73
|
+
bubbleScaleType: "radius"
|
74
|
+
}
|
75
|
+
}, m = {
|
76
|
+
id: "PP_PIE_DONUT",
|
77
|
+
chartType: "series",
|
78
|
+
pluginName: "Pie",
|
79
|
+
description: "甜甜圈圖",
|
80
|
+
data: {
|
81
|
+
innerRadius: 0.5
|
82
|
+
}
|
83
|
+
}, N = {
|
84
|
+
id: "PP_PIE_HALF_DONUT",
|
85
|
+
chartType: "series",
|
86
|
+
pluginName: "Pie",
|
87
|
+
description: "半圓甜甜圈圖",
|
88
|
+
data: {
|
89
|
+
innerRadius: 0.5,
|
90
|
+
startAngle: -Math.PI / 2,
|
91
|
+
endAngle: Math.PI / 2
|
92
|
+
}
|
93
|
+
}, L = {
|
94
|
+
id: "PP_PIE_LABELS_HALF_ANGLE",
|
95
|
+
chartType: "series",
|
96
|
+
pluginName: "PieLabels",
|
97
|
+
description: "半圓甜甜圈資料標籤",
|
98
|
+
data: {
|
99
|
+
startAngle: -Math.PI / 2,
|
100
|
+
endAngle: Math.PI / 2
|
101
|
+
}
|
102
|
+
}, G = {
|
103
|
+
id: "PP_PIE_LABELS_INNER",
|
104
|
+
chartType: "series",
|
105
|
+
pluginName: "PieLabels",
|
106
|
+
description: "圖內資料標籤",
|
107
|
+
data: {
|
108
|
+
labelCentroid: 1.3,
|
109
|
+
labelColorType: "primary"
|
110
|
+
}
|
111
|
+
}, R = {
|
112
|
+
id: "PP_SERIES_LEGEND_BOTTOM",
|
113
|
+
chartType: "series",
|
114
|
+
pluginName: "SeriesLegend",
|
115
|
+
description: "圓型圖例列點",
|
116
|
+
data: {
|
117
|
+
listRectRadius: 7
|
118
|
+
}
|
119
|
+
}, A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
120
|
+
__proto__: null,
|
121
|
+
PP_BUBBLES_SCALING_BY_RADIUS: D,
|
122
|
+
PP_PIE_DONUT: m,
|
123
|
+
PP_PIE_HALF_DONUT: N,
|
124
|
+
PP_PIE_LABELS_HALF_ANGLE: L,
|
125
|
+
PP_PIE_LABELS_INNER: G,
|
126
|
+
PP_SERIES_LEGEND_ROUND: R
|
127
|
+
}, Symbol.toStringTag, { value: "Module" })), B = {
|
128
|
+
id: "DF_BOTTOM_VALUE_AXIS",
|
129
|
+
chartType: "grid",
|
130
|
+
description: "底部橫向資料圖軸",
|
131
|
+
data: {
|
132
|
+
valueAxis: {
|
133
|
+
position: "bottom"
|
134
|
+
},
|
135
|
+
groupAxis: {
|
136
|
+
position: "left"
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}, b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
140
|
+
__proto__: null,
|
141
|
+
DF_BOTTOM_VALUE_AXIS: B
|
142
|
+
}, Symbol.toStringTag, { value: "Module" })), h = {
|
143
|
+
id: "PP_BARS_ROUND",
|
144
|
+
chartType: "grid",
|
145
|
+
pluginName: "Bars",
|
146
|
+
description: "圓角長條圖",
|
147
|
+
data: {
|
148
|
+
barWidth: 0,
|
149
|
+
barPadding: 1,
|
150
|
+
barGroupPadding: 10,
|
151
|
+
barRadius: !0
|
152
|
+
}
|
153
|
+
}, H = {
|
154
|
+
id: "PP_BARS_THIN",
|
155
|
+
chartType: "grid",
|
156
|
+
pluginName: "Bars",
|
157
|
+
description: "圓角長條圖",
|
158
|
+
data: {
|
159
|
+
barWidth: 20,
|
160
|
+
barPadding: 1,
|
161
|
+
barGroupPadding: 10
|
162
|
+
}
|
163
|
+
}, y = {
|
164
|
+
id: "PP_DOTS_ONLY_SHOW_HIGHLIGHTED",
|
165
|
+
chartType: "grid",
|
166
|
+
pluginName: "Dots",
|
167
|
+
description: "顯示highlight圓點",
|
168
|
+
data: {
|
169
|
+
radius: 3,
|
170
|
+
fillColorType: "series",
|
171
|
+
onlyShowHighlighted: !1
|
172
|
+
}
|
173
|
+
}, M = {
|
174
|
+
id: "PP_DOTS_SOLID",
|
175
|
+
chartType: "grid",
|
176
|
+
pluginName: "Dots",
|
177
|
+
description: "實心圓點",
|
178
|
+
data: {
|
179
|
+
radius: 3,
|
180
|
+
fillColorType: "series",
|
181
|
+
onlyShowHighlighted: !1
|
182
|
+
}
|
183
|
+
}, U = {
|
184
|
+
id: "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",
|
185
|
+
chartType: "grid",
|
186
|
+
pluginName: "GridLegend",
|
187
|
+
description: "底部圖例及線條列點",
|
188
|
+
data: {
|
189
|
+
position: "bottom",
|
190
|
+
justify: "center",
|
191
|
+
padding: 14,
|
192
|
+
listRectHeight: 2
|
193
|
+
}
|
194
|
+
}, f = {
|
195
|
+
id: "PP_GRID_LEGEND_BOTTOM",
|
196
|
+
chartType: "grid",
|
197
|
+
pluginName: "GridLegend",
|
198
|
+
description: "底部圖例",
|
199
|
+
data: {
|
200
|
+
position: "bottom",
|
201
|
+
justify: "center",
|
202
|
+
padding: 14
|
203
|
+
}
|
204
|
+
}, F = {
|
205
|
+
id: "PP_GROUP_AXIS_ROTATE_LABEL",
|
206
|
+
chartType: "grid",
|
207
|
+
pluginName: "GroupAxis",
|
208
|
+
description: "群組圖軸標籤文字傾斜",
|
209
|
+
data: {
|
210
|
+
tickTextRotate: 40
|
211
|
+
}
|
212
|
+
}, C = {
|
213
|
+
id: "PP_LINES_CURVE",
|
214
|
+
chartType: "grid",
|
215
|
+
pluginName: "Lines",
|
216
|
+
description: "圓弧折線圖",
|
217
|
+
data: {
|
218
|
+
lineCurve: "curveMonotoneX",
|
219
|
+
lineWidth: 3
|
220
|
+
}
|
221
|
+
}, j = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
222
|
+
__proto__: null,
|
223
|
+
PP_BARS_ROUND: h,
|
224
|
+
PP_BARS_THIN: H,
|
225
|
+
PP_DOTS_ONLY_SHOW_HIGHLIGHTED: y,
|
226
|
+
PP_DOTS_SOLID: M,
|
227
|
+
PP_GRID_LEGEND_BOTTOM: f,
|
228
|
+
PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST: U,
|
229
|
+
PP_GROUP_AXIS_ROTATE_LABEL: F,
|
230
|
+
PP_LINES_CURVE: C
|
231
|
+
}, Symbol.toStringTag, { value: "Module" })), v = {}, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
232
|
+
__proto__: null,
|
233
|
+
temp: v
|
234
|
+
}, Symbol.toStringTag, { value: "Module" })), z = {}, V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
235
|
+
__proto__: null,
|
236
|
+
temp: z
|
237
|
+
}, Symbol.toStringTag, { value: "Module" })), X = {}, $ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
238
|
+
__proto__: null,
|
239
|
+
temp: X
|
240
|
+
}, Symbol.toStringTag, { value: "Module" })), Y = {}, x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
241
|
+
__proto__: null,
|
242
|
+
temp: Y
|
243
|
+
}, Symbol.toStringTag, { value: "Module" })), w = {}, k = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
244
|
+
__proto__: null,
|
245
|
+
temp: w
|
246
|
+
}, Symbol.toStringTag, { value: "Module" })), Z = {}, q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
247
|
+
__proto__: null,
|
248
|
+
temp: Z
|
249
|
+
}, Symbol.toStringTag, { value: "Module" })), J = {}, K = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
250
|
+
__proto__: null,
|
251
|
+
temp: J
|
252
|
+
}, Symbol.toStringTag, { value: "Module" })), Q = {}, tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
253
|
+
__proto__: null,
|
254
|
+
temp: Q
|
255
|
+
}, Symbol.toStringTag, { value: "Module" })), o = {
|
256
|
+
series: u,
|
257
|
+
grid: b,
|
258
|
+
multiGrid: W,
|
259
|
+
multiValue: $,
|
260
|
+
relationship: k,
|
261
|
+
tree: K
|
262
|
+
}, r = {
|
263
|
+
series: A,
|
264
|
+
grid: j,
|
265
|
+
multiGrid: V,
|
266
|
+
multiValue: x,
|
267
|
+
relationship: q,
|
268
|
+
tree: tt
|
269
|
+
}, s = (t, _) => {
|
270
|
+
const n = _.chartParamsId ? g[_.chartParamsId].data : void 0, l = o[t][_.dataFormatterId] ? o[t][_.dataFormatterId].data : void 0, d = _.allPluginParamsIds ? _.allPluginParamsIds.reduce((P, a) => {
|
271
|
+
if (r[t][a]) {
|
272
|
+
const c = r[t][a].pluginName;
|
273
|
+
P[c] = r[t][a].data;
|
274
|
+
}
|
275
|
+
return P;
|
276
|
+
}, {}) : void 0;
|
277
|
+
return {
|
278
|
+
chartParams: n,
|
279
|
+
dataFormatter: l,
|
280
|
+
allPluginParams: d
|
281
|
+
};
|
282
|
+
}, i = (t) => s("series", t), e = (t) => s("grid", t), _t = i({
|
283
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
284
|
+
allPluginParamsIds: [],
|
285
|
+
description: "基本Series參數"
|
286
|
+
}), it = i({
|
287
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
288
|
+
allPluginParamsIds: ["PP_BUBBLES_SCALING_BY_RADIUS", "PP_SERIES_LEGEND_ROUND"],
|
289
|
+
description: "以半徑尺寸為比例的泡泡圖"
|
290
|
+
}), at = i({
|
291
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
292
|
+
allPluginParamsIds: ["PP_PIE_LABELS_INNER", "PP_SERIES_LEGEND_ROUND"],
|
293
|
+
description: "圓餅圖及內部資料標籤"
|
294
|
+
}), rt = i({
|
295
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
296
|
+
allPluginParamsIds: ["PP_PIE_DONUT", "PP_SERIES_LEGEND_ROUND"],
|
297
|
+
description: "甜甜圈圖"
|
298
|
+
}), Pt = i({
|
299
|
+
// chartParamsId: 'CP_RIGHT_PADDING',
|
300
|
+
allPluginParamsIds: ["PP_PIE_HALF_DONUT", "PP_PIE_LABELS_HALF_ANGLE", "PP_SERIES_LEGEND_ROUND"],
|
301
|
+
description: "半圓甜甜圈圖"
|
302
|
+
}), ot = e({
|
303
|
+
chartParamsId: "CP_BOTTOM_LONG_PADDING",
|
304
|
+
allPluginParamsIds: ["PP_GRID_LEGEND_BOTTOM"],
|
305
|
+
description: "基本Grid參數"
|
306
|
+
}), st = e({
|
307
|
+
chartParamsId: "CP_BOTTOM_PADDING",
|
308
|
+
allPluginParamsIds: ["PP_GROUP_AXIS_ROTATE_LABEL", "PP_GRID_LEGEND_BOTTOM"],
|
309
|
+
description: "傾斜標籤"
|
310
|
+
}), et = e({
|
311
|
+
chartParamsId: "CP_BOTTOM_PADDING",
|
312
|
+
allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
|
313
|
+
description: "圓角長條圖"
|
314
|
+
});
|
315
|
+
console.log(et);
|
316
|
+
const nt = e({
|
317
|
+
chartParamsId: "CP_BOTTOM_PADDING",
|
318
|
+
dataFormatterId: "DF_BOTTOM_VALUE_AXIS",
|
319
|
+
allPluginParamsIds: ["PP_BARS_ROUND", "PP_GRID_LEGEND_BOTTOM"],
|
320
|
+
description: "橫向圓角長條圖"
|
321
|
+
}), lt = e({
|
322
|
+
chartParamsId: "CP_BOTTOM_PADDING",
|
323
|
+
allPluginParamsIds: ["PP_BARS_THIN", "PP_GRID_LEGEND_BOTTOM"],
|
324
|
+
description: "細長條圖"
|
325
|
+
}), dt = e({
|
326
|
+
chartParamsId: "CP_BOTTOM_PADDING",
|
327
|
+
allPluginParamsIds: ["PP_LINES_CURVE", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
|
328
|
+
description: "弧線折線圖"
|
329
|
+
}), ct = e({
|
330
|
+
chartParamsId: "CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",
|
331
|
+
allPluginParamsIds: ["PP_DOTS_ONLY_SHOW_HIGHLIGHTED", "PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],
|
332
|
+
description: "折線圖及Highlight Group圓點"
|
333
|
+
});
|
334
|
+
export {
|
335
|
+
nt as PRESET_BARS_HORIZONTAL_AND_ROUND,
|
336
|
+
et as PRESET_BARS_ROUND,
|
337
|
+
lt as PRESET_BARS_THIN,
|
338
|
+
it as PRESET_BUBBLES_SCALING_BY_RADIUS,
|
339
|
+
ot as PRESET_GRID_BASIC,
|
340
|
+
st as PRESET_GRID_ROTATE_AXIS_LABEL,
|
341
|
+
dt as PRESET_LINES_CURVE,
|
342
|
+
ct as PRESET_LINES_HIGHLIGHT_GROUP_DOTS,
|
343
|
+
rt as PRESET_PIE_DONUT,
|
344
|
+
Pt as PRESET_PIE_HALF_DONUT,
|
345
|
+
at as PRESET_PIE_WITH_INNER_LABELS,
|
346
|
+
_t as PRESET_SERIES_BASIC
|
347
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(_,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(_=typeof globalThis<"u"?globalThis:_||self,a(_["orbcharts-presets-basic"]={}))})(this,function(_){"use strict";const T=Object.freeze(Object.defineProperty({__proto__:null,CP_BOTTOM_LONG_PADDING:{id:"CP_BOTTOM_LONG_PADDING",description:"間距下面加長留空",data:{padding:{top:60,right:60,bottom:180,left:60}}},CP_BOTTOM_PADDING:{id:"CP_BOTTOM_PADDING",description:"間距下面留空",data:{padding:{top:60,right:60,bottom:120,left:60}}},CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT:{id:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",description:"間距下面留空及highlight群組",data:{padding:{top:60,right:60,bottom:120,left:60},highlightTarget:"group"}},CP_LEFT_PADDING:{id:"CP_LEFT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:60,bottom:60,left:180}}},CP_RIGHT_PADDING:{id:"CP_RIGHT_PADDING",description:"間距右邊留空",data:{padding:{top:60,right:180,bottom:60,left:60}}}},Symbol.toStringTag,{value:"Module"})),E=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),I={id:"PP_BUBBLES_SCALING_BY_RADIUS",chartType:"series",pluginName:"Bubbles",description:"以半徑尺寸為比例的泡泡圖",data:{bubbleScaleType:"radius"}},O={id:"PP_PIE_DONUT",chartType:"series",pluginName:"Pie",description:"甜甜圈圖",data:{innerRadius:.5}},c={id:"PP_PIE_HALF_DONUT",chartType:"series",pluginName:"Pie",description:"半圓甜甜圈圖",data:{innerRadius:.5,startAngle:-Math.PI/2,endAngle:Math.PI/2}},S={id:"PP_PIE_LABELS_HALF_ANGLE",chartType:"series",pluginName:"PieLabels",description:"半圓甜甜圈資料標籤",data:{startAngle:-Math.PI/2,endAngle:Math.PI/2}},D=Object.freeze(Object.defineProperty({__proto__:null,PP_BUBBLES_SCALING_BY_RADIUS:I,PP_PIE_DONUT:O,PP_PIE_HALF_DONUT:c,PP_PIE_LABELS_HALF_ANGLE:S,PP_PIE_LABELS_INNER:{id:"PP_PIE_LABELS_INNER",chartType:"series",pluginName:"PieLabels",description:"圖內資料標籤",data:{labelCentroid:1.3,labelColorType:"primary"}},PP_SERIES_LEGEND_ROUND:{id:"PP_SERIES_LEGEND_BOTTOM",chartType:"series",pluginName:"SeriesLegend",description:"圓型圖例列點",data:{listRectRadius:7}}},Symbol.toStringTag,{value:"Module"})),p=Object.freeze(Object.defineProperty({__proto__:null,DF_BOTTOM_VALUE_AXIS:{id:"DF_BOTTOM_VALUE_AXIS",chartType:"grid",description:"底部橫向資料圖軸",data:{valueAxis:{position:"bottom"},groupAxis:{position:"left"}}}},Symbol.toStringTag,{value:"Module"})),N=Object.freeze(Object.defineProperty({__proto__:null,PP_BARS_ROUND:{id:"PP_BARS_ROUND",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:0,barPadding:1,barGroupPadding:10,barRadius:!0}},PP_BARS_THIN:{id:"PP_BARS_THIN",chartType:"grid",pluginName:"Bars",description:"圓角長條圖",data:{barWidth:20,barPadding:1,barGroupPadding:10}},PP_DOTS_ONLY_SHOW_HIGHLIGHTED:{id:"PP_DOTS_ONLY_SHOW_HIGHLIGHTED",chartType:"grid",pluginName:"Dots",description:"顯示highlight圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_DOTS_SOLID:{id:"PP_DOTS_SOLID",chartType:"grid",pluginName:"Dots",description:"實心圓點",data:{radius:3,fillColorType:"series",onlyShowHighlighted:!1}},PP_GRID_LEGEND_BOTTOM:{id:"PP_GRID_LEGEND_BOTTOM",chartType:"grid",pluginName:"GridLegend",description:"底部圖例",data:{position:"bottom",justify:"center",padding:14}},PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST:{id:"PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST",chartType:"grid",pluginName:"GridLegend",description:"底部圖例及線條列點",data:{position:"bottom",justify:"center",padding:14,listRectHeight:2}},PP_GROUP_AXIS_ROTATE_LABEL:{id:"PP_GROUP_AXIS_ROTATE_LABEL",chartType:"grid",pluginName:"GroupAxis",description:"群組圖軸標籤文字傾斜",data:{tickTextRotate:40}},PP_LINES_CURVE:{id:"PP_LINES_CURVE",chartType:"grid",pluginName:"Lines",description:"圓弧折線圖",data:{lineCurve:"curveMonotoneX",lineWidth:3}}},Symbol.toStringTag,{value:"Module"})),L=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),R=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),u=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),g=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),m=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),A=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),B=Object.freeze(Object.defineProperty({__proto__:null,temp:{}},Symbol.toStringTag,{value:"Module"})),n={series:E,grid:p,multiGrid:L,multiValue:u,relationship:m,tree:A},r={series:D,grid:N,multiGrid:R,multiValue:g,relationship:G,tree:B},s=(t,P)=>{const W=P.chartParamsId?T[P.chartParamsId].data:void 0,$=n[t][P.dataFormatterId]?n[t][P.dataFormatterId].data:void 0,V=P.allPluginParamsIds?P.allPluginParamsIds.reduce((l,o)=>{if(r[t][o]){const z=r[t][o].pluginName;l[z]=r[t][o].data}return l},{}):void 0;return{chartParams:W,dataFormatter:$,allPluginParams:V}},i=t=>s("series",t),e=t=>s("grid",t),b=i({allPluginParamsIds:[],description:"基本Series參數"}),H=i({allPluginParamsIds:["PP_BUBBLES_SCALING_BY_RADIUS","PP_SERIES_LEGEND_ROUND"],description:"以半徑尺寸為比例的泡泡圖"}),h=i({allPluginParamsIds:["PP_PIE_LABELS_INNER","PP_SERIES_LEGEND_ROUND"],description:"圓餅圖及內部資料標籤"}),M=i({allPluginParamsIds:["PP_PIE_DONUT","PP_SERIES_LEGEND_ROUND"],description:"甜甜圈圖"}),U=i({allPluginParamsIds:["PP_PIE_HALF_DONUT","PP_PIE_LABELS_HALF_ANGLE","PP_SERIES_LEGEND_ROUND"],description:"半圓甜甜圈圖"}),y=e({chartParamsId:"CP_BOTTOM_LONG_PADDING",allPluginParamsIds:["PP_GRID_LEGEND_BOTTOM"],description:"基本Grid參數"}),f=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_GROUP_AXIS_ROTATE_LABEL","PP_GRID_LEGEND_BOTTOM"],description:"傾斜標籤"}),d=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"圓角長條圖"});console.log(d);const C=e({chartParamsId:"CP_BOTTOM_PADDING",dataFormatterId:"DF_BOTTOM_VALUE_AXIS",allPluginParamsIds:["PP_BARS_ROUND","PP_GRID_LEGEND_BOTTOM"],description:"橫向圓角長條圖"}),F=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_BARS_THIN","PP_GRID_LEGEND_BOTTOM"],description:"細長條圖"}),j=e({chartParamsId:"CP_BOTTOM_PADDING",allPluginParamsIds:["PP_LINES_CURVE","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"弧線折線圖"}),v=e({chartParamsId:"CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT",allPluginParamsIds:["PP_DOTS_ONLY_SHOW_HIGHLIGHTED","PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST"],description:"折線圖及Highlight Group圓點"});_.PRESET_BARS_HORIZONTAL_AND_ROUND=C,_.PRESET_BARS_ROUND=d,_.PRESET_BARS_THIN=F,_.PRESET_BUBBLES_SCALING_BY_RADIUS=H,_.PRESET_GRID_BASIC=y,_.PRESET_GRID_ROTATE_AXIS_LABEL=f,_.PRESET_LINES_CURVE=j,_.PRESET_LINES_HIGHLIGHT_GROUP_DOTS=v,_.PRESET_PIE_DONUT=M,_.PRESET_PIE_HALF_DONUT=U,_.PRESET_PIE_WITH_INNER_LABELS=h,_.PRESET_SERIES_BASIC=b,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"})});
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export { CP_BOTTOM_LONG_PADDING } from './CP_BOTTOM_LONG_PADDING';
|
2
|
+
export { CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT } from './CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT';
|
3
|
+
export { CP_BOTTOM_PADDING } from './CP_BOTTOM_PADDING';
|
4
|
+
export { CP_LEFT_PADDING } from './CP_LEFT_PADDING';
|
5
|
+
export { CP_RIGHT_PADDING } from './CP_RIGHT_PADDING';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { PresetPartial } from '@orbcharts/core';
|
2
|
+
import { PresetFile } from './types';
|
3
|
+
|
4
|
+
export declare const createSeriesPreset: (presetFile: PresetFile<"series">) => PresetPartial<"series">;
|
5
|
+
export declare const createGridPreset: (presetFile: PresetFile<"grid">) => PresetPartial<"grid">;
|
6
|
+
export declare const createMultiGridPreset: (presetFile: PresetFile<"multiGrid">) => PresetPartial<"multiGrid">;
|
7
|
+
export declare const createMultiValuePreset: (presetFile: PresetFile<"multiValue">) => PresetPartial<"multiValue">;
|
8
|
+
export declare const createRelationshipPreset: (presetFile: PresetFile<"relationship">) => PresetPartial<"relationship">;
|
9
|
+
export declare const createTreePreset: (presetFile: PresetFile<"tree">) => PresetPartial<"tree">;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { DF_BOTTOM_VALUE_AXIS } from './DF_BOTTOM_VALUE_AXIS';
|