@orbcharts/presets-basic 3.0.0-beta.2 → 3.0.0-beta.4
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 +200 -200
- package/dist/orbcharts-presets-basic.es.js +85 -25
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/multiValue/PRESET_MULTI_VALUE_BASIC.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.d.ts +4 -0
- package/dist/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/multiValue/index.d.ts +3 -0
- package/dist/src/params.d.ts +2 -1
- package/dist/src/types.d.ts +29 -1
- package/lib/core-types.ts +7 -7
- package/lib/plugins-basic-types.ts +6 -6
- package/package.json +42 -42
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +56 -56
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +52 -52
- package/src/grid/PRESET_BARS_ROUND.ts +39 -39
- package/src/grid/PRESET_BARS_THIN.ts +36 -36
- package/src/grid/PRESET_GRID_BASIC.ts +27 -27
- package/src/grid/PRESET_GRID_HORIZONTAL.ts +44 -44
- package/src/grid/PRESET_GRID_PN_SCALE.ts +35 -35
- package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +35 -35
- package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +40 -40
- package/src/grid/PRESET_LINES_BASIC.ts +35 -35
- package/src/grid/PRESET_LINES_CURVE.ts +38 -38
- package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +37 -37
- package/src/grid/PRESET_LINES_HORIZONTAL.ts +51 -51
- package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +37 -37
- package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +40 -40
- package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +39 -39
- package/src/grid/PRESET_LINE_AREAS_BASIC.ts +43 -43
- package/src/grid/PRESET_LINE_AREAS_CURVE.ts +48 -48
- package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +47 -47
- package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +47 -47
- package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +45 -45
- package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +48 -48
- package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +50 -50
- package/src/grid/index.ts +22 -22
- package/src/index.ts +5 -4
- package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +38 -38
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +86 -86
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +58 -58
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +60 -60
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +86 -86
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +104 -104
- package/src/multiGrid/index.ts +6 -6
- package/src/multiValue/PRESET_MULTI_VALUE_BASIC.ts +23 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_LINEAR_OPACITY.ts +26 -0
- package/src/multiValue/PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS.ts +26 -0
- package/src/multiValue/index.ts +3 -0
- package/src/params.ts +71 -60
- package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +18 -18
- package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -29
- package/src/series/PRESET_PIE_BASIC.ts +18 -18
- package/src/series/PRESET_PIE_DONUT.ts +23 -23
- package/src/series/PRESET_PIE_HALF_DONUT.ts +36 -36
- package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +24 -24
- package/src/series/PRESET_ROSE_BASIC.ts +19 -19
- package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +24 -24
- package/src/series/PRESET_SERIES_BASIC.ts +16 -16
- package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +17 -17
- package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +18 -18
- package/src/series/PRESET_SERIES_SUM_SERIES.ts +18 -18
- package/src/series/index.ts +13 -13
- package/src/tree/PRESET_TREE_BASIC.ts +27 -27
- package/src/types.ts +321 -267
- package/tsconfig.base.json +13 -13
- package/tsconfig.json +2 -2
- package/vite.config.js +22 -22
package/LICENSE
CHANGED
@@ -1,201 +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
|
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
201
|
limitations under the License.
|
@@ -335,7 +335,7 @@ const _ = {
|
|
335
335
|
listRectRadius: 7
|
336
336
|
}
|
337
337
|
}
|
338
|
-
},
|
338
|
+
}, m = {
|
339
339
|
name: "PRESET_BARS_THIN",
|
340
340
|
description: "細長條圖",
|
341
341
|
chartParams: {
|
@@ -363,7 +363,7 @@ const _ = {
|
|
363
363
|
padding: 14
|
364
364
|
}
|
365
365
|
}
|
366
|
-
},
|
366
|
+
}, A = {
|
367
367
|
name: "PRESET_GRID_BASIC",
|
368
368
|
description: "基本Grid參數",
|
369
369
|
chartParams: {
|
@@ -422,7 +422,7 @@ const _ = {
|
|
422
422
|
padding: 14
|
423
423
|
}
|
424
424
|
}
|
425
|
-
},
|
425
|
+
}, T = {
|
426
426
|
name: "PRESET_GRID_PN_SCALE",
|
427
427
|
description: "正負值分向圖",
|
428
428
|
chartParams: {
|
@@ -451,7 +451,7 @@ const _ = {
|
|
451
451
|
padding: 14
|
452
452
|
}
|
453
453
|
}
|
454
|
-
},
|
454
|
+
}, I = {
|
455
455
|
name: "PRESET_GRID_ROTATE_AXIS_LABEL",
|
456
456
|
description: "傾斜標籤",
|
457
457
|
chartParams: {
|
@@ -665,7 +665,7 @@ const _ = {
|
|
665
665
|
listRectHeight: 2
|
666
666
|
}
|
667
667
|
}
|
668
|
-
},
|
668
|
+
}, B = {
|
669
669
|
name: "PRESET_LINE_AREAS_ROTATE_AXIS_LABEL",
|
670
670
|
description: "傾斜標籤",
|
671
671
|
chartParams: {
|
@@ -705,7 +705,7 @@ const _ = {
|
|
705
705
|
listRectHeight: 2
|
706
706
|
}
|
707
707
|
}
|
708
|
-
},
|
708
|
+
}, M = {
|
709
709
|
name: "PRESET_LINE_AREAS_SEPARATE_SERIES",
|
710
710
|
description: "LineAreas 分開顯示Series",
|
711
711
|
chartParams: {
|
@@ -747,7 +747,7 @@ const _ = {
|
|
747
747
|
listRectHeight: 2
|
748
748
|
}
|
749
749
|
}
|
750
|
-
},
|
750
|
+
}, N = {
|
751
751
|
name: "PRESET_LINES_BASIC",
|
752
752
|
description: "基本Lines參數",
|
753
753
|
chartParams: {
|
@@ -774,7 +774,7 @@ const _ = {
|
|
774
774
|
listRectHeight: 2
|
775
775
|
}
|
776
776
|
}
|
777
|
-
},
|
777
|
+
}, D = {
|
778
778
|
name: "PRESET_LINES_CURVE",
|
779
779
|
description: "弧線折線圖",
|
780
780
|
chartParams: {
|
@@ -939,7 +939,7 @@ const _ = {
|
|
939
939
|
listRectHeight: 2
|
940
940
|
}
|
941
941
|
}
|
942
|
-
},
|
942
|
+
}, C = {
|
943
943
|
name: "PRESET_MULTI_GRID_BASIC",
|
944
944
|
description: "基本MultiGrid參數",
|
945
945
|
chartParams: {
|
@@ -967,7 +967,7 @@ const _ = {
|
|
967
967
|
]
|
968
968
|
}
|
969
969
|
}
|
970
|
-
},
|
970
|
+
}, f = {
|
971
971
|
name: "PRESET_MULTI_GRID_DIVERGING",
|
972
972
|
description: "雙向折線圖",
|
973
973
|
chartParams: {
|
@@ -1047,7 +1047,7 @@ const _ = {
|
|
1047
1047
|
padding: 14
|
1048
1048
|
}
|
1049
1049
|
}
|
1050
|
-
},
|
1050
|
+
}, V = {
|
1051
1051
|
name: "PRESET_MULTI_GRID_ROUND_STYLE",
|
1052
1052
|
description: "MultiGrid圓弧風格",
|
1053
1053
|
chartParams: {
|
@@ -1094,7 +1094,7 @@ const _ = {
|
|
1094
1094
|
OverlappingValueAxes: {},
|
1095
1095
|
OverlappingValueStackAxes: {}
|
1096
1096
|
}
|
1097
|
-
},
|
1097
|
+
}, F = {
|
1098
1098
|
name: "PRESET_MULTI_GRID_SEPARATE_GRID",
|
1099
1099
|
description: "2組Grid圖表",
|
1100
1100
|
chartParams: {
|
@@ -1320,6 +1320,63 @@ const _ = {
|
|
1320
1320
|
}
|
1321
1321
|
}
|
1322
1322
|
}, X = {
|
1323
|
+
name: "PRESET_MULTI_VALUE_BASIC",
|
1324
|
+
description: "基本MultiValue參數",
|
1325
|
+
chartParams: {
|
1326
|
+
padding: {
|
1327
|
+
top: 60,
|
1328
|
+
right: 60,
|
1329
|
+
bottom: 120,
|
1330
|
+
left: 60
|
1331
|
+
}
|
1332
|
+
},
|
1333
|
+
allPluginParams: {
|
1334
|
+
MultiValueLegend: {
|
1335
|
+
placement: "bottom",
|
1336
|
+
padding: 14
|
1337
|
+
}
|
1338
|
+
}
|
1339
|
+
}, Y = {
|
1340
|
+
name: "PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS",
|
1341
|
+
description: "ScatterBubbles以半徑尺寸為比例",
|
1342
|
+
chartParams: {
|
1343
|
+
padding: {
|
1344
|
+
top: 60,
|
1345
|
+
right: 60,
|
1346
|
+
bottom: 120,
|
1347
|
+
left: 60
|
1348
|
+
}
|
1349
|
+
},
|
1350
|
+
allPluginParams: {
|
1351
|
+
MultiValueLegend: {
|
1352
|
+
placement: "bottom",
|
1353
|
+
padding: 14
|
1354
|
+
},
|
1355
|
+
ScatterBubbles: {
|
1356
|
+
arcScaleType: "radius"
|
1357
|
+
}
|
1358
|
+
}
|
1359
|
+
}, Z = {
|
1360
|
+
name: "PRESET_SCATTER_BUBBLES_LINEAR_OPACITY",
|
1361
|
+
description: "ScatterBubbles漸變透明度",
|
1362
|
+
chartParams: {
|
1363
|
+
padding: {
|
1364
|
+
top: 60,
|
1365
|
+
right: 60,
|
1366
|
+
bottom: 120,
|
1367
|
+
left: 60
|
1368
|
+
}
|
1369
|
+
},
|
1370
|
+
allPluginParams: {
|
1371
|
+
MultiValueLegend: {
|
1372
|
+
placement: "bottom",
|
1373
|
+
padding: 14
|
1374
|
+
},
|
1375
|
+
ScatterBubbles: {
|
1376
|
+
valueLinearOpacity: [0.6, 0.95]
|
1377
|
+
}
|
1378
|
+
}
|
1379
|
+
}, y = {
|
1323
1380
|
name: "PRESET_TREE_BASIC",
|
1324
1381
|
description: "基本Tree參數",
|
1325
1382
|
chartParams: {
|
@@ -1345,16 +1402,16 @@ export {
|
|
1345
1402
|
_ as PRESET_BARS_HORIZONTAL_AND_ROUND,
|
1346
1403
|
P as PRESET_BARS_HORIZONTAL_AND_THIN,
|
1347
1404
|
p as PRESET_BARS_ROUND,
|
1348
|
-
|
1405
|
+
m as PRESET_BARS_THIN,
|
1349
1406
|
u as PRESET_BUBBLES_SCALING_BY_RADIUS,
|
1350
1407
|
S as PRESET_BUBBLES_SEPARATE_SERIES,
|
1351
|
-
|
1408
|
+
A as PRESET_GRID_BASIC,
|
1352
1409
|
c as PRESET_GRID_HORIZONTAL,
|
1353
|
-
|
1354
|
-
|
1410
|
+
T as PRESET_GRID_PN_SCALE,
|
1411
|
+
I as PRESET_GRID_ROTATE_AXIS_LABEL,
|
1355
1412
|
L as PRESET_GRID_SEPARATE_SERIES,
|
1356
|
-
|
1357
|
-
|
1413
|
+
N as PRESET_LINES_BASIC,
|
1414
|
+
D as PRESET_LINES_CURVE,
|
1358
1415
|
v as PRESET_LINES_HORIZONTAL,
|
1359
1416
|
O as PRESET_LINES_LOOSE_TICKS,
|
1360
1417
|
H as PRESET_LINES_ROTATE_AXIS_LABEL,
|
@@ -1363,23 +1420,26 @@ export {
|
|
1363
1420
|
x as PRESET_LINE_AREAS_CURVE,
|
1364
1421
|
b as PRESET_LINE_AREAS_HORIZONTAL,
|
1365
1422
|
G as PRESET_LINE_AREAS_LOOSE_TICKS,
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1423
|
+
B as PRESET_LINE_AREAS_ROTATE_AXIS_LABEL,
|
1424
|
+
M as PRESET_LINE_AREAS_SEPARATE_SERIES,
|
1425
|
+
C as PRESET_MULTI_GRID_BASIC,
|
1426
|
+
f as PRESET_MULTI_GRID_DIVERGING,
|
1427
|
+
V as PRESET_MULTI_GRID_ROUND_STYLE,
|
1428
|
+
F as PRESET_MULTI_GRID_SEPARATE_GRID,
|
1372
1429
|
W as PRESET_MULTI_LINES_SEPARATE_GRID,
|
1373
1430
|
k as PRESET_MULTI_LINE_AREAS_SEPARATE_GRID,
|
1431
|
+
X as PRESET_MULTI_VALUE_BASIC,
|
1374
1432
|
i as PRESET_PIE_BASIC,
|
1375
1433
|
r as PRESET_PIE_DONUT,
|
1376
1434
|
s as PRESET_PIE_HALF_DONUT,
|
1377
1435
|
l as PRESET_PIE_WITH_INNER_LABELS,
|
1378
1436
|
o as PRESET_ROSE_BASIC,
|
1379
1437
|
n as PRESET_ROSE_SCALING_BY_RADIUS,
|
1438
|
+
Z as PRESET_SCATTER_BUBBLES_LINEAR_OPACITY,
|
1439
|
+
Y as PRESET_SCATTER_BUBBLES_SCALING_BY_RADIUS,
|
1380
1440
|
R as PRESET_SERIES_BASIC,
|
1381
1441
|
g as PRESET_SERIES_SEPARATE_SERIES,
|
1382
1442
|
d as PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES,
|
1383
1443
|
E as PRESET_SERIES_SUM_SERIES,
|
1384
|
-
|
1444
|
+
y as PRESET_TREE_BASIC
|
1385
1445
|
};
|