@carbon/charts-angular 1.9.0-rc.5 → 1.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -9
- package/LICENSE.md +201 -0
- package/README.md +10 -18
- package/esm2022/lib/charts/alluvial-chart.component.mjs +5 -6
- package/esm2022/lib/charts/area-chart-stacked.component.mjs +5 -6
- package/esm2022/lib/charts/area-chart.component.mjs +5 -6
- package/esm2022/lib/charts/bar-chart-grouped.component.mjs +5 -6
- package/esm2022/lib/charts/bar-chart-simple.component.mjs +5 -6
- package/esm2022/lib/charts/bar-chart-stacked.component.mjs +5 -6
- package/esm2022/lib/charts/base-chart.component.mjs +5 -6
- package/esm2022/lib/charts/boxplot-chart.component.mjs +5 -6
- package/esm2022/lib/charts/bubble-chart.component.mjs +5 -6
- package/esm2022/lib/charts/bullet-chart.component.mjs +5 -6
- package/esm2022/lib/charts/charts.module.mjs +6 -7
- package/esm2022/lib/charts/choropleth.component.mjs +5 -6
- package/esm2022/lib/charts/circle-pack-chart.component.mjs +5 -6
- package/esm2022/lib/charts/combo-chart.component.mjs +5 -6
- package/esm2022/lib/charts/donut-chart.component.mjs +5 -6
- package/esm2022/lib/charts/gauge-chart.component.mjs +5 -6
- package/esm2022/lib/charts/heatmap-chart.component.mjs +5 -6
- package/esm2022/lib/charts/histogram-chart.component.mjs +5 -6
- package/esm2022/lib/charts/line-chart.component.mjs +5 -6
- package/esm2022/lib/charts/lollipop-chart.component.mjs +5 -6
- package/esm2022/lib/charts/meter-chart.component.mjs +5 -6
- package/esm2022/lib/charts/pie-chart.component.mjs +5 -6
- package/esm2022/lib/charts/radar-chart.component.mjs +5 -6
- package/esm2022/lib/charts/scatter-chart.component.mjs +5 -6
- package/esm2022/lib/charts/tree-chart.component.mjs +5 -6
- package/esm2022/lib/charts/treemap-chart.component.mjs +5 -6
- package/esm2022/lib/charts/wordcloud-chart.component.mjs +5 -6
- package/esm2022/lib/diagrams/edges/edge.component.mjs +5 -6
- package/esm2022/lib/diagrams/edges/edge.module.mjs +6 -7
- package/esm2022/lib/diagrams/edges/marker/marker.component.mjs +29 -36
- package/esm2022/lib/diagrams/edges/marker/marker.module.mjs +6 -7
- package/esm2022/lib/diagrams/nodes/cards/card-node-column.component.mjs +5 -6
- package/esm2022/lib/diagrams/nodes/cards/card-node-label.component.mjs +5 -6
- package/esm2022/lib/diagrams/nodes/cards/card-node-subtitle.component.mjs +5 -6
- package/esm2022/lib/diagrams/nodes/cards/card-node-title.component.mjs +5 -6
- package/esm2022/lib/diagrams/nodes/cards/card-node.component.mjs +5 -6
- package/esm2022/lib/diagrams/nodes/cards/card-node.module.mjs +6 -7
- package/esm2022/lib/diagrams/nodes/shape/shape-node.component.mjs +5 -6
- package/esm2022/lib/diagrams/nodes/shape/shape-node.module.mjs +6 -7
- package/fesm2022/carbon-charts-angular.mjs +140 -140
- package/fesm2022/carbon-charts-angular.mjs.map +1 -1
- package/package.json +9 -10
- package/styles.css +0 -21919
- package/styles.css.map +1 -1
- package/styles.min.css +1 -1
- package/styles.min.css.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,37 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See
|
|
4
4
|
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.10.1](https://github.com/carbon-design-system/carbon-charts/compare/v1.10.0...v1.10.1) (2023-06-26)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **package.json:** missing devDependencies for storybook
|
|
11
|
+
([#1580](https://github.com/carbon-design-system/carbon-charts/issues/1580))
|
|
12
|
+
([e208fcc](https://github.com/carbon-design-system/carbon-charts/commit/e208fcc77f2adee30800356f974e7f6d0a5103e1))
|
|
13
|
+
|
|
14
|
+
# Change Log
|
|
15
|
+
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
|
+
|
|
19
|
+
# [1.10.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.9.0...v1.10.0) (2023-06-26)
|
|
20
|
+
|
|
21
|
+
**Note:** Version bump only for package @carbon/charts-angular
|
|
22
|
+
|
|
23
|
+
# Change Log
|
|
24
|
+
|
|
25
|
+
All notable changes to this project will be documented in this file. See
|
|
26
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
27
|
+
|
|
28
|
+
# [1.9.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.8.0...v1.9.0) (2023-06-26)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @carbon/charts-angular
|
|
31
|
+
|
|
32
|
+
# Change Log
|
|
33
|
+
|
|
34
|
+
All notable changes to this project will be documented in this file. See
|
|
35
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
36
|
+
|
|
6
37
|
# [1.8.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.7.6...v1.8.0) (2023-06-03)
|
|
7
38
|
|
|
8
39
|
### Features
|
|
@@ -131,8 +162,7 @@ All notable changes to this project will be documented in this file. See
|
|
|
131
162
|
- **angular:** add angular 14 support
|
|
132
163
|
([#1450](https://github.com/carbon-design-system/carbon-charts/issues/1450))
|
|
133
164
|
([5e8f4ce](https://github.com/carbon-design-system/carbon-charts/commit/5e8f4ceb1fa6b1411dbc59fef9d0f214e564bfeb)),
|
|
134
|
-
closes
|
|
135
|
-
[#1445](https://github.com/carbon-design-system/carbon-charts/issues/1445)
|
|
165
|
+
closes [#1445](https://github.com/carbon-design-system/carbon-charts/issues/1445)
|
|
136
166
|
|
|
137
167
|
## [1.5.8](https://github.com/carbon-design-system/carbon-charts/compare/v1.5.7...v1.5.8) (2022-09-26)
|
|
138
168
|
|
|
@@ -473,8 +503,7 @@ All notable changes to this project will be documented in this file. See
|
|
|
473
503
|
- **core:** create alluvial chart
|
|
474
504
|
([#1132](https://github.com/carbon-design-system/carbon-charts/issues/1132))
|
|
475
505
|
([08fa194](https://github.com/carbon-design-system/carbon-charts/commit/08fa194f1c59ab2110c0d221886fc0174c936194)),
|
|
476
|
-
closes
|
|
477
|
-
[#871](https://github.com/carbon-design-system/carbon-charts/issues/871)
|
|
506
|
+
closes [#871](https://github.com/carbon-design-system/carbon-charts/issues/871)
|
|
478
507
|
|
|
479
508
|
## [0.48.4](https://github.com/carbon-design-system/carbon-charts/compare/v0.48.3...v0.48.4) (2021-09-13)
|
|
480
509
|
|
|
@@ -1514,9 +1543,8 @@ All notable changes to this project will be documented in this file. See
|
|
|
1514
1543
|
|
|
1515
1544
|
### Bug Fixes
|
|
1516
1545
|
|
|
1517
|
-
- **core, react, angular, vue:** default width & height to 100%, and call
|
|
1518
|
-
|
|
1519
|
-
([db251b4](https://github.com/carbon-design-system/carbon-charts/commit/db251b4))
|
|
1546
|
+
- **core, react, angular, vue:** default width & height to 100%, and call setOptions on option
|
|
1547
|
+
change ([db251b4](https://github.com/carbon-design-system/carbon-charts/commit/db251b4))
|
|
1520
1548
|
|
|
1521
1549
|
## [0.16.23](https://github.com/carbon-design-system/carbon-charts/compare/v0.16.22...v0.16.23) (2019-10-25)
|
|
1522
1550
|
|
|
@@ -1896,8 +1924,7 @@ All notable changes to this project will be documented in this file. See
|
|
|
1896
1924
|
- **core react angular:** carbon styling
|
|
1897
1925
|
([5064f63](https://github.com/carbon-design-system/carbon-charts/commit/5064f63))
|
|
1898
1926
|
- **react wrappers storybook:** full react wrappers
|
|
1899
|
-
([4a456ee](https://github.com/carbon-design-system/carbon-charts/commit/4a456ee)),
|
|
1900
|
-
closes
|
|
1927
|
+
([4a456ee](https://github.com/carbon-design-system/carbon-charts/commit/4a456ee)), closes
|
|
1901
1928
|
[#117](https://github.com/carbon-design-system/carbon-charts/issues/117)
|
|
1902
1929
|
[#115](https://github.com/carbon-design-system/carbon-charts/issues/115)
|
|
1903
1930
|
[#120](https://github.com/carbon-design-system/carbon-charts/issues/120)
|
package/LICENSE.md
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 2018 IBM
|
|
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.
|
package/README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Carbon Charts Angular
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Carbon Charts Angular is a thin Angular wrapper around the vanilla JavaScript `@carbon/charts` component library. This prerelease is for Angular 16 and higher and uses TypeScript 5.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
If you need support for older versions of Angular (or encounter problems with this module), please revert to `@carbon/charts-angular@latest`.
|
|
6
|
+
|
|
7
|
+
The required styles should be imported from `@carbon/charts-angular/styles.css` and `@carbon/styles/css/styles.css`. Additional documentation is provided in the Storybook demos.
|
|
6
8
|
|
|
7
|
-
> Carbon Charting Angular Wrappers
|
|
8
9
|
|
|
9
10
|
**[Storybook demos](https://carbon-design-system.github.io/carbon-charts/angular)**
|
|
10
11
|
|
|
@@ -15,19 +16,16 @@
|
|
|
15
16
|
Run the following command using [npm](https://www.npmjs.com/):
|
|
16
17
|
|
|
17
18
|
```bash
|
|
18
|
-
npm install -S @carbon/charts @carbon/
|
|
19
|
+
npm install -S @carbon/charts-angular@next @carbon/styles d3 d3-cloud d3-sankey
|
|
19
20
|
```
|
|
20
21
|
|
|
21
22
|
If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
|
|
22
23
|
instead:
|
|
23
24
|
|
|
24
25
|
```bash
|
|
25
|
-
yarn add @carbon/charts @carbon/
|
|
26
|
+
yarn add @carbon/charts-angular@next @carbon/styles d3 d3-cloud d3-sankey
|
|
26
27
|
```
|
|
27
28
|
|
|
28
|
-
**Note:** you'd also need to install `carbon-components` if you're not using a
|
|
29
|
-
bundled version of the library.
|
|
30
|
-
|
|
31
29
|
## Step-by-step instructions
|
|
32
30
|
|
|
33
31
|
Read
|
|
@@ -35,19 +33,13 @@ Read
|
|
|
35
33
|
|
|
36
34
|
## Charting data & options
|
|
37
35
|
|
|
38
|
-
Although
|
|
39
|
-
shipping new components such as maps, Data and options follow the same model in
|
|
40
|
-
all charts, with minor exceptions and differences in specific components.
|
|
41
|
-
|
|
42
|
-
For instance in the case of a donut chart you're able to pass in an additional
|
|
43
|
-
field called `center` in your options configuring the donut center.
|
|
36
|
+
Although new charts will be introduced in the future (such as a choropleth), data and options follow the same model for all charts with minor exceptions. For example, in the case of a donut chart, you're able to pass in an additional field called `center` in your options to configure the donut center.
|
|
44
37
|
|
|
45
38
|
For instructions on using the **tabular data format**, see
|
|
46
39
|
[here](https://carbon-design-system.github.io/carbon-charts/?path=/story/docs-tutorials--tabular-data-format)
|
|
47
40
|
|
|
48
|
-
There are
|
|
49
|
-
used,
|
|
50
|
-
[see our demo examples here](https://github.com/carbon-design-system/carbon-charts/tree/master/packages/core/demo/data).
|
|
41
|
+
There are additional options available depending on the chart type being
|
|
42
|
+
used, [see our demo examples here](https://github.com/carbon-design-system/carbon-charts/tree/master/packages/core/demo/data).
|
|
51
43
|
|
|
52
44
|
Customizable options (specific to chart type) can be found
|
|
53
45
|
[here](https://carbon-design-system.github.io/carbon-charts/documentation/modules/_interfaces_charts_.html)
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*
|
|
8
8
|
* Most functions just call their equivalent from the chart library.
|
|
9
9
|
*/
|
|
10
|
-
class AlluvialChartComponent extends BaseChartComponent {
|
|
10
|
+
export class AlluvialChartComponent extends BaseChartComponent {
|
|
11
11
|
/**
|
|
12
12
|
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
13
13
|
*/
|
|
@@ -18,15 +18,14 @@ class AlluvialChartComponent extends BaseChartComponent {
|
|
|
18
18
|
});
|
|
19
19
|
Object.assign(this, this.chart);
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: AlluvialChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: AlluvialChartComponent, selector: "ibm-alluvial-chart", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AlluvialChartComponent, decorators: [{
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: AlluvialChartComponent, decorators: [{
|
|
26
25
|
type: Component,
|
|
27
26
|
args: [{
|
|
28
27
|
selector: 'ibm-alluvial-chart',
|
|
29
28
|
template: ``
|
|
30
29
|
}]
|
|
31
30
|
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsdXZpYWwtY2hhcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9jaGFydHMvYWxsdXZpYWwtY2hhcnQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWlCLE1BQU0sZUFBZSxDQUFBO0FBQ3hELE9BQU8sRUFBRS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GVyIGFyb3VuZCBgQWxsdXZpYWxgIGluIGNhcmJvbiBjaGFydHMgbGlicmFyeVxuICpcbiAqIE1vc3QgZnVuY3Rpb25zIGp1c3QgY2FsbCB0aGVpciBlcXVpdmFsZW50IGZyb20gdGhlIGNoYXJ0IGxpYnJhcnkuXG4gKi9cbkBDb21wb25lbnQoe1xuXHRzZWxlY3RvcjogJ2libS1hbGx1dmlhbC1jaGFydCcsXG5cdHRlbXBsYXRlOiBgYFxufSlcbmV4cG9ydCBjbGFzcyBBbGx1dmlhbENoYXJ0Q29tcG9uZW50IGV4dGVuZHMgQmFzZUNoYXJ0Q29tcG9uZW50IGltcGxlbWVudHMgQWZ0ZXJWaWV3SW5pdCB7XG5cdC8qKlxuXHQgKiBSdW5zIGFmdGVyIHZpZXcgaW5pdCB0byBjcmVhdGUgYSBjaGFydCwgYXR0YWNoIGl0IHRvIGBlbGVtZW50UmVmYCBhbmQgZHJhdyBpdC5cblx0ICovXG5cdG92ZXJyaWRlIG5nQWZ0ZXJWaWV3SW5pdCgpIHtcblx0XHR0aGlzLmNoYXJ0ID0gbmV3IEFsbHV2aWFsQ2hhcnRDb3JlKHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCB7XG5cdFx0XHRkYXRhOiB0aGlzLmRhdGEgYXMgQ2hhcnRUYWJ1bGFyRGF0YSxcblx0XHRcdG9wdGlvbnM6IHRoaXMub3B0aW9ucyBhcyBBbGx1dmlhbENoYXJ0T3B0aW9uc1xuXHRcdH0pXG5cblx0XHRPYmplY3QuYXNzaWduKHRoaXMsIHRoaXMuY2hhcnQpXG5cdH1cbn1cbiJdfQ==
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*
|
|
8
8
|
* Most functions just call their equivalent from the chart library.
|
|
9
9
|
*/
|
|
10
|
-
class StackedAreaChartComponent extends BaseChartComponent {
|
|
10
|
+
export class StackedAreaChartComponent extends BaseChartComponent {
|
|
11
11
|
/**
|
|
12
12
|
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
13
13
|
*/
|
|
@@ -18,15 +18,14 @@ class StackedAreaChartComponent extends BaseChartComponent {
|
|
|
18
18
|
});
|
|
19
19
|
Object.assign(this, this.chart);
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: StackedAreaChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: StackedAreaChartComponent, selector: "ibm-stacked-area-chart", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: StackedAreaChartComponent, decorators: [{
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: StackedAreaChartComponent, decorators: [{
|
|
26
25
|
type: Component,
|
|
27
26
|
args: [{
|
|
28
27
|
selector: 'ibm-stacked-area-chart',
|
|
29
28
|
template: ``
|
|
30
29
|
}]
|
|
31
30
|
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJlYS1jaGFydC1zdGFja2VkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvY2hhcnRzL2FyZWEtY2hhcnQtc3RhY2tlZC5jb21wb25lbnQudHMiXSwibmFtZXMiO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25zLFxuXHR0eXBlIENoYXJ0VGFidWxhckRhdGFcbn0gZnJvbSAnQGNhcmJvbi9jaGFydHMnXG5cbi8qKlxuICogV3JhcHBlciBhcm91bmQgYFN0YWNrZWRBcmVhQ2hhcnRgIGluIGNhcmJvbiBjaGFydHMgbGlicmFyeVxuICpcbiAqIE1vc3QgZnVuY3Rpb25zIGp1c3QgY2FsbCB0aGVpciBlcXVpdmFsZW50IGZyb20gdGhlIGNoYXJ0IGxpYnJhcnkuXG4gKi9cbkBDb21wb25lbnQoe1xuXHRzZWxlY3RvcjogJ2libS1zdGFja2VkLWFyZWEtY2hhcnQnLFxuXHR0ZW1wbGF0ZTogYGBcbn0pXG5leHBvcnQgY2xhc3MgU3RhY2tlZEFyZWFDaGFydENvbXBvbmVudCBleHRlbmRzIEJhc2VDaGFydENvbXBvbmVudCBpbXBsZW1lbnRzIEFmdGVyVmlld0luaXQge1xuXHQvKipcblx0ICogUnVucyBhZnRlciB2aWV3IGluaXQgdG8gY3JlYXRlIGEgY2hhcnQsIGF0dGFjaCBpdCB0byBgZWxlbWVudFJlZmAgYW5kIGRyYXcgaXQuXG5cdCAqL1xuXHRvdmVycmlkZSBuZ0FmdGVyVmlld0luaXQoKSB7XG5cdFx0dGhpcy5jaGFydCA9IG5ldyBTdGFja2VkQXJlYUNoYXJ0Q29yZSh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwge1xuXHRcdFx0ZGF0YTogdGhpcy5kYXRhIGFzIENoYXJ0VGFidWxhckRhdGEsXG5cdFx0XHRvcHRpb25zOiB0aGlzLm9wdGlvbnMgYXMgU3RhY2tlZEFyZWFDaGFydE9wdGlvbnNcblx0XHR9KVxuXG5cdFx0T2JqZWN0LmFzc2lnbih0aGlzLCB0aGlzLmNoYXJ0KVxuXHR9XG59XG4iXX0=
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*
|
|
8
8
|
* Most functions just call their equivalent from the chart library.
|
|
9
9
|
*/
|
|
10
|
-
class AreaChartComponent extends BaseChartComponent {
|
|
10
|
+
export class AreaChartComponent extends BaseChartComponent {
|
|
11
11
|
/**
|
|
12
12
|
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
13
13
|
*/
|
|
@@ -18,15 +18,14 @@ class AreaChartComponent extends BaseChartComponent {
|
|
|
18
18
|
});
|
|
19
19
|
Object.assign(this, this.chart);
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: AreaChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: AreaChartComponent, selector: "ibm-area-chart", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: AreaChartComponent, decorators: [{
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: AreaChartComponent, decorators: [{
|
|
26
25
|
type: Component,
|
|
27
26
|
args: [{
|
|
28
27
|
selector: 'ibm-area-chart',
|
|
29
28
|
template: ``
|
|
30
29
|
}]
|
|
31
30
|
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJlYS1jaGFydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2NoYXJ0cy9hcm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ent from the chart library.
|
|
9
9
|
*/
|
|
10
|
-
class GroupedBarChartComponent extends BaseChartComponent {
|
|
10
|
+
export class GroupedBarChartComponent extends BaseChartComponent {
|
|
11
11
|
/**
|
|
12
12
|
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
13
13
|
*/
|
|
@@ -18,15 +18,14 @@ class GroupedBarChartComponent extends BaseChartComponent {
|
|
|
18
18
|
});
|
|
19
19
|
Object.assign(this, this.chart);
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: GroupedBarChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: GroupedBarChartComponent, selector: "ibm-grouped-bar-chart", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: GroupedBarChartComponent, decorators: [{
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: GroupedBarChartComponent, decorators: [{
|
|
26
25
|
type: Component,
|
|
27
26
|
args: [{
|
|
28
27
|
selector: 'ibm-grouped-bar-chart',
|
|
29
28
|
template: ``
|
|
30
29
|
}]
|
|
31
30
|
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFyLWNoYXJ0LWdyb3VwZWQuY29tcG9uZW50LmpzIiwic291cmNlUm9v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ydClcblx0fVxufVxuIl19
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*
|
|
8
8
|
* Most functions just call their equivalent from the chart library.
|
|
9
9
|
*/
|
|
10
|
-
class SimpleBarChartComponent extends BaseChartComponent {
|
|
10
|
+
export class SimpleBarChartComponent extends BaseChartComponent {
|
|
11
11
|
/**
|
|
12
12
|
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
13
13
|
*/
|
|
@@ -18,15 +18,14 @@ class SimpleBarChartComponent extends BaseChartComponent {
|
|
|
18
18
|
});
|
|
19
19
|
Object.assign(this, this.chart);
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: SimpleBarChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: SimpleBarChartComponent, selector: "ibm-simple-bar-chart", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: SimpleBarChartComponent, decorators: [{
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: SimpleBarChartComponent, decorators: [{
|
|
26
25
|
type: Component,
|
|
27
26
|
args: [{
|
|
28
27
|
selector: 'ibm-simple-bar-chart',
|
|
29
28
|
template: ``
|
|
30
29
|
}]
|
|
31
30
|
}] });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
31
|
+
//# sourceMappingURL=data:application/json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cblx0XHRPYmplY3QuYXNzaWduKHRoaXMsIHRoaXMuY2hhcnQpXG5cdH1cbn1cbiJdfQ==
|
|
@@ -7,7 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
*
|
|
8
8
|
* Most functions just call their equivalent from the chart library.
|
|
9
9
|
*/
|
|
10
|
-
class StackedBarChartComponent extends BaseChartComponent {
|
|
10
|
+
export class StackedBarChartComponent extends BaseChartComponent {
|
|
11
11
|
/**
|
|
12
12
|
* Runs after view init to create a chart, attach it to `elementRef` and draw it.
|
|
13
13
|
*/
|
|
@@ -18,15 +18,14 @@ class StackedBarChartComponent extends BaseChartComponent {
|
|
|
18
18
|
});
|
|
19
19
|
Object.assign(this, this.chart);
|
|
20
20
|
}
|
|
21
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
22
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: StackedBarChartComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: StackedBarChartComponent, selector: "ibm-stacked-bar-chart", usesInheritance: true, ngImport: i0, template: ``, isInline: true }); }
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: StackedBarChartComponent, decorators: [{
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: StackedBarChartComponent, decorators: [{
|
|
26
25
|
type: Component,
|
|
27
26
|
args: [{
|
|
28
27
|
selector: 'ibm-stacked-bar-chart',
|
|
29
28
|
template: ``
|
|
30
29
|
}]
|
|
31
30
|
}] });
|
|
32
|
-
//#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0YSBhcyBDaGFydFRhYnVsYXJEYXRhLFxuXHRcdFx0b3B0aW9uczogdGhpcy5vcHRpb25zIGFzIFN0YWNrZWRCYXJDaGFydE9wdGlvbnNcblx0XHR9KVxuXG5cdFx0T2JqZWN0LmFzc2lnbih0aGlzLCB0aGlzLmNoYXJ0KVxuXHR9XG59XG4iXX0=
|
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*
|
|
6
6
|
* Most functions just call their equivalent from the chart library.
|
|
7
7
|
*/
|
|
8
|
-
class BaseChartComponent {
|
|
8
|
+
export class BaseChartComponent {
|
|
9
9
|
/**
|
|
10
10
|
* Data passed to charts library for displaying
|
|
11
11
|
*/
|
|
@@ -53,11 +53,10 @@ class BaseChartComponent {
|
|
|
53
53
|
ngAfterViewInit() {
|
|
54
54
|
console.log('Class that extended BaseChartComponent did not implement ngAfterViewInit().');
|
|
55
55
|
}
|
|
56
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.
|
|
57
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.
|
|
56
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BaseChartComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
57
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: BaseChartComponent, selector: "ibm-base-chart", inputs: { data: "data", options: "options", width: "width", height: "height" }, ngImport: i0, template: ``, isInline: true }); }
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImport: i0, type: BaseChartComponent, decorators: [{
|
|
59
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BaseChartComponent, decorators: [{
|
|
61
60
|
type: Component,
|
|
62
61
|
args: [{
|
|
63
62
|
selector: 'ibm-base-chart',
|
|
@@ -72,4 +71,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.4", ngImpor
|
|
|
72
71
|
}], height: [{
|
|
73
72
|
type: Input
|
|
74
73
|
}] } });
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
74
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jaGFydC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2NoYXJ0cy9iYXNlLWNoYXJ0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBcUMsTUFBTSxlQUFlLENBQUE7O0FBR25GOzs7O0dBSUc7QUFLSCxNQUFNLE9BQU8sa0JBQWtCO0lBQzlCOztPQUVHO0lBQ0gsSUFBYSxJQUFJLENBQUMsT0FBeUI7UUFDMUMsb0VBQW9FO1FBQ3BFLE1BQU0saUJBQWlCLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUE7UUFFdEMsSUFBSSxDQUFDLEtBQUssR0FBRyxPQUFPLENBQUE7UUFFcEIsSUFBSSxpQkFBaUIsRUFBRTtZQUN0QixJQUFJLENBQUMsS0FBSyxFQUFFLEtBQUssQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUE7U0FDbEM7SUFDRixDQUFDO0lBRUQsSUFBSSxJQUFJO1FBQ1AsT0FBTyxJQUFJLENBQUMsS0FBSyxDQUFBO0lBQ2xCLENBQUM7SUFFRDs7T0FFRztJQUNILElBQWEsT0FBTyxDQUFDLFVBQTRCO1FBQ2hELG9FQUFvRTtRQUNwRSxNQUFNLG1CQUFtQixHQUFHLENBQUMsQ0FBQyx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