@hpcc-js/chart 2.75.0 → 2.78.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/README.md +64 -22
- package/dist/index.es6.js +600 -603
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +603 -606
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +10 -26
- package/src/Area.md +176 -0
- package/src/Bar.md +91 -0
- package/src/Bubble.md +69 -0
- package/src/Bullet.md +104 -0
- package/src/Bullet.ts +2 -2
- package/src/Column.md +90 -0
- package/src/Contour.md +88 -0
- package/src/Gantt.md +119 -0
- package/src/Gauge.md +148 -0
- package/src/HalfPie.md +62 -0
- package/src/Heat.md +1 -0
- package/src/HexBin.md +88 -0
- package/src/HexBin.ts +2 -2
- package/src/Line.md +170 -0
- package/src/Pie.md +88 -0
- package/src/Pie.ts +23 -0
- package/src/QuarterPie.md +61 -0
- package/src/QuartileCandlestick.md +129 -0
- package/src/Radar.md +104 -0
- package/src/RadialBar.md +91 -0
- package/src/Scatter.md +163 -0
- package/src/StatChart.md +117 -0
- package/src/Step.md +163 -0
- package/src/Summary.md +219 -0
- package/src/SummaryC.md +154 -0
- package/src/WordCloud.md +144 -0
- package/src/XYAxis.md +149 -0
- package/src/XYAxis.ts +1 -2
- package/src/__package__.ts +2 -2
- package/src/test.ts +31 -0
- package/types/Pie.d.ts +3 -0
- package/types/Pie.d.ts.map +1 -1
- package/types/XYAxis.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types/test.d.ts +6 -0
- package/types/test.d.ts.map +1 -0
- package/types-3.4/Pie.d.ts +3 -0
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/test.d.ts +6 -0
package/README.md
CHANGED
|
@@ -2,32 +2,43 @@
|
|
|
2
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
3
|
|
|
4
4
|
## Exported Widgets
|
|
5
|
-
* [Area](
|
|
6
|
-
* [Bar](
|
|
7
|
-
* [Bubble](
|
|
8
|
-
* [Bullet](
|
|
9
|
-
* [
|
|
10
|
-
* [
|
|
11
|
-
* [
|
|
12
|
-
* [
|
|
13
|
-
* [
|
|
14
|
-
* [
|
|
15
|
-
* [
|
|
16
|
-
* [
|
|
17
|
-
* [
|
|
18
|
-
* [
|
|
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)
|
|
19
29
|
|
|
20
30
|
## Stand-alone HTML Example
|
|
21
|
-
|
|
22
|
-
<
|
|
31
|
+
|
|
32
|
+
<ClientOnly>
|
|
33
|
+
<hpcc-preview content_selector="pre > code" style="width:100%;height:600px">
|
|
23
34
|
<head>
|
|
24
35
|
<title>Simple Bar Chart</title>
|
|
25
|
-
<script src="https://
|
|
26
|
-
<script src="https://
|
|
27
|
-
<script src="https://
|
|
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>
|
|
28
39
|
</head>
|
|
29
40
|
<body>
|
|
30
|
-
<div id="placeholder" style="
|
|
41
|
+
<div id="placeholder" style="height:300px;"></div>
|
|
31
42
|
<script>
|
|
32
43
|
var chart = new window["@hpcc-js/chart"].Bar()
|
|
33
44
|
.target("placeholder")
|
|
@@ -41,11 +52,42 @@ This package is part of the mono repository "@hpcc-js" (aka Visualization Framew
|
|
|
41
52
|
.render();
|
|
42
53
|
</script>
|
|
43
54
|
</body>
|
|
44
|
-
</
|
|
45
|
-
|
|
55
|
+
</hpcc-preview>
|
|
56
|
+
</ClientOnly>
|
|
46
57
|
|
|
47
58
|
## Getting Started with @hpccjs
|
|
48
59
|
* _[Quick Start](https://github.com/hpcc-systems/Visualization/wiki/Quick-Start)_
|
|
49
60
|
* _[Tutorials](https://github.com/hpcc-systems/Visualization/wiki/Tutorials)_
|
|
50
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))
|
|
51
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>
|