@hpcc-js/chart 2.86.1 → 2.86.3

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.
Files changed (83) hide show
  1. package/LICENSE +43 -43
  2. package/README.md +93 -93
  3. package/dist/index.es6.js +2 -2
  4. package/dist/index.es6.js.map +1 -1
  5. package/dist/index.js +2 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.min.js +1 -1
  8. package/dist/index.min.js.map +1 -1
  9. package/package.json +6 -6
  10. package/src/Area.md +176 -176
  11. package/src/Area.ts +12 -12
  12. package/src/Axis.css +34 -34
  13. package/src/Axis.ts +733 -733
  14. package/src/Bar.md +90 -90
  15. package/src/Bar.ts +9 -9
  16. package/src/Bubble.css +16 -16
  17. package/src/Bubble.md +69 -69
  18. package/src/Bubble.ts +191 -191
  19. package/src/BubbleXY.ts +14 -14
  20. package/src/Bullet.css +60 -60
  21. package/src/Bullet.md +104 -104
  22. package/src/Bullet.ts +167 -167
  23. package/src/Column.css +17 -17
  24. package/src/Column.md +90 -90
  25. package/src/Column.ts +659 -659
  26. package/src/Contour.md +88 -88
  27. package/src/Contour.ts +97 -97
  28. package/src/D3Cloud.ts +400 -400
  29. package/src/Gantt.md +119 -119
  30. package/src/Gantt.ts +14 -14
  31. package/src/Gauge.md +148 -148
  32. package/src/Gauge.ts +358 -358
  33. package/src/HalfPie.md +62 -62
  34. package/src/HalfPie.ts +26 -26
  35. package/src/Heat.md +42 -42
  36. package/src/Heat.ts +283 -283
  37. package/src/HexBin.css +9 -9
  38. package/src/HexBin.md +88 -88
  39. package/src/HexBin.ts +139 -139
  40. package/src/Line.css +6 -6
  41. package/src/Line.md +170 -170
  42. package/src/Line.ts +14 -14
  43. package/src/Pie.css +23 -23
  44. package/src/Pie.md +88 -88
  45. package/src/Pie.ts +503 -503
  46. package/src/QuarterPie.md +61 -61
  47. package/src/QuarterPie.ts +35 -35
  48. package/src/QuartileCandlestick.md +129 -129
  49. package/src/QuartileCandlestick.ts +349 -349
  50. package/src/Radar.css +15 -15
  51. package/src/Radar.md +104 -104
  52. package/src/Radar.ts +336 -336
  53. package/src/RadialBar.css +25 -25
  54. package/src/RadialBar.md +91 -91
  55. package/src/RadialBar.ts +212 -212
  56. package/src/Scatter.css +16 -16
  57. package/src/Scatter.md +163 -163
  58. package/src/Scatter.ts +376 -376
  59. package/src/StatChart.md +117 -117
  60. package/src/StatChart.ts +253 -253
  61. package/src/Step.md +163 -163
  62. package/src/Step.ts +12 -12
  63. package/src/Summary.css +56 -56
  64. package/src/Summary.md +219 -219
  65. package/src/Summary.ts +322 -322
  66. package/src/SummaryC.md +154 -154
  67. package/src/SummaryC.ts +240 -240
  68. package/src/WordCloud.css +3 -3
  69. package/src/WordCloud.md +144 -144
  70. package/src/WordCloud.ts +263 -263
  71. package/src/XYAxis.css +41 -41
  72. package/src/XYAxis.md +149 -149
  73. package/src/XYAxis.ts +803 -803
  74. package/src/__package__.ts +3 -3
  75. package/src/__tests__/heat.ts +71 -71
  76. package/src/__tests__/index.ts +3 -3
  77. package/src/__tests__/pie.ts +20 -20
  78. package/src/__tests__/stat.ts +16 -16
  79. package/src/__tests__/test3.ts +69 -69
  80. package/src/index.ts +27 -27
  81. package/src/test.ts +71 -71
  82. package/types/__package__.d.ts +2 -2
  83. package/types-3.4/__package__.d.ts +2 -2
