@carbon/charts 0.46.3 → 0.48.0
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 +44 -0
- package/axis-chart.js +2 -1
- package/axis-chart.js.map +1 -1
- package/build/demo/data/CHART_TYPES.d.ts +5 -0
- package/build/demo/data/area.d.ts +33 -0
- package/build/demo/data/tree.d.ts +30 -0
- package/build/src/chart.d.ts +2 -2
- package/build/src/charts/index.d.ts +1 -0
- package/build/src/charts/tree.d.ts +6 -0
- package/build/src/components/axes/zoom-bar.d.ts +1 -0
- package/build/src/components/essentials/highlights.d.ts +13 -0
- package/build/src/components/graphs/tree.d.ts +9 -0
- package/build/src/components/index.d.ts +2 -0
- package/build/src/configuration.d.ts +2 -1
- package/build/src/interfaces/charts.d.ts +7 -1
- package/build/src/interfaces/enums.d.ts +7 -0
- package/build/src/interfaces/events.d.ts +8 -0
- package/build/stories/utils.d.ts +1 -1
- package/bundle.js +1 -1
- package/chart.d.ts +2 -2
- package/chart.js +4 -4
- package/chart.js.map +1 -1
- package/charts/index.d.ts +1 -0
- package/charts/index.js +1 -0
- package/charts/index.js.map +1 -1
- package/charts/meter.js +3 -1
- package/charts/meter.js.map +1 -1
- package/charts/tree.d.ts +6 -0
- package/charts/tree.js +45 -0
- package/charts/tree.js.map +1 -0
- package/components/axes/zoom-bar.d.ts +1 -0
- package/components/axes/zoom-bar.js +26 -0
- package/components/axes/zoom-bar.js.map +1 -1
- package/components/essentials/highlights.d.ts +13 -0
- package/components/essentials/highlights.js +196 -0
- package/components/essentials/highlights.js.map +1 -0
- package/components/graphs/pie.js.map +1 -1
- package/components/graphs/radar.js +2 -1
- package/components/graphs/radar.js.map +1 -1
- package/components/graphs/tree.d.ts +9 -0
- package/components/graphs/tree.js +262 -0
- package/components/graphs/tree.js.map +1 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +2 -0
- package/components/index.js.map +1 -1
- package/configuration.d.ts +2 -1
- package/configuration.js +10 -1
- package/configuration.js.map +1 -1
- package/demo/data/CHART_TYPES.d.ts +5 -0
- package/demo/data/CHART_TYPES.js +5 -0
- package/demo/data/CHART_TYPES.js.map +1 -1
- package/demo/data/area.d.ts +33 -0
- package/demo/data/area.js +41 -0
- package/demo/data/area.js.map +1 -1
- package/demo/data/bundle.js +1 -1
- package/demo/data/index.js +35 -0
- package/demo/data/index.js.map +1 -1
- package/demo/data/tree.d.ts +30 -0
- package/demo/data/tree.js +209 -0
- package/demo/data/tree.js.map +1 -0
- package/demo/styles.css +148 -0
- package/demo/styles.css.map +1 -1
- package/demo/styles.min.css +1 -1
- package/demo/styles.min.css.map +1 -1
- package/demo/tsconfig.tsbuildinfo +82 -68
- package/interfaces/charts.d.ts +7 -1
- package/interfaces/charts.js.map +1 -1
- package/interfaces/enums.d.ts +7 -0
- package/interfaces/enums.js +8 -0
- package/interfaces/enums.js.map +1 -1
- package/interfaces/events.d.ts +8 -0
- package/interfaces/events.js +9 -0
- package/interfaces/events.js.map +1 -1
- package/package.json +1 -1
- package/styles/components/_highlights.scss +6 -0
- package/styles/components/_zoom-bar.scss +5 -0
- package/styles/components/index.scss +1 -0
- package/styles/graphs/_tree.scss +43 -0
- package/styles/graphs/index.scss +1 -0
- package/styles-g10.css +39 -0
- package/styles-g10.css.map +1 -1
- package/styles-g10.min.css +1 -1
- package/styles-g10.min.css.map +1 -1
- package/styles-g100.css +39 -0
- package/styles-g100.css.map +1 -1
- package/styles-g100.min.css +1 -1
- package/styles-g100.min.css.map +1 -1
- package/styles-g90.css +39 -0
- package/styles-g90.css.map +1 -1
- package/styles-g90.min.css +1 -1
- package/styles-g90.min.css.map +1 -1
- package/styles.css +39 -0
- package/styles.css.map +1 -1
- package/styles.min.css +1 -1
- package/styles.min.css.map +1 -1
- package/tools.js +12 -6
- package/tools.js.map +1 -1
- package/tsconfig.tsbuildinfo +95 -22
|
@@ -126,12 +126,8 @@
|
|
|
126
126
|
"signature": "3d9e5316680ca3163403bb963136ed04c4b8f779c480c1e12174c0d12811562b"
|
|
127
127
|
},
|
|
128
128
|
"../../demo/data/CHART_TYPES.ts": {
|
|
129
|
-
"version": "
|
|
130
|
-
"signature": "
|
|
131
|
-
},
|
|
132
|
-
"../../demo/data/area.ts": {
|
|
133
|
-
"version": "4f676e8abc4eff31e4106018e42a5e60660e3caf053c2a76487380fbeee70c0b",
|
|
134
|
-
"signature": "d84e6f60a25db87656a7e2ad014542145048b6ec5eae34a2bcdd9c4be42926f1"
|
|
129
|
+
"version": "c8ec3ea398372357bb41fc72b43922a2901e313dc0e617f6a8d8edb6ae1ab156",
|
|
130
|
+
"signature": "06ac8659e3115ea3798667ee91e8d9d59da047e9a1d05fcd425cad56b7be4eb2"
|
|
135
131
|
},
|
|
136
132
|
"../../../../node_modules/date-fns/typings.d.ts": {
|
|
137
133
|
"version": "0d1954e6a821396de9f72b8d2e8553096a755eb76ad99b63857da0b9a23723a0",
|
|
@@ -145,10 +141,6 @@
|
|
|
145
141
|
"version": "a9567148b3372323811c49b4460fd8ee4fcef7dbd392b0a0656c669a2320305e",
|
|
146
142
|
"signature": "fa5b31d8839524cf0e90d4fb59eba73739cf3b51eef76be2598e03cefdd9b5fa"
|
|
147
143
|
},
|
|
148
|
-
"../../demo/data/boxplot.ts": {
|
|
149
|
-
"version": "829b5bce144ea2f835021047e37ab51f821a90432e23f75932e92caecdef8e6e",
|
|
150
|
-
"signature": "835715dcde95fe8b2dcec159736d2b971fa87d8c3f3868a82740d4668750359d"
|
|
151
|
-
},
|
|
152
144
|
"../../../../node_modules/@types/d3-time-format/index.d.ts": {
|
|
153
145
|
"version": "2d1e2ab4c35296ccd2ee425603ff93de7af2b5be11243e7055ea74ae4e1e1331",
|
|
154
146
|
"signature": "2d1e2ab4c35296ccd2ee425603ff93de7af2b5be11243e7055ea74ae4e1e1331"
|
|
@@ -161,6 +153,34 @@
|
|
|
161
153
|
"version": "7f55d4aa1c85cf269a01b4652479ab9a97509763c3e54fc906dc1c276095da08",
|
|
162
154
|
"signature": "44c3adebd9153abbd776a00cd4ed45dda0b8eb8422cbe6422b1e26cbcac16369"
|
|
163
155
|
},
|
|
156
|
+
"../../demo/data/scatter.ts": {
|
|
157
|
+
"version": "1bfec2bc427066081c7d68fd733dcde8b2d7aa24d3dcb2e5047add54445ab522",
|
|
158
|
+
"signature": "49cfd65b314166fc7f8bb39fe4d7e4820594826410562ce9bdbadfe592fb21e7"
|
|
159
|
+
},
|
|
160
|
+
"../../demo/data/step.ts": {
|
|
161
|
+
"version": "4cf3c0e43d80e271115fd34264253bb9dee1a54198b7020a3e840d884fa494be",
|
|
162
|
+
"signature": "0af934e6ddb54e11efc9767f7ac3d86d38e37ec17f6d8dbba0d698f5c6382b1e"
|
|
163
|
+
},
|
|
164
|
+
"../../../../node_modules/date-fns/locale/fr/index.d.ts": {
|
|
165
|
+
"version": "3e31fb44c1f21304f598fc4c6321bb52aa248a94eae915b48c8bec58b55b42e5",
|
|
166
|
+
"signature": "3e31fb44c1f21304f598fc4c6321bb52aa248a94eae915b48c8bec58b55b42e5"
|
|
167
|
+
},
|
|
168
|
+
"../../demo/data/time-series-axis.ts": {
|
|
169
|
+
"version": "889331a6776c0c85e9b6d90cd190c434b49e21b44966cd33b9a2bdc514f7f41c",
|
|
170
|
+
"signature": "f9e50523c7e40a538d82d8ea5aa541c4031cba143ca4355f6c99efd344c87484"
|
|
171
|
+
},
|
|
172
|
+
"../../demo/data/zoom-bar.ts": {
|
|
173
|
+
"version": "72e57782b36d2645cd8bd4571d7b8a6d3b784754dbc2b614d848f21fcb836477",
|
|
174
|
+
"signature": "aab7e0b102bce0f619c8d1be40e2ff43833934e498c1dc0c12822f166209483b"
|
|
175
|
+
},
|
|
176
|
+
"../../demo/data/area.ts": {
|
|
177
|
+
"version": "d53507d69d7da8030c1377d607d102e05ca9ef3fe502e4be4d748c7a6592dc90",
|
|
178
|
+
"signature": "fa7e49d3765bed90f210d3e1a9e2ba21ad2d6eb16c51acb050b288938d125fa8"
|
|
179
|
+
},
|
|
180
|
+
"../../demo/data/boxplot.ts": {
|
|
181
|
+
"version": "829b5bce144ea2f835021047e37ab51f821a90432e23f75932e92caecdef8e6e",
|
|
182
|
+
"signature": "835715dcde95fe8b2dcec159736d2b971fa87d8c3f3868a82740d4668750359d"
|
|
183
|
+
},
|
|
164
184
|
"../../demo/data/bullet.ts": {
|
|
165
185
|
"version": "da0904aecf3d76ee20e0bb2a355cf817a1d72c601196f10fb107dd65df2a437f",
|
|
166
186
|
"signature": "e3c0096afbbbe8f52f7c04bc1247c816f0dac99224230da02922713863487848"
|
|
@@ -185,26 +205,6 @@
|
|
|
185
205
|
"version": "c02b0d988569e80683fcb219a9ef3ab31c85c7249d51bc26e8d668655c462fcc",
|
|
186
206
|
"signature": "1356f9fd82a936b9e50f2cf0f191486b56799341f8f2ad001cbed37662e2a681"
|
|
187
207
|
},
|
|
188
|
-
"../../demo/data/scatter.ts": {
|
|
189
|
-
"version": "1bfec2bc427066081c7d68fd733dcde8b2d7aa24d3dcb2e5047add54445ab522",
|
|
190
|
-
"signature": "49cfd65b314166fc7f8bb39fe4d7e4820594826410562ce9bdbadfe592fb21e7"
|
|
191
|
-
},
|
|
192
|
-
"../../demo/data/step.ts": {
|
|
193
|
-
"version": "4cf3c0e43d80e271115fd34264253bb9dee1a54198b7020a3e840d884fa494be",
|
|
194
|
-
"signature": "0af934e6ddb54e11efc9767f7ac3d86d38e37ec17f6d8dbba0d698f5c6382b1e"
|
|
195
|
-
},
|
|
196
|
-
"../../../../node_modules/date-fns/locale/fr/index.d.ts": {
|
|
197
|
-
"version": "3e31fb44c1f21304f598fc4c6321bb52aa248a94eae915b48c8bec58b55b42e5",
|
|
198
|
-
"signature": "3e31fb44c1f21304f598fc4c6321bb52aa248a94eae915b48c8bec58b55b42e5"
|
|
199
|
-
},
|
|
200
|
-
"../../demo/data/time-series-axis.ts": {
|
|
201
|
-
"version": "889331a6776c0c85e9b6d90cd190c434b49e21b44966cd33b9a2bdc514f7f41c",
|
|
202
|
-
"signature": "f9e50523c7e40a538d82d8ea5aa541c4031cba143ca4355f6c99efd344c87484"
|
|
203
|
-
},
|
|
204
|
-
"../../demo/data/zoom-bar.ts": {
|
|
205
|
-
"version": "72e57782b36d2645cd8bd4571d7b8a6d3b784754dbc2b614d848f21fcb836477",
|
|
206
|
-
"signature": "aab7e0b102bce0f619c8d1be40e2ff43833934e498c1dc0c12822f166209483b"
|
|
207
|
-
},
|
|
208
208
|
"../../demo/data/high-scale.ts": {
|
|
209
209
|
"version": "b6c39cbb34c10ce96a35fca717550faf326a5ff2cc0e666cdcac57ac58376bf3",
|
|
210
210
|
"signature": "870dd81d6d88d8f2bee2361e9252854a7e439de4460eddf57fe246942254d6bf"
|
|
@@ -225,6 +225,10 @@
|
|
|
225
225
|
"version": "aca5f50689f8a3b5130c0aec679e4a6249c89de095815266bbe5ae6e49a92b74",
|
|
226
226
|
"signature": "4e3028065721d5acb0219b187447883885db7ae87f2af64be3fc8b91f1d24f27"
|
|
227
227
|
},
|
|
228
|
+
"../../demo/data/tree.ts": {
|
|
229
|
+
"version": "4608c2a7251cf9c2cf138423e25f07c058b5e08425c9d731e224ba0da8896fc1",
|
|
230
|
+
"signature": "0c155e0843ae60f424b7ae37f32b69ca636b9a027e677e3466af7750c8dafe3e"
|
|
231
|
+
},
|
|
228
232
|
"../../demo/data/treemap.ts": {
|
|
229
233
|
"version": "bcbd8c486ad52d46ac03fba541aab36c90da6c18ffa9022fe704658ab9c60a85",
|
|
230
234
|
"signature": "953f0c6eacdabbbc75e4f119fcc0a4eb2003671e6b6560cfea8ec80fe37fc0eb"
|
|
@@ -238,7 +242,7 @@
|
|
|
238
242
|
"signature": "d673d937720b7b8f8161e266762631615606bcd7214281ceb62ba79b15b38690"
|
|
239
243
|
},
|
|
240
244
|
"../../demo/data/index.ts": {
|
|
241
|
-
"version": "
|
|
245
|
+
"version": "270a7d0afce2fcdc7f5792c2795231436890e513409ccc7afd54e2c65eca5220",
|
|
242
246
|
"signature": "44a50fd4e2f04927a1a650c963c904411d251c694b4e3cfa897abffffbfc285a"
|
|
243
247
|
},
|
|
244
248
|
"../../node_modules/@types/node/globals.d.ts": {
|
|
@@ -693,57 +697,59 @@
|
|
|
693
697
|
"../../node_modules/@types/node/util.d.ts",
|
|
694
698
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
695
699
|
],
|
|
696
|
-
"
|
|
700
|
+
"../../../../node_modules/date-fns/typings.d.ts": [
|
|
697
701
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
698
702
|
"../../node_modules/@types/node/fs.d.ts",
|
|
699
703
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
700
704
|
"../../node_modules/@types/node/util.d.ts",
|
|
701
705
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
702
706
|
],
|
|
703
|
-
"../../../../node_modules/date-fns/
|
|
707
|
+
"../../../../node_modules/date-fns/locale/tr/index.d.ts": [
|
|
704
708
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
705
709
|
"../../node_modules/@types/node/fs.d.ts",
|
|
706
710
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
707
711
|
"../../node_modules/@types/node/util.d.ts",
|
|
708
712
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
709
713
|
],
|
|
710
|
-
"
|
|
714
|
+
"../../demo/data/bar.ts": [
|
|
711
715
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
712
716
|
"../../node_modules/@types/node/fs.d.ts",
|
|
713
717
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
714
718
|
"../../node_modules/@types/node/util.d.ts",
|
|
715
719
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
716
720
|
],
|
|
717
|
-
"
|
|
721
|
+
"../../../../node_modules/@types/d3-time-format/index.d.ts": [
|
|
718
722
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
719
723
|
"../../node_modules/@types/node/fs.d.ts",
|
|
720
724
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
721
725
|
"../../node_modules/@types/node/util.d.ts",
|
|
722
726
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
723
727
|
],
|
|
724
|
-
"../../demo/data/
|
|
728
|
+
"../../demo/data/line.ts": [
|
|
729
|
+
"../../../../node_modules/@types/d3-time-format/index.d.ts",
|
|
725
730
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
726
731
|
"../../node_modules/@types/node/fs.d.ts",
|
|
727
732
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
728
733
|
"../../node_modules/@types/node/util.d.ts",
|
|
729
734
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
730
735
|
],
|
|
731
|
-
"
|
|
736
|
+
"../../demo/data/bubble.ts": [
|
|
737
|
+
"../../demo/data/line.ts",
|
|
732
738
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
733
739
|
"../../node_modules/@types/node/fs.d.ts",
|
|
734
740
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
735
741
|
"../../node_modules/@types/node/util.d.ts",
|
|
736
742
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
737
743
|
],
|
|
738
|
-
"../../demo/data/
|
|
739
|
-
"
|
|
744
|
+
"../../demo/data/scatter.ts": [
|
|
745
|
+
"../../demo/data/line.ts",
|
|
740
746
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
741
747
|
"../../node_modules/@types/node/fs.d.ts",
|
|
742
748
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
743
749
|
"../../node_modules/@types/node/util.d.ts",
|
|
744
750
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
745
751
|
],
|
|
746
|
-
"../../demo/data/
|
|
752
|
+
"../../demo/data/step.ts": [
|
|
747
753
|
"../../demo/data/line.ts",
|
|
748
754
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
749
755
|
"../../node_modules/@types/node/fs.d.ts",
|
|
@@ -751,87 +757,86 @@
|
|
|
751
757
|
"../../node_modules/@types/node/util.d.ts",
|
|
752
758
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
753
759
|
],
|
|
754
|
-
"
|
|
760
|
+
"../../../../node_modules/date-fns/locale/fr/index.d.ts": [
|
|
755
761
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
756
762
|
"../../node_modules/@types/node/fs.d.ts",
|
|
757
763
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
758
764
|
"../../node_modules/@types/node/util.d.ts",
|
|
759
765
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
760
766
|
],
|
|
761
|
-
"../../demo/data/
|
|
767
|
+
"../../demo/data/time-series-axis.ts": [
|
|
762
768
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
763
769
|
"../../node_modules/@types/node/fs.d.ts",
|
|
764
770
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
765
771
|
"../../node_modules/@types/node/util.d.ts",
|
|
766
772
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
767
773
|
],
|
|
768
|
-
"../../demo/data/
|
|
774
|
+
"../../demo/data/zoom-bar.ts": [
|
|
775
|
+
"../../demo/data/area.ts",
|
|
776
|
+
"../../demo/data/bar.ts",
|
|
777
|
+
"../../demo/data/bubble.ts",
|
|
778
|
+
"../../demo/data/line.ts",
|
|
779
|
+
"../../demo/data/scatter.ts",
|
|
780
|
+
"../../demo/data/step.ts",
|
|
781
|
+
"../../demo/data/time-series-axis.ts",
|
|
769
782
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
770
783
|
"../../node_modules/@types/node/fs.d.ts",
|
|
771
784
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
772
785
|
"../../node_modules/@types/node/util.d.ts",
|
|
773
786
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
774
787
|
],
|
|
775
|
-
"../../demo/data/
|
|
788
|
+
"../../demo/data/area.ts": [
|
|
789
|
+
"../../demo/data/zoom-bar.ts",
|
|
776
790
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
777
791
|
"../../node_modules/@types/node/fs.d.ts",
|
|
778
792
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
779
793
|
"../../node_modules/@types/node/util.d.ts",
|
|
780
794
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
781
795
|
],
|
|
782
|
-
"../../demo/data/
|
|
783
|
-
"../../demo/data/pie.ts",
|
|
796
|
+
"../../demo/data/boxplot.ts": [
|
|
784
797
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
785
798
|
"../../node_modules/@types/node/fs.d.ts",
|
|
786
799
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
787
800
|
"../../node_modules/@types/node/util.d.ts",
|
|
788
801
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
789
802
|
],
|
|
790
|
-
"../../demo/data/
|
|
803
|
+
"../../demo/data/bullet.ts": [
|
|
791
804
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
792
805
|
"../../node_modules/@types/node/fs.d.ts",
|
|
793
806
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
794
807
|
"../../node_modules/@types/node/util.d.ts",
|
|
795
808
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
796
809
|
],
|
|
797
|
-
"../../demo/data/
|
|
798
|
-
"../../demo/data/line.ts",
|
|
810
|
+
"../../demo/data/circle-pack.ts": [
|
|
799
811
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
800
812
|
"../../node_modules/@types/node/fs.d.ts",
|
|
801
813
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
802
814
|
"../../node_modules/@types/node/util.d.ts",
|
|
803
815
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
804
816
|
],
|
|
805
|
-
"../../demo/data/
|
|
806
|
-
"../../demo/data/line.ts",
|
|
817
|
+
"../../demo/data/combo.ts": [
|
|
807
818
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
808
819
|
"../../node_modules/@types/node/fs.d.ts",
|
|
809
820
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
810
821
|
"../../node_modules/@types/node/util.d.ts",
|
|
811
822
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
812
823
|
],
|
|
813
|
-
"
|
|
824
|
+
"../../demo/data/pie.ts": [
|
|
814
825
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
815
826
|
"../../node_modules/@types/node/fs.d.ts",
|
|
816
827
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
817
828
|
"../../node_modules/@types/node/util.d.ts",
|
|
818
829
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
819
830
|
],
|
|
820
|
-
"../../demo/data/
|
|
831
|
+
"../../demo/data/donut.ts": [
|
|
832
|
+
"../../demo/data/pie.ts",
|
|
821
833
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
822
834
|
"../../node_modules/@types/node/fs.d.ts",
|
|
823
835
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
824
836
|
"../../node_modules/@types/node/util.d.ts",
|
|
825
837
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
826
838
|
],
|
|
827
|
-
"../../demo/data/
|
|
828
|
-
"../../demo/data/area.ts",
|
|
829
|
-
"../../demo/data/bar.ts",
|
|
830
|
-
"../../demo/data/bubble.ts",
|
|
831
|
-
"../../demo/data/line.ts",
|
|
832
|
-
"../../demo/data/scatter.ts",
|
|
833
|
-
"../../demo/data/step.ts",
|
|
834
|
-
"../../demo/data/time-series-axis.ts",
|
|
839
|
+
"../../demo/data/gauge.ts": [
|
|
835
840
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
836
841
|
"../../node_modules/@types/node/fs.d.ts",
|
|
837
842
|
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
@@ -875,6 +880,13 @@
|
|
|
875
880
|
"../../node_modules/@types/node/util.d.ts",
|
|
876
881
|
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
877
882
|
],
|
|
883
|
+
"../../demo/data/tree.ts": [
|
|
884
|
+
"../../../../node_modules/date-fns/typings.d.ts",
|
|
885
|
+
"../../node_modules/@types/node/fs.d.ts",
|
|
886
|
+
"../../node_modules/@types/node/ts3.2/fs.d.ts",
|
|
887
|
+
"../../node_modules/@types/node/util.d.ts",
|
|
888
|
+
"../../node_modules/@types/node/ts3.2/util.d.ts"
|
|
889
|
+
],
|
|
878
890
|
"../../demo/data/treemap.ts": [
|
|
879
891
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
880
892
|
"../../node_modules/@types/node/fs.d.ts",
|
|
@@ -916,6 +928,7 @@
|
|
|
916
928
|
"../../demo/data/scatter.ts",
|
|
917
929
|
"../../demo/data/step.ts",
|
|
918
930
|
"../../demo/data/time-series-axis.ts",
|
|
931
|
+
"../../demo/data/tree.ts",
|
|
919
932
|
"../../demo/data/treemap.ts",
|
|
920
933
|
"../../demo/data/circle-pack.ts",
|
|
921
934
|
"../../demo/data/toolbar.ts",
|
|
@@ -2035,30 +2048,31 @@
|
|
|
2035
2048
|
"../../../../node_modules/codesandbox/lib/api/define.d.ts",
|
|
2036
2049
|
"../../demo/create-codesandbox.ts",
|
|
2037
2050
|
"../../demo/data/CHART_TYPES.ts",
|
|
2038
|
-
"../../demo/data/area.ts",
|
|
2039
2051
|
"../../../../node_modules/date-fns/typings.d.ts",
|
|
2040
2052
|
"../../../../node_modules/date-fns/locale/tr/index.d.ts",
|
|
2041
2053
|
"../../demo/data/bar.ts",
|
|
2042
|
-
"../../demo/data/boxplot.ts",
|
|
2043
2054
|
"../../../../node_modules/@types/d3-time-format/index.d.ts",
|
|
2044
2055
|
"../../demo/data/line.ts",
|
|
2045
2056
|
"../../demo/data/bubble.ts",
|
|
2057
|
+
"../../demo/data/scatter.ts",
|
|
2058
|
+
"../../demo/data/step.ts",
|
|
2059
|
+
"../../../../node_modules/date-fns/locale/fr/index.d.ts",
|
|
2060
|
+
"../../demo/data/time-series-axis.ts",
|
|
2061
|
+
"../../demo/data/zoom-bar.ts",
|
|
2062
|
+
"../../demo/data/area.ts",
|
|
2063
|
+
"../../demo/data/boxplot.ts",
|
|
2046
2064
|
"../../demo/data/bullet.ts",
|
|
2047
2065
|
"../../demo/data/circle-pack.ts",
|
|
2048
2066
|
"../../demo/data/combo.ts",
|
|
2049
2067
|
"../../demo/data/pie.ts",
|
|
2050
2068
|
"../../demo/data/donut.ts",
|
|
2051
2069
|
"../../demo/data/gauge.ts",
|
|
2052
|
-
"../../demo/data/scatter.ts",
|
|
2053
|
-
"../../demo/data/step.ts",
|
|
2054
|
-
"../../../../node_modules/date-fns/locale/fr/index.d.ts",
|
|
2055
|
-
"../../demo/data/time-series-axis.ts",
|
|
2056
|
-
"../../demo/data/zoom-bar.ts",
|
|
2057
2070
|
"../../demo/data/high-scale.ts",
|
|
2058
2071
|
"../../demo/data/histogram.ts",
|
|
2059
2072
|
"../../demo/data/lollipop.ts",
|
|
2060
2073
|
"../../demo/data/meter.ts",
|
|
2061
2074
|
"../../demo/data/radar.ts",
|
|
2075
|
+
"../../demo/data/tree.ts",
|
|
2062
2076
|
"../../demo/data/treemap.ts",
|
|
2063
2077
|
"../../demo/data/toolbar.ts",
|
|
2064
2078
|
"../../demo/data/wordcloud.ts",
|
package/interfaces/charts.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GaugeTypes, Statuses, ArrowDirections, Alignments, ChartTypes } from './enums';
|
|
1
|
+
import { GaugeTypes, Statuses, ArrowDirections, Alignments, ChartTypes, TreeTypes } from './enums';
|
|
2
2
|
import { LegendOptions, TooltipOptions, GridOptions, AxesOptions, ZoomBarsOptions } from './index';
|
|
3
3
|
import { BarOptions, StackedBarOptions, ToolbarOptions } from './components';
|
|
4
4
|
import { AxisOptions, BinnedAxisOptions, TimeScaleOptions } from './axis-scales';
|
|
@@ -393,6 +393,12 @@ export interface ComboChartOptions extends AxisChartOptions {
|
|
|
393
393
|
}
|
|
394
394
|
export interface TreemapChartOptions extends BaseChartOptions {
|
|
395
395
|
}
|
|
396
|
+
export interface TreeChartOptions extends BaseChartOptions {
|
|
397
|
+
tree?: {
|
|
398
|
+
type?: TreeTypes;
|
|
399
|
+
rootTitle?: string;
|
|
400
|
+
};
|
|
401
|
+
}
|
|
396
402
|
export interface CirclePackChartOptions extends BaseChartOptions {
|
|
397
403
|
circlePack?: {
|
|
398
404
|
circles: {
|
package/interfaces/charts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charts.js","sourceRoot":"","sources":["charts.ts"],"names":[],"mappings":"","sourcesContent":["import {\n\tGaugeTypes,\n\tStatuses,\n\tArrowDirections,\n\tAlignments,\n\tChartTypes,\n} from './enums';\nimport {\n\tLegendOptions,\n\tTooltipOptions,\n\tGridOptions,\n\tAxesOptions,\n\tZoomBarsOptions,\n} from './index';\nimport { BarOptions, StackedBarOptions, ToolbarOptions } from './components';\nimport {\n\tAxisOptions,\n\tBinnedAxisOptions,\n\tTimeScaleOptions,\n} from './axis-scales';\n\n/**\n * Base chart options common to any chart\n */\nexport interface BaseChartOptions {\n\t/**\n\t * Optionally specify a title for the chart\n\t */\n\ttitle?: string;\n\t/**\n\t * boolean to disable animations (enabled by default)\n\t */\n\tanimations?: boolean;\n\t/**\n\t * boolean to prevent the container from resizing\n\t */\n\tresizable?: boolean;\n\t/**\n\t * Optionally specify a width for the chart\n\t */\n\twidth?: string;\n\t/**\n\t * Optionally specify a height for the chart\n\t */\n\theight?: string;\n\t/**\n\t * tooltip configuration\n\t */\n\ttooltip?: TooltipOptions;\n\t/**\n\t * legend configuration\n\t */\n\tlegend?: LegendOptions;\n\t/**\n\t * toolbar configurations\n\t */\n\ttoolbar?: ToolbarOptions;\n\t/**\n\t * Optional function to determine whether is filled based on datasetLabel, label, and/or data\n\t */\n\tgetIsFilled?: (\n\t\tdatasetLabel: any,\n\t\tlabel?: any,\n\t\tdata?: any,\n\t\tdefaultFilled?: boolean\n\t) => boolean;\n\t/**\n\t * Optional function to generate the fill color based on datasetLabel, label, and/or data\n\t */\n\tgetFillColor?: (\n\t\tgroup: string,\n\t\tlabel?: string,\n\t\tdata?: any,\n\t\tdefaultFillColor?: string\n\t) => string;\n\t/**\n\t * Optional function to generate the stroke color based on datasetLabel, label, and/or data\n\t * (note) - not all chart types support the stroke color (e.g. wordcloud)\n\t */\n\tgetStrokeColor?: (\n\t\tgroup: string,\n\t\tlabel?: any,\n\t\tdata?: any,\n\t\tdefaultStrokeColor?: string\n\t) => string;\n\t/**\n\t * stylesheet options\n\t */\n\tstyle?: {\n\t\t/**\n\t\t * optional prefixing string for css classes (defaults to 'cc')\n\t\t */\n\t\tprefix?: string;\n\t};\n\t/**\n\t * options related to charting data\n\t */\n\tdata?: {\n\t\t/**\n\t\t * identifier for data groups\n\t\t */\n\t\tgroupMapsTo?: string;\n\t\t/**\n\t\t * used to simulate data loading in skeleton way\n\t\t */\n\t\tloading?: boolean;\n\t\t/**\n\t\t * options related to pre-selected data groups\n\t\t * Remains empty if every legend item is active or dataset doesn't have the data groups.\n\t\t */\n\t\tselectedGroups?: string[];\n\t};\n\t/**\n\t * options related to color scales\n\t */\n\tcolor?: {\n\t\t/**\n\t\t * e.g. { 'Dataset 1': 'blue' }\n\t\t */\n\t\tscale?: object;\n\t\t/**\n\t\t * use a carbon dataviz preset color palette\n\t\t * put the index (selection of which variant)\n\t\t */\n\t\tpairing?: {\n\t\t\t/**\n\t\t\t * the number of color variants in the palette (defaults to using the number of data groups in the given data)\n\t\t\t */\n\t\t\tnumberOfVariants?: number;\n\t\t\t/**\n\t\t\t * the option number of the color paring\n\t\t\t */\n\t\t\toption?: number;\n\t\t};\n\t\t/*\n\t\t * options related to gradient\n\t\t * e.g. { enabled: true }\n\t\t */\n\t\tgradient?: object;\n\t};\n}\n\n/**\n * Options common to any chart with an axis\n */\nexport interface AxisChartOptions extends BaseChartOptions {\n\taxes?: AxesOptions<AxisOptions>;\n\tgrid?: GridOptions;\n\ttimeScale?: TimeScaleOptions;\n\t/**\n\t * zoombar configuration\n\t */\n\tzoomBar?: ZoomBarsOptions;\n}\n\n/**\n * Options common to binned charts with an axis\n */\nexport interface BinnedAxisChartOptions extends AxisChartOptions {\n\taxes?: AxesOptions<BinnedAxisOptions>;\n\tgrid?: GridOptions;\n\ttimeScale?: TimeScaleOptions;\n\t/**\n\t * zoombar configuration\n\t */\n\tzoomBar?: ZoomBarsOptions;\n}\n\n/**\n * options specific to boxplot charts\n */\nexport interface BoxplotChartOptions extends AxisChartOptions {}\n\n/**\n * options specific to bar charts\n */\nexport interface BarChartOptions extends AxisChartOptions {\n\tbars?: BarOptions;\n}\n\n/**\n * options specific to stacked bar charts\n */\nexport interface StackedBarChartOptions extends BarChartOptions {\n\tbars?: StackedBarOptions;\n}\n\n/**\n * options specific to scatter charts\n */\nexport interface ScatterChartOptions extends AxisChartOptions {\n\t/**\n\t * options for the points\n\t */\n\tpoints?: {\n\t\t/**\n\t\t * sets the radius of the point\n\t\t */\n\t\tradius: number;\n\t\tfillOpacity?: number;\n\t\tfilled?: boolean;\n\t\tenabled?: boolean;\n\t};\n}\n\n/**\n * options specific to lollipop charts\n */\nexport interface LollipopChartOptions extends ScatterChartOptions {}\n\n/**\n * options specific to bubble charts\n */\nexport interface BubbleChartOptions extends AxisChartOptions {\n\t/**\n\t * options for the individual bubbles\n\t */\n\tbubble?: {\n\t\t/**\n\t\t * the key to lookup in charting data for the bubble radius value\n\t\t */\n\t\tradiusMapsTo?: string;\n\t\t/**\n\t\t * options for what the bubble radius value maps to\n\t\t */\n\t\tradiusLabel?: string;\n\t\t/**\n\t\t * A function that would determine the range of the bubble radius to use\n\t\t * Returns an array with the 1st value being the min and the 2nd value being the max radius\n\t\t */\n\t\tradiusRange?: Function;\n\t\t/**\n\t\t * Opacity of the fills used within each circle\n\t\t */\n\t\tfillOpacity?: number;\n\t\t/**\n\t\t * enabled scatter dot or not\n\t\t */\n\t\tenabled?: boolean;\n\t};\n}\n\n/**\n * options specific to bullet charts\n */\nexport interface BulletChartOptions extends AxisChartOptions {\n\t/**\n\t * options for the individual bullets\n\t */\n\tbullet?: {\n\t\tperformanceAreaTitles?: string[];\n\t};\n}\n\n/**\n * options specific to histogram charts\n */\nexport interface HistogramChartOptions extends AxisChartOptions {\n\t/**\n\t * options related to bins\n\t */\n\tbins?: {\n\t\trangeLabel?: string;\n\t};\n}\n\n/**\n * options specific to line charts\n */\nexport interface LineChartOptions extends ScatterChartOptions {\n\t/**\n\t * options for the curve of the line\n\t */\n\tcurve?:\n\t\t| string\n\t\t| {\n\t\t\t\tname: string;\n\t\t };\n}\n\n/**\n * options specific to area charts\n */\nexport interface AreaChartOptions extends AxisChartOptions {\n\t/**\n\t * options for the curve of the line\n\t */\n\tcurve?:\n\t\t| string\n\t\t| {\n\t\t\t\tname: string;\n\t\t };\n\t/**\n\t * options to bound the area of the chart\n\t */\n\tbounds?: {\n\t\tupperBoundMapsTo?: string;\n\t\tlowerBoundMapsTo?: string;\n\t};\n}\n\n/**\n * options specific to area charts\n */\nexport interface StackedAreaChartOptions extends ScatterChartOptions {\n\t/**\n\t * options for the curve of the line\n\t */\n\tcurve?:\n\t\t| string\n\t\t| {\n\t\t\t\tname: string;\n\t\t };\n}\n\n/**\n * options specific to world cloud charts\n */\nexport interface WordCloudChartTooltipOptions extends TooltipOptions {\n\t/** the label that shows up by the highlighted word in the tooltip */\n\twordLabel?: string;\n\t/** the label that shows up by the value of the highlighted word in the tooltip */\n\tvalueLabel?: string;\n}\n\nexport interface WorldCloudChartOptions extends BaseChartOptions {\n\twordCloud?: {\n\t\t/** what key in your charting data will the font sizes map to? */\n\t\tfontSizeMapsTo?: string;\n\t\t/** a function (chartSize, data) => {} that'll decide the range of font sizes, e.g. [10, 80] */\n\t\tfontSizeRange?: Function;\n\t\t/** what key in your charting data will the words map to? */\n\t\twordMapsTo?: string;\n\t};\n\t/**\n\t * tooltip configuration\n\t */\n\ttooltip?: WordCloudChartTooltipOptions;\n}\n\n/**\n * options specific to pie charts\n */\nexport interface PieChartOptions extends BaseChartOptions {\n\tpie?: {\n\t\tlabels?: {\n\t\t\tformatter?: Function;\n\t\t\tenabled?: Boolean;\n\t\t};\n\t\talignment?: Alignments;\n\t\t/**\n\t\t * identifier for value key in your charting data\n\t\t * defaults to value\n\t\t */\n\t\tvalueMapsTo?: string;\n\t\tsortFunction?: (a: any, b: any) => number;\n\t};\n}\n\n/**\n * options specific to gauge charts\n */\nexport interface GaugeChartOptions extends BaseChartOptions {\n\tgauge?: {\n\t\tarcWidth?: number;\n\t\tdeltaArrow?: {\n\t\t\tdirection?: ArrowDirections;\n\t\t\tsize?: Function;\n\t\t\tenabled: Boolean;\n\t\t};\n\t\tshowPercentageSymbol?: Boolean;\n\t\tstatus?: Statuses;\n\t\tdeltaFontSize?: Function;\n\t\tnumberSpacing?: number;\n\t\tnumberFormatter?: Function;\n\t\tvalueFontSize?: Function;\n\t\ttype?: GaugeTypes;\n\t\talignment?: Alignments;\n\t};\n}\n\n/**\n * options specific to donut charts\n */\nexport interface DonutChartOptions extends PieChartOptions {\n\tdonut?: {\n\t\tcenter?: {\n\t\t\tlabel?: string;\n\t\t\tnumber?: number;\n\t\t\tnumberFontSize?: Function;\n\t\t\ttitleFontSize?: Function;\n\t\t\ttitleYPosition?: Function;\n\t\t\tnumberFormatter?: Function;\n\t\t};\n\t\talignment?: Alignments;\n\t};\n}\n\nexport interface MeterChartOptions extends BaseChartOptions {\n\tmeter?: {\n\t\tproportional?: {\n\t\t\ttotal?: number;\n\t\t\tunit?: string;\n\t\t};\n\t\tpeak?: number;\n\t\tstatus?: {\n\t\t\tranges: Array<{\n\t\t\t\trange: [number, number];\n\t\t\t\tstatus: Statuses;\n\t\t\t}>;\n\t\t};\n\t\theight?: number;\n\t\ttitle?: {\n\t\t\tpercentageIndicator?: {\n\t\t\t\t/**\n\t\t\t\t * rendering of the percentage value relative to the dataset within title\n\t\t\t\t */\n\t\t\t\tenabled?: boolean;\n\t\t\t};\n\t\t};\n\t};\n}\n\nexport interface ProportionalMeterChartOptions extends BaseChartOptions {\n\tmeter?: {\n\t\tproportional?: {\n\t\t\ttotal?: number;\n\t\t\tunit?: string;\n\t\t};\n\t};\n}\n\n/**\n * options specific to radar charts\n */\nexport interface RadarChartOptions extends BaseChartOptions {\n\tradar?: {\n\t\taxes: {\n\t\t\tangle: string;\n\t\t\tvalue: string;\n\t\t};\n\t\talignment?: Alignments;\n\t};\n}\n\n/**\n * options specific to combo charts\n */\nexport interface ComboChartOptions extends AxisChartOptions {\n\tcomboChartTypes: Array<{\n\t\ttype: ChartTypes | any;\n\t\toptions?: object;\n\t\tcorrespondingDatasets: Array<string>;\n\t}>;\n}\n\n/*\n * options specific to treemap charts\n */\nexport interface TreemapChartOptions extends BaseChartOptions {}\n\n/*\n * options specific to circle pack charts\n */\nexport interface CirclePackChartOptions extends BaseChartOptions {\n\tcirclePack?: {\n\t\tcircles: {\n\t\t\tfillOpacity: number;\n\t\t};\n\t\t// depth of nodes to display\n\t\thierachyLevel: number;\n\t\tpadding?: {\n\t\t\touter?: number;\n\t\t\tinner?: number;\n\t\t};\n\t};\n}\n"]}
|
|
1
|
+
{"version":3,"file":"charts.js","sourceRoot":"","sources":["charts.ts"],"names":[],"mappings":"","sourcesContent":["import {\n\tGaugeTypes,\n\tStatuses,\n\tArrowDirections,\n\tAlignments,\n\tChartTypes,\n\tTreeTypes,\n} from './enums';\nimport {\n\tLegendOptions,\n\tTooltipOptions,\n\tGridOptions,\n\tAxesOptions,\n\tZoomBarsOptions,\n} from './index';\nimport { BarOptions, StackedBarOptions, ToolbarOptions } from './components';\nimport {\n\tAxisOptions,\n\tBinnedAxisOptions,\n\tTimeScaleOptions,\n} from './axis-scales';\n\n/**\n * Base chart options common to any chart\n */\nexport interface BaseChartOptions {\n\t/**\n\t * Optionally specify a title for the chart\n\t */\n\ttitle?: string;\n\t/**\n\t * boolean to disable animations (enabled by default)\n\t */\n\tanimations?: boolean;\n\t/**\n\t * boolean to prevent the container from resizing\n\t */\n\tresizable?: boolean;\n\t/**\n\t * Optionally specify a width for the chart\n\t */\n\twidth?: string;\n\t/**\n\t * Optionally specify a height for the chart\n\t */\n\theight?: string;\n\t/**\n\t * tooltip configuration\n\t */\n\ttooltip?: TooltipOptions;\n\t/**\n\t * legend configuration\n\t */\n\tlegend?: LegendOptions;\n\t/**\n\t * toolbar configurations\n\t */\n\ttoolbar?: ToolbarOptions;\n\t/**\n\t * Optional function to determine whether is filled based on datasetLabel, label, and/or data\n\t */\n\tgetIsFilled?: (\n\t\tdatasetLabel: any,\n\t\tlabel?: any,\n\t\tdata?: any,\n\t\tdefaultFilled?: boolean\n\t) => boolean;\n\t/**\n\t * Optional function to generate the fill color based on datasetLabel, label, and/or data\n\t */\n\tgetFillColor?: (\n\t\tgroup: string,\n\t\tlabel?: string,\n\t\tdata?: any,\n\t\tdefaultFillColor?: string\n\t) => string;\n\t/**\n\t * Optional function to generate the stroke color based on datasetLabel, label, and/or data\n\t * (note) - not all chart types support the stroke color (e.g. wordcloud)\n\t */\n\tgetStrokeColor?: (\n\t\tgroup: string,\n\t\tlabel?: any,\n\t\tdata?: any,\n\t\tdefaultStrokeColor?: string\n\t) => string;\n\t/**\n\t * stylesheet options\n\t */\n\tstyle?: {\n\t\t/**\n\t\t * optional prefixing string for css classes (defaults to 'cc')\n\t\t */\n\t\tprefix?: string;\n\t};\n\t/**\n\t * options related to charting data\n\t */\n\tdata?: {\n\t\t/**\n\t\t * identifier for data groups\n\t\t */\n\t\tgroupMapsTo?: string;\n\t\t/**\n\t\t * used to simulate data loading in skeleton way\n\t\t */\n\t\tloading?: boolean;\n\t\t/**\n\t\t * options related to pre-selected data groups\n\t\t * Remains empty if every legend item is active or dataset doesn't have the data groups.\n\t\t */\n\t\tselectedGroups?: string[];\n\t};\n\t/**\n\t * options related to color scales\n\t */\n\tcolor?: {\n\t\t/**\n\t\t * e.g. { 'Dataset 1': 'blue' }\n\t\t */\n\t\tscale?: object;\n\t\t/**\n\t\t * use a carbon dataviz preset color palette\n\t\t * put the index (selection of which variant)\n\t\t */\n\t\tpairing?: {\n\t\t\t/**\n\t\t\t * the number of color variants in the palette (defaults to using the number of data groups in the given data)\n\t\t\t */\n\t\t\tnumberOfVariants?: number;\n\t\t\t/**\n\t\t\t * the option number of the color paring\n\t\t\t */\n\t\t\toption?: number;\n\t\t};\n\t\t/*\n\t\t * options related to gradient\n\t\t * e.g. { enabled: true }\n\t\t */\n\t\tgradient?: object;\n\t};\n}\n\n/**\n * Options common to any chart with an axis\n */\nexport interface AxisChartOptions extends BaseChartOptions {\n\taxes?: AxesOptions<AxisOptions>;\n\tgrid?: GridOptions;\n\ttimeScale?: TimeScaleOptions;\n\t/**\n\t * zoombar configuration\n\t */\n\tzoomBar?: ZoomBarsOptions;\n}\n\n/**\n * Options common to binned charts with an axis\n */\nexport interface BinnedAxisChartOptions extends AxisChartOptions {\n\taxes?: AxesOptions<BinnedAxisOptions>;\n\tgrid?: GridOptions;\n\ttimeScale?: TimeScaleOptions;\n\t/**\n\t * zoombar configuration\n\t */\n\tzoomBar?: ZoomBarsOptions;\n}\n\n/**\n * options specific to boxplot charts\n */\nexport interface BoxplotChartOptions extends AxisChartOptions {}\n\n/**\n * options specific to bar charts\n */\nexport interface BarChartOptions extends AxisChartOptions {\n\tbars?: BarOptions;\n}\n\n/**\n * options specific to stacked bar charts\n */\nexport interface StackedBarChartOptions extends BarChartOptions {\n\tbars?: StackedBarOptions;\n}\n\n/**\n * options specific to scatter charts\n */\nexport interface ScatterChartOptions extends AxisChartOptions {\n\t/**\n\t * options for the points\n\t */\n\tpoints?: {\n\t\t/**\n\t\t * sets the radius of the point\n\t\t */\n\t\tradius: number;\n\t\tfillOpacity?: number;\n\t\tfilled?: boolean;\n\t\tenabled?: boolean;\n\t};\n}\n\n/**\n * options specific to lollipop charts\n */\nexport interface LollipopChartOptions extends ScatterChartOptions {}\n\n/**\n * options specific to bubble charts\n */\nexport interface BubbleChartOptions extends AxisChartOptions {\n\t/**\n\t * options for the individual bubbles\n\t */\n\tbubble?: {\n\t\t/**\n\t\t * the key to lookup in charting data for the bubble radius value\n\t\t */\n\t\tradiusMapsTo?: string;\n\t\t/**\n\t\t * options for what the bubble radius value maps to\n\t\t */\n\t\tradiusLabel?: string;\n\t\t/**\n\t\t * A function that would determine the range of the bubble radius to use\n\t\t * Returns an array with the 1st value being the min and the 2nd value being the max radius\n\t\t */\n\t\tradiusRange?: Function;\n\t\t/**\n\t\t * Opacity of the fills used within each circle\n\t\t */\n\t\tfillOpacity?: number;\n\t\t/**\n\t\t * enabled scatter dot or not\n\t\t */\n\t\tenabled?: boolean;\n\t};\n}\n\n/**\n * options specific to bullet charts\n */\nexport interface BulletChartOptions extends AxisChartOptions {\n\t/**\n\t * options for the individual bullets\n\t */\n\tbullet?: {\n\t\tperformanceAreaTitles?: string[];\n\t};\n}\n\n/**\n * options specific to histogram charts\n */\nexport interface HistogramChartOptions extends AxisChartOptions {\n\t/**\n\t * options related to bins\n\t */\n\tbins?: {\n\t\trangeLabel?: string;\n\t};\n}\n\n/**\n * options specific to line charts\n */\nexport interface LineChartOptions extends ScatterChartOptions {\n\t/**\n\t * options for the curve of the line\n\t */\n\tcurve?:\n\t\t| string\n\t\t| {\n\t\t\t\tname: string;\n\t\t };\n}\n\n/**\n * options specific to area charts\n */\nexport interface AreaChartOptions extends AxisChartOptions {\n\t/**\n\t * options for the curve of the line\n\t */\n\tcurve?:\n\t\t| string\n\t\t| {\n\t\t\t\tname: string;\n\t\t };\n\t/**\n\t * options to bound the area of the chart\n\t */\n\tbounds?: {\n\t\tupperBoundMapsTo?: string;\n\t\tlowerBoundMapsTo?: string;\n\t};\n}\n\n/**\n * options specific to area charts\n */\nexport interface StackedAreaChartOptions extends ScatterChartOptions {\n\t/**\n\t * options for the curve of the line\n\t */\n\tcurve?:\n\t\t| string\n\t\t| {\n\t\t\t\tname: string;\n\t\t };\n}\n\n/**\n * options specific to world cloud charts\n */\nexport interface WordCloudChartTooltipOptions extends TooltipOptions {\n\t/** the label that shows up by the highlighted word in the tooltip */\n\twordLabel?: string;\n\t/** the label that shows up by the value of the highlighted word in the tooltip */\n\tvalueLabel?: string;\n}\n\nexport interface WorldCloudChartOptions extends BaseChartOptions {\n\twordCloud?: {\n\t\t/** what key in your charting data will the font sizes map to? */\n\t\tfontSizeMapsTo?: string;\n\t\t/** a function (chartSize, data) => {} that'll decide the range of font sizes, e.g. [10, 80] */\n\t\tfontSizeRange?: Function;\n\t\t/** what key in your charting data will the words map to? */\n\t\twordMapsTo?: string;\n\t};\n\t/**\n\t * tooltip configuration\n\t */\n\ttooltip?: WordCloudChartTooltipOptions;\n}\n\n/**\n * options specific to pie charts\n */\nexport interface PieChartOptions extends BaseChartOptions {\n\tpie?: {\n\t\tlabels?: {\n\t\t\tformatter?: Function;\n\t\t\tenabled?: Boolean;\n\t\t};\n\t\talignment?: Alignments;\n\t\t/**\n\t\t * identifier for value key in your charting data\n\t\t * defaults to value\n\t\t */\n\t\tvalueMapsTo?: string;\n\t\tsortFunction?: (a: any, b: any) => number;\n\t};\n}\n\n/**\n * options specific to gauge charts\n */\nexport interface GaugeChartOptions extends BaseChartOptions {\n\tgauge?: {\n\t\tarcWidth?: number;\n\t\tdeltaArrow?: {\n\t\t\tdirection?: ArrowDirections;\n\t\t\tsize?: Function;\n\t\t\tenabled: Boolean;\n\t\t};\n\t\tshowPercentageSymbol?: Boolean;\n\t\tstatus?: Statuses;\n\t\tdeltaFontSize?: Function;\n\t\tnumberSpacing?: number;\n\t\tnumberFormatter?: Function;\n\t\tvalueFontSize?: Function;\n\t\ttype?: GaugeTypes;\n\t\talignment?: Alignments;\n\t};\n}\n\n/**\n * options specific to donut charts\n */\nexport interface DonutChartOptions extends PieChartOptions {\n\tdonut?: {\n\t\tcenter?: {\n\t\t\tlabel?: string;\n\t\t\tnumber?: number;\n\t\t\tnumberFontSize?: Function;\n\t\t\ttitleFontSize?: Function;\n\t\t\ttitleYPosition?: Function;\n\t\t\tnumberFormatter?: Function;\n\t\t};\n\t\talignment?: Alignments;\n\t};\n}\n\nexport interface MeterChartOptions extends BaseChartOptions {\n\tmeter?: {\n\t\tproportional?: {\n\t\t\ttotal?: number;\n\t\t\tunit?: string;\n\t\t};\n\t\tpeak?: number;\n\t\tstatus?: {\n\t\t\tranges: Array<{\n\t\t\t\trange: [number, number];\n\t\t\t\tstatus: Statuses;\n\t\t\t}>;\n\t\t};\n\t\theight?: number;\n\t\ttitle?: {\n\t\t\tpercentageIndicator?: {\n\t\t\t\t/**\n\t\t\t\t * rendering of the percentage value relative to the dataset within title\n\t\t\t\t */\n\t\t\t\tenabled?: boolean;\n\t\t\t};\n\t\t};\n\t};\n}\n\nexport interface ProportionalMeterChartOptions extends BaseChartOptions {\n\tmeter?: {\n\t\tproportional?: {\n\t\t\ttotal?: number;\n\t\t\tunit?: string;\n\t\t};\n\t};\n}\n\n/**\n * options specific to radar charts\n */\nexport interface RadarChartOptions extends BaseChartOptions {\n\tradar?: {\n\t\taxes: {\n\t\t\tangle: string;\n\t\t\tvalue: string;\n\t\t};\n\t\talignment?: Alignments;\n\t};\n}\n\n/**\n * options specific to combo charts\n */\nexport interface ComboChartOptions extends AxisChartOptions {\n\tcomboChartTypes: Array<{\n\t\ttype: ChartTypes | any;\n\t\toptions?: object;\n\t\tcorrespondingDatasets: Array<string>;\n\t}>;\n}\n\n/*\n * options specific to treemap charts\n */\nexport interface TreemapChartOptions extends BaseChartOptions {}\n\n/*\n * options specific to tree charts\n */\nexport interface TreeChartOptions extends BaseChartOptions {\n\ttree?: {\n\t\ttype?: TreeTypes;\n\t\trootTitle?: string;\n\t}\n}\n\n/*\n * options specific to circle pack charts\n */\nexport interface CirclePackChartOptions extends BaseChartOptions {\n\tcirclePack?: {\n\t\tcircles: {\n\t\t\tfillOpacity: number;\n\t\t};\n\t\t// depth of nodes to display\n\t\thierachyLevel: number;\n\t\tpadding?: {\n\t\t\touter?: number;\n\t\t\tinner?: number;\n\t\t};\n\t};\n}\n"]}
|
package/interfaces/enums.d.ts
CHANGED
|
@@ -91,6 +91,13 @@ export declare enum LegendOrientations {
|
|
|
91
91
|
HORIZONTAL = "horizontal",
|
|
92
92
|
VERTICAL = "vertical"
|
|
93
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* enum of tree types for the tree chart
|
|
96
|
+
*/
|
|
97
|
+
export declare enum TreeTypes {
|
|
98
|
+
TREE = "tree",
|
|
99
|
+
DENDROGRAM = "dendrogram"
|
|
100
|
+
}
|
|
94
101
|
/**
|
|
95
102
|
* enum of all possible layout directions
|
|
96
103
|
*/
|
package/interfaces/enums.js
CHANGED
|
@@ -102,6 +102,14 @@ export var LegendOrientations;
|
|
|
102
102
|
LegendOrientations["HORIZONTAL"] = "horizontal";
|
|
103
103
|
LegendOrientations["VERTICAL"] = "vertical";
|
|
104
104
|
})(LegendOrientations || (LegendOrientations = {}));
|
|
105
|
+
/**
|
|
106
|
+
* enum of tree types for the tree chart
|
|
107
|
+
*/
|
|
108
|
+
export var TreeTypes;
|
|
109
|
+
(function (TreeTypes) {
|
|
110
|
+
TreeTypes["TREE"] = "tree";
|
|
111
|
+
TreeTypes["DENDROGRAM"] = "dendrogram";
|
|
112
|
+
})(TreeTypes || (TreeTypes = {}));
|
|
105
113
|
/**
|
|
106
114
|
* enum of all possible layout directions
|
|
107
115
|
*/
|
package/interfaces/enums.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["enums.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,UAAU,CAAC;AACvC,MAAM,CAAC,IAAM,MAAM,GAAG,UAAU,CAAC;AAEjC,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACtB,4BAAa,CAAA;IACb,0BAAW,CAAA;AACZ,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,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AAJD,WAAY,aAAa;IACxB,kCAAiB,CAAA;IACjB,8BAAa,CAAA;IACb,gCAAe,CAAA;AAChB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,UAQX;AARD,WAAY,UAAU;IACrB,iCAAmB,CAAA;IACnB,2BAAa,CAAA;IACb,uCAAyB,CAAA;IACzB,yCAA2B,CAAA;IAC3B,yCAA2B,CAAA;IAC3B,2BAAa,CAAA;IACb,2CAA6B,CAAA;AAC9B,CAAC,EARW,UAAU,KAAV,UAAU,QAQrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,mDAA4B,CAAA;IAC5B,mDAA4B,CAAA;IAC5B,mDAA4B,CAAA;IAC5B,0CAAmB,CAAA;IACnB,4CAAqB,CAAA;IACrB,gDAAyB,CAAA;IACzB,0DAAmC,CAAA;IACnC,+DAAwC,CAAA;AACzC,CAAC,EATW,mBAAmB,KAAnB,mBAAmB,QAS9B;AACD;;GAEG;AACH,MAAM,CAAN,IAAY,qBAGX;AAHD,WAAY,qBAAqB;IAChC,sCAAa,CAAA;IACb,wCAAe,CAAA;AAChB,CAAC,EAHW,qBAAqB,KAArB,qBAAqB,QAGhC;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,cAQX;AARD,WAAY,cAAc;IACzB,uCAAqB,CAAA;IACrB,mCAAiB,CAAA;IACjB,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,+BAAa,CAAA;AACd,CAAC,EARW,cAAc,KAAd,cAAc,QAQzB","sourcesContent":["import * as EventEnums from './events';\nexport const Events = EventEnums;\n\nexport enum RenderTypes {\n\tHTML = 'html',\n\tSVG = 'svg',\n}\n\n/**\n * enum of all supported chart themes\n */\nexport enum ChartTheme {\n\tDEFAULT = 'default',\n\tG100 = 'g100',\n\tG90 = 'g90',\n\tG10 = 'g10',\n}\n\n/**\n * enum of all color classname types\n */\nexport enum ColorClassNameTypes {\n\tBACKGROUND = 'background',\n\tFILL = 'fill',\n\tSTROKE = 'stroke',\n\tTOOLTIP = 'tooltip',\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum AxisPositions {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n\tTOP = 'top',\n\tBOTTOM = 'bottom',\n}\n\n/**\n * enum of all possible axis positions\n */\nexport enum ZoomBarTypes {\n\tGRAPH_VIEW = 'graph_view',\n\tSLIDER_VIEW = 'slider_view',\n}\n\n/**\n * enum of all possible truncation types\n */\nexport enum TruncationTypes {\n\tEND_LINE = 'end_line',\n\tMID_LINE = 'mid_line',\n\tFRONT_LINE = 'front_line',\n\tNONE = 'none',\n}\n\n/**\n * enum of all possible cartesian orientations\n * to be used for determining the orientation\n * of graphs being draw over\n * cartesian scales\n */\nexport enum CartesianOrientations {\n\tVERTICAL = 'vertical',\n\tHORIZONTAL = 'horizontal',\n}\n\n/**\n * enum of all possible scale types\n */\nexport enum ScaleTypes {\n\tTIME = 'time',\n\tLINEAR = 'linear',\n\tLOG = 'log',\n\tLABELS = 'labels',\n\tLABELS_RATIO = 'labels-ratio',\n}\n\n/**\n * enum of all possible legend positions\n */\nexport enum LegendPositions {\n\tRIGHT = 'right',\n\tLEFT = 'left',\n\tTOP = 'top',\n\tBOTTOM = 'bottom',\n}\n\n/**\n * enum of all possible alignments\n */\nexport enum Alignments {\n\tLEFT = 'left',\n\tCENTER = 'center',\n\tRIGHT = 'right',\n}\n\n/**\n * enum of all possible legend orientations\n */\nexport enum LegendOrientations {\n\tHORIZONTAL = 'horizontal',\n\tVERTICAL = 'vertical',\n}\n\n/**\n * enum of tree types for the tree chart\n */\nexport enum TreeTypes {\n\tTREE = 'tree',\n\tDENDROGRAM = 'dendrogram',\n}\n\n/**\n * enum of all possible layout directions\n */\nexport enum LayoutDirection {\n\tROW = 'row',\n\tCOLUMN = 'column',\n\tROW_REVERSE = 'row-reverse',\n\tCOLUMN_REVERSE = 'column-reverse',\n}\n\n/**\n * enum of all possible layout growth values\n */\nexport enum LayoutGrowth {\n\tFIXED = 'fixed',\n\tPREFERRED = 'preferred',\n\tSTRETCH = 'stretch',\n}\n\n/**\n * enum of all possible layout align-items values\n */\nexport enum LayoutAlignItems {\n\tCENTER = 'center',\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum CalloutDirections {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n}\n\n/**\n * enum of all possible skeleton/empty state types\n */\nexport enum Skeletons {\n\tGRID = 'grid',\n\tVERT_OR_HORIZ = 'vertOrHoriz',\n\tPIE = 'pie',\n\tDONUT = 'donut',\n}\n\n/**\n * enum of all possible attributes used to aling text horizontally\n */\nexport enum TextAnchor {\n\tSTART = 'start',\n\tMIDDLE = 'middle',\n\tEND = 'end',\n}\n\n/**\n * enum of all possible attributes used to aling text vertically\n */\nexport enum DominantBaseline {\n\tBASELINE = 'baseline',\n\tMIDDLE = 'middle',\n\tHANGING = 'hanging',\n}\n\nexport enum GaugeTypes {\n\tSEMI = 'semi',\n\tFULL = 'full',\n}\n\n/**\n * enum of all possible callout directions\n */\nexport enum ArrowDirections {\n\tUP = 'up',\n\tDOWN = 'down',\n}\n\n/**\n * enum of carbon statuses\n */\nexport enum Statuses {\n\tSUCCESS = 'success',\n\tWARNING = 'warning',\n\tDANGER = 'danger',\n}\n\n/**\n * enum of axis ticks rotation\n */\nexport enum TickRotations {\n\tALWAYS = 'always',\n\tAUTO = 'auto',\n\tNEVER = 'never',\n}\n\n/**\n * enum of chartTypes that work with combo chart\n */\nexport enum ChartTypes {\n\tSCATTER = 'scatter',\n\tLINE = 'line',\n\tSIMPLE_BAR = 'simple-bar',\n\tSTACKED_BAR = 'stacked-bar',\n\tGROUPED_BAR = 'grouped-bar',\n\tAREA = 'area',\n\tSTACKED_AREA = 'stacked-area',\n}\n\n/**\n * enum of supported toolbar control types\n */\nexport enum ToolbarControlTypes {\n\tEXPORT_CSV = 'Export as CSV',\n\tEXPORT_PNG = 'Export as PNG',\n\tEXPORT_JPG = 'Export as JPG',\n\tZOOM_IN = 'Zoom in',\n\tZOOM_OUT = 'Zoom out',\n\tRESET_ZOOM = 'Reset zoom',\n\tMAKE_FULLSCREEN = 'Make fullscreen',\n\tSHOW_AS_DATATABLE = 'Show as data-table',\n}\n/**\n * enum of title orientations for _vertical axes_\n */\nexport enum AxisTitleOrientations {\n\tLEFT = 'left',\n\tRIGHT = 'right',\n}\n\n/**\n * enum of legend item type\n */\nexport enum LegendItemType {\n\tCHECKBOX = 'checkbox',\n\tRADIUS = 'radius',\n\tAREA = 'area',\n\tSIZE = 'size',\n\tLINE = 'line',\n\tQUARTILE = 'quartile',\n\tZOOM = 'zoom',\n}\n"]}
|
package/interfaces/events.d.ts
CHANGED
|
@@ -143,6 +143,14 @@ export declare enum Radar {
|
|
|
143
143
|
X_AXIS_CLICK = "radar-x-axis-click",
|
|
144
144
|
X_AXIS_MOUSEOUT = "radar-x-axis-mouseout"
|
|
145
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* enum of all tree graph events
|
|
148
|
+
*/
|
|
149
|
+
export declare enum Tree {
|
|
150
|
+
NODE_MOUSEOVER = "tree-node-mouseover",
|
|
151
|
+
NODE_CLICK = "tree-node-click",
|
|
152
|
+
NODE_MOUSEOUT = "tree-node-mouseout"
|
|
153
|
+
}
|
|
146
154
|
/**
|
|
147
155
|
* enum of all treemap graph events
|
|
148
156
|
*/
|
package/interfaces/events.js
CHANGED
|
@@ -162,6 +162,15 @@ export var Radar;
|
|
|
162
162
|
Radar["X_AXIS_CLICK"] = "radar-x-axis-click";
|
|
163
163
|
Radar["X_AXIS_MOUSEOUT"] = "radar-x-axis-mouseout";
|
|
164
164
|
})(Radar || (Radar = {}));
|
|
165
|
+
/**
|
|
166
|
+
* enum of all tree graph events
|
|
167
|
+
*/
|
|
168
|
+
export var Tree;
|
|
169
|
+
(function (Tree) {
|
|
170
|
+
Tree["NODE_MOUSEOVER"] = "tree-node-mouseover";
|
|
171
|
+
Tree["NODE_CLICK"] = "tree-node-click";
|
|
172
|
+
Tree["NODE_MOUSEOUT"] = "tree-node-mouseout";
|
|
173
|
+
})(Tree || (Tree = {}));
|
|
165
174
|
/**
|
|
166
175
|
* enum of all treemap graph events
|
|
167
176
|
*/
|
package/interfaces/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["events.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,KAOX;AAPD,WAAY,KAAK;IAChB,4CAAmC,CAAA;IACnC,gCAAuB,CAAA;IACvB,sCAA6B,CAAA;IAC7B,iCAAiC;IACjC,yBAAyB;IACzB,oCAA2B,CAAA;AAC5B,CAAC,EAPW,KAAK,KAAL,KAAK,QAOhB;AACD;;GAEG;AACH,MAAM,CAAN,IAAY,KAGX;AAHD,WAAY,KAAK;IAChB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACpB,CAAC,EAHW,KAAK,KAAL,KAAK,QAGhB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,KAEX;AAFD,WAAY,KAAK;IAChB,gCAAuB,CAAA;AACxB,CAAC,EAFW,KAAK,KAAL,KAAK,QAEhB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,OAGX;AAHD,WAAY,OAAO;IAClB,4DAAiD,CAAA;IACjD,4DAAiD,CAAA;AAClD,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,OAKX;AALD,WAAY,OAAO;IAClB,qCAA0B,CAAA;IAC1B,uDAA4C,CAAA;IAC5C,mEAAwD,CAAA;IACxD,mDAAwC,CAAA;AACzC,CAAC,EALW,OAAO,KAAP,OAAO,QAKlB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,UAEX;AAFD,WAAY,UAAU;IACrB,2CAA6B,CAAA;AAC9B,CAAC,EAFW,UAAU,KAAV,UAAU,QAErB;AAED;;GAEG;A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IACvB,oCAAuB,CAAA;AACxB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IACjB,4CAAkC,CAAA;IAClC,4CAAkC,CAAA;IAClC,kDAAwC,CAAA;IACxC,8CAAoC,CAAA;AACrC,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACrB,wDAA0C,CAAA;IAC1C,gDAAkC,CAAA;IAClC,sDAAwC,CAAA;IACxC,wDAA0C,CAAA;AAC3C,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,KAKX;AALD,WAAY,KAAK;IAChB,4CAAmC,CAAA;IACnC,oCAA2B,CAAA;IAC3B,0CAAiC,CAAA;IACjC,4CAAmC,CAAA;AACpC,CAAC,EALW,KAAK,KAAL,KAAK,QAKhB","sourcesContent":["/**\n * enum of all events related to the chart on the DOM\n */\nexport enum Chart {\n\tRENDER_FINISHED = 'render-finished',\n\tRESIZE = 'chart-resize',\n\tMOUSEOVER = 'chart-mouseover',\n\t// MOUSEMOVE = \"chart-mousemove\",\n\t// CLICK = \"chart-click\",\n\tMOUSEOUT = 'chart-mouseout',\n}\n/**\n * enum of all events related to the overlay modal\n */\nexport enum Modal {\n\tSHOW = 'show-modal',\n\tHIDE = 'hide-modal',\n}\n\n/**\n * enum of all events related to the chart model\n */\nexport enum Model {\n\tUPDATE = 'model-update',\n}\n\n/**\n * enum of all toolbar events\n */\nexport enum Toolbar {\n\tSHOW_OVERFLOW_MENU = 'show-toolbar-overflow-menu',\n\tHIDE_OVERFLOW_MENU = 'hide-toolbar-overflow-menu',\n}\n\n/**\n * enum of all events related to the zoom-bar\n */\nexport enum ZoomBar {\n\tUPDATE = 'zoom-bar-update',\n\tSELECTION_START = 'zoom-bar-selection-start',\n\tSELECTION_IN_PROGRESS = 'zoom-bar-selection-in-progress',\n\tSELECTION_END = 'zoom-bar-selection-end',\n}\n\n/**\n * enum of all events related to the zoom domain\n */\nexport enum ZoomDomain {\n\tCHANGE = 'zoom-domain-change',\n}\n\n/** enum of all events related to canvas zoom *\n *\n */\nexport enum CanvasZoom {\n\tCANVAS_ZOOM_IN = 'canvas-zoom-in',\n\tCANVAS_ZOOM_OUT = 'canvas-zoom-out',\n}\n\n/**\n * enum of all axis-related events\n */\nexport enum Axis {\n\tLABEL_MOUSEOVER = 'axis-label-mouseover',\n\tLABEL_MOUSEMOVE = 'axis-label-mousemove',\n\tLABEL_CLICK = 'axis-label-click',\n\tLABEL_MOUSEOUT = 'axis-label-mouseout',\n}\n\n/**\n * enum of all area graph events\n */\nexport enum Area {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout',\n}\n\n/**\n * enum of all wordcloud graph events\n */\nexport enum WordCloud {\n\tWORD_MOUSEOVER = 'wordcloud-word-mouseover',\n\tWORD_MOUSEMOVE = 'wordcloud-word-mousemove',\n\tWORD_CLICK = 'wordcloud-word-click',\n\tWORD_MOUSEOUT = 'wordcloud-word-mouseout',\n}\n\n/**\n * enum of all pie graph events\n */\nexport enum Pie {\n\tSLICE_MOUSEOVER = 'pie-slice-mouseover',\n\tSLICE_MOUSEMOVE = 'pie-slice-mousemove',\n\tSLICE_CLICK = 'pie-slice-click',\n\tSLICE_MOUSEOUT = 'pie-slice-mouseout',\n}\n\n/**\n * enum of all gauge graph events\n */\nexport enum Gauge {\n\tARC_MOUSEOVER = 'gauge-arc-mouseover',\n\tARC_MOUSEMOVE = 'gauge-arc-mousemove',\n\tARC_CLICK = 'gauge-arc-click',\n\tARC_MOUSEOUT = 'gauge-arc-mouseout',\n}\n\n/**\n * enum of all bar graph events\n */\nexport enum Bar {\n\tBAR_MOUSEOVER = 'bar-mouseover',\n\tBAR_MOUSEMOVE = 'bar-mousemove',\n\tBAR_CLICK = 'bar-click',\n\tBAR_MOUSEOUT = 'bar-mouseout',\n}\n\n/**\n * enum of all boxplot graph events\n */\nexport enum Boxplot {\n\tBOX_MOUSEOVER = 'box-mouseover',\n\tBOX_MOUSEMOVE = 'box-mousemove',\n\tBOX_CLICK = 'box-click',\n\tBOX_MOUSEOUT = 'box-mouseout',\n\tOUTLIER_MOUSEOVER = 'outlier-mouseover',\n\tOUTLIER_MOUSEMOVE = 'outlier-mousemove',\n\tOUTLIER_CLICK = 'outlier-click',\n\tOUTLIER_MOUSEOUT = 'outlier-mouseout',\n}\n\n/**\n * enum of all scatter graph events\n */\nexport enum Scatter {\n\tSCATTER_MOUSEOVER = 'scatter-mouseover',\n\tSCATTER_MOUSEMOVE = 'scatter-mousemove',\n\tSCATTER_CLICK = 'scatter-click',\n\tSCATTER_MOUSEOUT = 'scatter-mouseout',\n}\n\n/**\n * enum of all line graph events\n */\nexport enum Line {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout',\n}\n\n/**\n * enum of all radar graph events\n */\nexport enum Radar {\n\tX_AXIS_MOUSEOVER = 'radar-x-axis-mouseover',\n\tX_AXIS_MOUSEMOVE = 'radar-x-axis-mousemove',\n\tX_AXIS_CLICK = 'radar-x-axis-click',\n\tX_AXIS_MOUSEOUT = 'radar-x-axis-mouseout',\n}\n\n/**\n * enum of all treemap graph events\n */\nexport enum Treemap {\n\tLEAF_MOUSEOVER = 'leaf-mouseover',\n\tLEAF_MOUSEMOVE = 'leaf-mousemove',\n\tLEAF_CLICK = 'leaf-click',\n\tLEAF_MOUSEOUT = 'leaf-mouseout',\n}\n\n/**\n * enum of all tooltip events\n */\nexport enum Tooltip {\n\tSHOW = 'show-tooltip',\n\tMOVE = 'move-tooltip',\n\tHIDE = 'hide-tooltip',\n}\n\n/**\n * enum of all threshold events\n */\nexport enum Threshold {\n\tSHOW = 'show-threshold',\n\tHIDE = 'hide-threshold',\n}\n\n/**\n * enum of all legend related events\n */\nexport enum Legend {\n\tITEM_HOVER = 'legend-item-onhover',\n\tITEM_CLICK = 'legend-item-onclick',\n\tITEM_MOUSEOUT = 'legend-item-onmouseout',\n\tITEMS_UPDATE = 'legend-items-update',\n}\n\n/**\n * enum of all circlepack related events\n */\nexport enum CirclePack {\n\tCIRCLE_MOUSEOVER = 'circle-leaf-mouseover',\n\tCIRCLE_CLICK = 'circle-leaf-click',\n\tCIRCLE_MOUSEOUT = 'circle-leaf-mouseout',\n\tCIRCLE_MOUSEMOVE = 'circle-leaf-mousemove',\n}\n\n/**\n * enum of all meter related events\n */\nexport enum Meter {\n\tMETER_MOUSEOVER = 'meter-mouseover',\n\tMETER_CLICK = 'meter-click',\n\tMETER_MOUSEOUT = 'meter-mouseout',\n\tMETER_MOUSEMOVE = 'meter-mousemove',\n}\n"]}
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["events.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,KAOX;AAPD,WAAY,KAAK;IAChB,4CAAmC,CAAA;IACnC,gCAAuB,CAAA;IACvB,sCAA6B,CAAA;IAC7B,iCAAiC;IACjC,yBAAyB;IACzB,oCAA2B,CAAA;AAC5B,CAAC,EAPW,KAAK,KAAL,KAAK,QAOhB;AACD;;GAEG;AACH,MAAM,CAAN,IAAY,KAGX;AAHD,WAAY,KAAK;IAChB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACpB,CAAC,EAHW,KAAK,KAAL,KAAK,QAGhB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,KAEX;AAFD,WAAY,KAAK;IAChB,gCAAuB,CAAA;AACxB,CAAC,EAFW,KAAK,KAAL,KAAK,QAEhB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,OAGX;AAHD,WAAY,OAAO;IAClB,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N,IAAY,IAIX;AAJD,WAAY,IAAI;IACf,8CAAsC,CAAA;IACtC,sCAA8B,CAAA;IAC9B,4CAAoC,CAAA;AACrC,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,OAKX;AALD,WAAY,OAAO;IAClB,4CAAiC,CAAA;IACjC,4CAAiC,CAAA;IACjC,oCAAyB,CAAA;IACzB,0CAA+B,CAAA;AAChC,CAAC,EALW,OAAO,KAAP,OAAO,QAKlB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,OAIX;AAJD,WAAY,OAAO;IAClB,gCAAqB,CAAA;IACrB,gCAAqB,CAAA;IACrB,gCAAqB,CAAA;AACtB,CAAC,EAJW,OAAO,KAAP,OAAO,QAIlB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACpB,oCAAuB,CAAA;IACvB,oCAAuB,CAAA;AACxB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,MAKX;AALD,WAAY,MAAM;IACjB,4CAAkC,CAAA;IAClC,4CAAkC,CAAA;IAClC,kDAAwC,CAAA;IACxC,8CAAoC,CAAA;AACrC,CAAC,EALW,MAAM,KAAN,MAAM,QAKjB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,UAKX;AALD,WAAY,UAAU;IACrB,wDAA0C,CAAA;IAC1C,gDAAkC,CAAA;IAClC,sDAAwC,CAAA;IACxC,wDAA0C,CAAA;AAC3C,CAAC,EALW,UAAU,KAAV,UAAU,QAKrB;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,KAKX;AALD,WAAY,KAAK;IAChB,4CAAmC,CAAA;IACnC,oCAA2B,CAAA;IAC3B,0CAAiC,CAAA;IACjC,4CAAmC,CAAA;AACpC,CAAC,EALW,KAAK,KAAL,KAAK,QAKhB","sourcesContent":["/**\n * enum of all events related to the chart on the DOM\n */\nexport enum Chart {\n\tRENDER_FINISHED = 'render-finished',\n\tRESIZE = 'chart-resize',\n\tMOUSEOVER = 'chart-mouseover',\n\t// MOUSEMOVE = \"chart-mousemove\",\n\t// CLICK = \"chart-click\",\n\tMOUSEOUT = 'chart-mouseout',\n}\n/**\n * enum of all events related to the overlay modal\n */\nexport enum Modal {\n\tSHOW = 'show-modal',\n\tHIDE = 'hide-modal',\n}\n\n/**\n * enum of all events related to the chart model\n */\nexport enum Model {\n\tUPDATE = 'model-update',\n}\n\n/**\n * enum of all toolbar events\n */\nexport enum Toolbar {\n\tSHOW_OVERFLOW_MENU = 'show-toolbar-overflow-menu',\n\tHIDE_OVERFLOW_MENU = 'hide-toolbar-overflow-menu',\n}\n\n/**\n * enum of all events related to the zoom-bar\n */\nexport enum ZoomBar {\n\tUPDATE = 'zoom-bar-update',\n\tSELECTION_START = 'zoom-bar-selection-start',\n\tSELECTION_IN_PROGRESS = 'zoom-bar-selection-in-progress',\n\tSELECTION_END = 'zoom-bar-selection-end',\n}\n\n/**\n * enum of all events related to the zoom domain\n */\nexport enum ZoomDomain {\n\tCHANGE = 'zoom-domain-change',\n}\n\n/** enum of all events related to canvas zoom *\n *\n */\nexport enum CanvasZoom {\n\tCANVAS_ZOOM_IN = 'canvas-zoom-in',\n\tCANVAS_ZOOM_OUT = 'canvas-zoom-out',\n}\n\n/**\n * enum of all axis-related events\n */\nexport enum Axis {\n\tLABEL_MOUSEOVER = 'axis-label-mouseover',\n\tLABEL_MOUSEMOVE = 'axis-label-mousemove',\n\tLABEL_CLICK = 'axis-label-click',\n\tLABEL_MOUSEOUT = 'axis-label-mouseout',\n}\n\n/**\n * enum of all area graph events\n */\nexport enum Area {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout',\n}\n\n/**\n * enum of all wordcloud graph events\n */\nexport enum WordCloud {\n\tWORD_MOUSEOVER = 'wordcloud-word-mouseover',\n\tWORD_MOUSEMOVE = 'wordcloud-word-mousemove',\n\tWORD_CLICK = 'wordcloud-word-click',\n\tWORD_MOUSEOUT = 'wordcloud-word-mouseout',\n}\n\n/**\n * enum of all pie graph events\n */\nexport enum Pie {\n\tSLICE_MOUSEOVER = 'pie-slice-mouseover',\n\tSLICE_MOUSEMOVE = 'pie-slice-mousemove',\n\tSLICE_CLICK = 'pie-slice-click',\n\tSLICE_MOUSEOUT = 'pie-slice-mouseout',\n}\n\n/**\n * enum of all gauge graph events\n */\nexport enum Gauge {\n\tARC_MOUSEOVER = 'gauge-arc-mouseover',\n\tARC_MOUSEMOVE = 'gauge-arc-mousemove',\n\tARC_CLICK = 'gauge-arc-click',\n\tARC_MOUSEOUT = 'gauge-arc-mouseout',\n}\n\n/**\n * enum of all bar graph events\n */\nexport enum Bar {\n\tBAR_MOUSEOVER = 'bar-mouseover',\n\tBAR_MOUSEMOVE = 'bar-mousemove',\n\tBAR_CLICK = 'bar-click',\n\tBAR_MOUSEOUT = 'bar-mouseout',\n}\n\n/**\n * enum of all boxplot graph events\n */\nexport enum Boxplot {\n\tBOX_MOUSEOVER = 'box-mouseover',\n\tBOX_MOUSEMOVE = 'box-mousemove',\n\tBOX_CLICK = 'box-click',\n\tBOX_MOUSEOUT = 'box-mouseout',\n\tOUTLIER_MOUSEOVER = 'outlier-mouseover',\n\tOUTLIER_MOUSEMOVE = 'outlier-mousemove',\n\tOUTLIER_CLICK = 'outlier-click',\n\tOUTLIER_MOUSEOUT = 'outlier-mouseout',\n}\n\n/**\n * enum of all scatter graph events\n */\nexport enum Scatter {\n\tSCATTER_MOUSEOVER = 'scatter-mouseover',\n\tSCATTER_MOUSEMOVE = 'scatter-mousemove',\n\tSCATTER_CLICK = 'scatter-click',\n\tSCATTER_MOUSEOUT = 'scatter-mouseout',\n}\n\n/**\n * enum of all line graph events\n */\nexport enum Line {\n\tPOINT_MOUSEOVER = 'scatter-mouseover',\n\tPOINT_MOUSEMOVE = 'scatter-mousemove',\n\tPOINT_CLICK = 'scatter-click',\n\tPOINT_MOUSEOUT = 'scatter-mouseout',\n}\n\n/**\n * enum of all radar graph events\n */\nexport enum Radar {\n\tX_AXIS_MOUSEOVER = 'radar-x-axis-mouseover',\n\tX_AXIS_MOUSEMOVE = 'radar-x-axis-mousemove',\n\tX_AXIS_CLICK = 'radar-x-axis-click',\n\tX_AXIS_MOUSEOUT = 'radar-x-axis-mouseout',\n}\n\n/**\n * enum of all tree graph events\n */\nexport enum Tree {\n\tNODE_MOUSEOVER = 'tree-node-mouseover',\n\tNODE_CLICK = 'tree-node-click',\n\tNODE_MOUSEOUT = 'tree-node-mouseout'\n}\n\n/**\n * enum of all treemap graph events\n */\nexport enum Treemap {\n\tLEAF_MOUSEOVER = 'leaf-mouseover',\n\tLEAF_MOUSEMOVE = 'leaf-mousemove',\n\tLEAF_CLICK = 'leaf-click',\n\tLEAF_MOUSEOUT = 'leaf-mouseout',\n}\n\n/**\n * enum of all tooltip events\n */\nexport enum Tooltip {\n\tSHOW = 'show-tooltip',\n\tMOVE = 'move-tooltip',\n\tHIDE = 'hide-tooltip',\n}\n\n/**\n * enum of all threshold events\n */\nexport enum Threshold {\n\tSHOW = 'show-threshold',\n\tHIDE = 'hide-threshold',\n}\n\n/**\n * enum of all legend related events\n */\nexport enum Legend {\n\tITEM_HOVER = 'legend-item-onhover',\n\tITEM_CLICK = 'legend-item-onclick',\n\tITEM_MOUSEOUT = 'legend-item-onmouseout',\n\tITEMS_UPDATE = 'legend-items-update',\n}\n\n/**\n * enum of all circlepack related events\n */\nexport enum CirclePack {\n\tCIRCLE_MOUSEOVER = 'circle-leaf-mouseover',\n\tCIRCLE_CLICK = 'circle-leaf-click',\n\tCIRCLE_MOUSEOUT = 'circle-leaf-mouseout',\n\tCIRCLE_MOUSEMOVE = 'circle-leaf-mousemove',\n}\n\n/**\n * enum of all meter related events\n */\nexport enum Meter {\n\tMETER_MOUSEOVER = 'meter-mouseover',\n\tMETER_CLICK = 'meter-click',\n\tMETER_MOUSEOUT = 'meter-mouseout',\n\tMETER_MOUSEMOVE = 'meter-mousemove',\n}\n"]}
|
package/package.json
CHANGED