package/LICENSE CHANGED
@@ -1,43 +1,43 @@
1
- HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
2
-
3
- Licensed under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License.
5
- You may obtain a copy of the License at
6
-
7
- http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- Unless required by applicable law or agreed to in writing, software
10
- distributed under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
13
- limitations under the License.
14
-
15
-
16
- Intersection Algorithms Provided by Kevin Lindsey
17
- Copyright (c) 2000-2011, Kevin Lindsey
18
- All rights reserved.
19
-
20
- Redistribution and use in source and binary forms, with or without
21
- modification, are permitted provided that the following conditions are met:
22
-
23
- - Redistributions of source code must retain the above copyright notice,
24
- this list of conditions and the following disclaimer.
25
-
26
- - Redistributions in binary form must reproduce the above copyright
27
- notice, this list of conditions and the following disclaimer in the
28
- documentation and/or other materials provided with the distribution.
29
-
30
- - Neither the name of this software nor the names of its contributors
31
- may be used to endorse or promote products derived from this software
32
- without specific prior written permission.
33
-
34
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
35
- ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
36
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37
- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
38
- ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
39
- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
40
- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
41
- ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
42
- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
43
- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1
+ HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
14
+
15
+
16
+ Intersection Algorithms Provided by Kevin Lindsey
17
+ Copyright (c) 2000-2011, Kevin Lindsey
18
+ All rights reserved.
19
+
20
+ Redistribution and use in source and binary forms, with or without
21
+ modification, are permitted provided that the following conditions are met:
22
+
23
+ - Redistributions of source code must retain the above copyright notice,
24
+ this list of conditions and the following disclaimer.
25
+
26
+ - Redistributions in binary form must reproduce the above copyright
27
+ notice, this list of conditions and the following disclaimer in the
28
+ documentation and/or other materials provided with the distribution.
29
+
30
+ - Neither the name of this software nor the names of its contributors
31
+ may be used to endorse or promote products derived from this software
32
+ without specific prior written permission.
33
+
34
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
35
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
36
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
38
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
39
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
40
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
41
+ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
42
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
43
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/README.md CHANGED
@@ -1,93 +1,93 @@
1
- # @hpcc-js/chart
2
- This package is part of the mono repository "@hpcc-js" (aka Visualization Framework), for more information including [Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start), [Gallery](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html) and [Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials), please visit the main page on GitHub: [hpcc-systems/Visualization](https://github.com/hpcc-systems/Visualization).
3
-
4
- ## Exported Widgets
5
- * [Area](./src/Area)
6
- * [Bar](./src/Bar)
7
- * [Bubble](./src/Bubble)
8
- * [Bullet](./src/Bullet)
9
- * [Column](./src/Column)
10
- * [Contour](./src/Contour)
11
- * [Gantt](./src/Gantt)
12
- * [Gauge](./src/Gauge)
13
- * [Half Pie](./src/HalfPie)
14
- * [Heat](./src/Heat)
15
- * [Hex Bin](./src/HexBin)
16
- * [Line](./src/Line)
17
- * [Pie](./src/Pie)
18
- * [Quarter Pie](./src/QuarterPie)
19
- * [Quartile Candlestick](./src/QuartileCandlestick)
20
- * [Radar](./src/Radar)
21
- * [Radial Bar](./src/RadialBar)
22
- * [Scatter](./src/Scatter)
23
- * [Stat Chart](./src/StatChart)
24
- * [Step](./src/Step)
25
- * [Summary](./src/Summary)
26
- * [Summary (Canvas)](./src/SummaryC)
27
- * [Word Cloud](./src/WordCloud)
28
- * [XYAxis](./src/XYAxis)
29
-
30
- ## Stand-alone HTML Example
31
-
32
- <ClientOnly>
33
- <hpcc-preview content_selector="pre > code" style="width:100%;height:600px">
34
- <head>
35
- <title>Simple Bar Chart</title>
36
- <script src="https://cdn.jsdelivr.net/npm/@hpcc-js/common"></script>
37
- <script src="https://cdn.jsdelivr.net/npm/@hpcc-js/api"></script>
38
- <script src="https://cdn.jsdelivr.net/npm/@hpcc-js/chart"></script>
39
- </head>
40
- <body>
41
- <div id="placeholder" style="height:300px;"></div>
42
- <script>
43
- var chart = new window["@hpcc-js/chart"].Bar()
44
- .target("placeholder")
45
- .columns(["Subject", "Year 1", "Year 2", "Year 3"])
46
- .data([
47
- ["Geography", 75, 68, 65],
48
- ["English", 45, 55, -52],
49
- ["Math", 98, 92, 90],
50
- ["Science", 66, 60, 72]
51
- ])
52
- .render();
53
- </script>
54
- </body>
55
- </hpcc-preview>
56
- </ClientOnly>
57
-
58
- ## Getting Started with @hpccjs
59
- * _[Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start)_
60
- * _[Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials)_
61
- * _[Gallery](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html)_ ([alt](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html))
62
- * _[Wiki](https://github.com/hpcc-systems/Visualization/wiki)_
63
-
64
- <ClientOnly>
65
- <hpcc-vitepress style="width:100%;height:600px">
66
- <div id="placeholder" style="width:100%;height:400px">
67
- </div>
68
- <script type="module">
69
- import { Contour } from "@hpcc-js/chart";
70
-
71
- new Contour()
72
- .target("placeholder")
73
- .columns(["A", "B"])
74
- .data([
75
- [10, 10],
76
- [20, 20],
77
- [20, 30],
78
- [30, 20],
79
- [40, 30],
80
- [30, 40],
81
- [10, 20],
82
- [20, 10]
83
- ])
84
- .contourBandwidth(80)
85
- .contourStrokeWidth(0)
86
- .yAxisType("linear")
87
- .xAxisType("ordinal")
88
- .xAxisTitle("A")
89
- .render()
90
- ;
91
- </script>
92
- </hpcc-vitepress>
93
- </ClientOnly>
1
+ # @hpcc-js/chart
2
+ This package is part of the mono repository "@hpcc-js" (aka Visualization Framework), for more information including [Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start), [Gallery](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html) and [Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials), please visit the main page on GitHub: [hpcc-systems/Visualization](https://github.com/hpcc-systems/Visualization).
3
+
4
+ ## Exported Widgets
5
+ * [Area](./src/Area)
6
+ * [Bar](./src/Bar)
7
+ * [Bubble](./src/Bubble)
8
+ * [Bullet](./src/Bullet)
9
+ * [Column](./src/Column)
10
+ * [Contour](./src/Contour)
11
+ * [Gantt](./src/Gantt)
12
+ * [Gauge](./src/Gauge)
13
+ * [Half Pie](./src/HalfPie)
14
+ * [Heat](./src/Heat)
15
+ * [Hex Bin](./src/HexBin)
16
+ * [Line](./src/Line)
17
+ * [Pie](./src/Pie)
18
+ * [Quarter Pie](./src/QuarterPie)
19
+ * [Quartile Candlestick](./src/QuartileCandlestick)
20
+ * [Radar](./src/Radar)
21
+ * [Radial Bar](./src/RadialBar)
22
+ * [Scatter](./src/Scatter)
23
+ * [Stat Chart](./src/StatChart)
24
+ * [Step](./src/Step)
25
+ * [Summary](./src/Summary)
26
+ * [Summary (Canvas)](./src/SummaryC)
27
+ * [Word Cloud](./src/WordCloud)
28
+ * [XYAxis](./src/XYAxis)
29
+
30
+ ## Stand-alone HTML Example
31
+
32
+ <ClientOnly>
33
+ <hpcc-preview content_selector="pre > code" style="width:100%;height:600px">
34
+ <head>
35
+ <title>Simple Bar Chart</title>
36
+ <script src="https://cdn.jsdelivr.net/npm/@hpcc-js/common"></script>
37
+ <script src="https://cdn.jsdelivr.net/npm/@hpcc-js/api"></script>
38
+ <script src="https://cdn.jsdelivr.net/npm/@hpcc-js/chart"></script>
39
+ </head>
40
+ <body>
41
+ <div id="placeholder" style="height:300px;"></div>
42
+ <script>
43
+ var chart = new window["@hpcc-js/chart"].Bar()
44
+ .target("placeholder")
45
+ .columns(["Subject", "Year 1", "Year 2", "Year 3"])
46
+ .data([
47
+ ["Geography", 75, 68, 65],
48
+ ["English", 45, 55, -52],
49
+ ["Math", 98, 92, 90],
50
+ ["Science", 66, 60, 72]
51
+ ])
52
+ .render();
53
+ </script>
54
+ </body>
55
+ </hpcc-preview>
56
+ </ClientOnly>
57
+
58
+ ## Getting Started with @hpccjs
59
+ * _[Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start)_
60
+ * _[Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials)_
61
+ * _[Gallery](https://raw.githack.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html)_ ([alt](https://rawgit.com/hpcc-systems/Visualization/trunk/demos/gallery/gallery.html))
62
+ * _[Wiki](https://github.com/hpcc-systems/Visualization/wiki)_
63
+
64
+ <ClientOnly>
65
+ <hpcc-vitepress style="width:100%;height:600px">
66
+ <div id="placeholder" style="width:100%;height:400px">
67
+ </div>
68
+ <script type="module">
69
+ import { Contour } from "@hpcc-js/chart";
70
+
71
+ new Contour()
72
+ .target("placeholder")
73
+ .columns(["A", "B"])
74
+ .data([
75
+ [10, 10],
76
+ [20, 20],
77
+ [20, 30],
78
+ [30, 20],
79
+ [40, 30],
80
+ [30, 40],
81
+ [10, 20],
82
+ [20, 10]
83
+ ])
84
+ .contourBandwidth(80)
85
+ .contourStrokeWidth(0)
86
+ .yAxisType("linear")
87
+ .xAxisType("ordinal")
88
+ .xAxisTitle("A")
89
+ .render()
90
+ ;
91
+ </script>
92
+ </hpcc-vitepress>
93
+ </ClientOnly>
package/dist/index.es6.js CHANGED
@@ -3,8 +3,8 @@ import { publish, select, scaleTime, timeParse, timeFormat, scaleLog, format, sc
3
3
  import { normalizeRadians, degreesToRadians } from '@hpcc-js/util';
4
4
 
5
5
  var PKG_NAME = "@hpcc-js/chart";
6
- var PKG_VERSION = "2.86.1";
7
- var BUILD_VERSION = "2.108.2";
6
+ var PKG_VERSION = "2.86.2";
7
+ var BUILD_VERSION = "2.108.6";
8
8
 
9
9
  /******************************************************************************
10
10
  Copyright (c) Microsoft Corporation.