@hpcc-js/chart 3.7.4 → 3.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +43 -43
- package/README.md +93 -93
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +9 -7
- package/src/Area.md +176 -176
- package/src/Area.ts +12 -12
- package/src/Axis.css +35 -35
- package/src/Axis.ts +781 -781
- package/src/Bar.md +90 -90
- package/src/Bar.ts +9 -9
- package/src/Bubble.css +16 -16
- package/src/Bubble.md +69 -69
- package/src/Bubble.ts +196 -196
- package/src/BubbleXY.ts +14 -14
- package/src/Bullet.css +59 -59
- package/src/Bullet.md +104 -104
- package/src/Bullet.ts +176 -176
- package/src/Column.css +44 -44
- package/src/Column.md +90 -90
- package/src/Column.ts +684 -684
- package/src/Contour.md +88 -88
- package/src/Contour.ts +97 -97
- package/src/D3Cloud.ts +403 -403
- package/src/Gantt.md +119 -119
- package/src/Gantt.ts +14 -14
- package/src/Gauge.md +148 -148
- package/src/Gauge.ts +368 -368
- package/src/HalfPie.md +62 -62
- package/src/HalfPie.ts +26 -26
- package/src/Heat.md +42 -42
- package/src/Heat.ts +283 -283
- package/src/HexBin.css +8 -8
- package/src/HexBin.md +88 -88
- package/src/HexBin.ts +144 -144
- package/src/Line.css +4 -4
- package/src/Line.md +170 -170
- package/src/Line.ts +14 -14
- package/src/Pie.css +50 -50
- package/src/Pie.md +88 -88
- package/src/Pie.ts +546 -546
- package/src/QuarterPie.md +61 -61
- package/src/QuarterPie.ts +35 -35
- package/src/QuartileCandlestick.md +129 -129
- package/src/QuartileCandlestick.ts +349 -349
- package/src/Radar.css +14 -14
- package/src/Radar.md +104 -104
- package/src/Radar.ts +336 -336
- package/src/RadialBar.css +25 -25
- package/src/RadialBar.md +91 -91
- package/src/RadialBar.ts +217 -217
- package/src/Scatter.css +42 -42
- package/src/Scatter.md +163 -163
- package/src/Scatter.ts +412 -412
- package/src/StatChart.md +117 -117
- package/src/StatChart.ts +261 -261
- package/src/Step.md +163 -163
- package/src/Step.ts +12 -12
- package/src/Summary.css +55 -55
- package/src/Summary.md +219 -219
- package/src/Summary.ts +322 -322
- package/src/SummaryC.md +154 -154
- package/src/SummaryC.ts +240 -240
- package/src/WordCloud.css +2 -2
- package/src/WordCloud.md +144 -144
- package/src/WordCloud.ts +268 -268
- package/src/XYAxis.css +40 -40
- package/src/XYAxis.md +149 -149
- package/src/XYAxis.ts +809 -809
- package/src/__package__.ts +3 -3
- package/src/__tests__/heat.ts +71 -71
- package/src/__tests__/index.ts +3 -3
- package/src/__tests__/pie.ts +20 -20
- package/src/__tests__/stat.ts +16 -16
- package/src/__tests__/test3.ts +68 -68
- package/src/index.ts +28 -28
- package/src/test.ts +70 -70
- package/src/timeFormats.ts +26 -26
package/src/Radar.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.chart_Radar .pointShape,
|
|
2
|
-
.chart_Radar .area {
|
|
3
|
-
pointer-events: none;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.chart_Radar .point .pointSelection {
|
|
7
|
-
fill: none;
|
|
8
|
-
stroke: none;
|
|
9
|
-
pointer-events: all;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.chart_Radar .point .pointSelection.selected {
|
|
13
|
-
fill: none;
|
|
14
|
-
stroke: red;
|
|
1
|
+
.chart_Radar .pointShape,
|
|
2
|
+
.chart_Radar .area {
|
|
3
|
+
pointer-events: none;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.chart_Radar .point .pointSelection {
|
|
7
|
+
fill: none;
|
|
8
|
+
stroke: none;
|
|
9
|
+
pointer-events: all;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.chart_Radar .point .pointSelection.selected {
|
|
13
|
+
fill: none;
|
|
14
|
+
stroke: red;
|
|
15
15
|
}
|
package/src/Radar.md
CHANGED
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
# Radar
|
|
2
|
-
|
|
3
|
-
<!--meta
|
|
4
|
-
|
|
5
|
-
-->
|
|
6
|
-
|
|
7
|
-
Radar displays continuous data across n-number of categories (rows) and n-number of series (columns).
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<ClientOnly>
|
|
11
|
-
<hpcc-vitepress style="width:100%;height:600px">
|
|
12
|
-
<div id="placeholder" style="height:400px">
|
|
13
|
-
</div>
|
|
14
|
-
<script type="module">
|
|
15
|
-
import { Radar } from "@hpcc-js/chart";
|
|
16
|
-
|
|
17
|
-
new Radar()
|
|
18
|
-
.target("placeholder")
|
|
19
|
-
.columns(["Category", "Value"])
|
|
20
|
-
.data([
|
|
21
|
-
["A", 34],
|
|
22
|
-
["B", 55],
|
|
23
|
-
["C", 89],
|
|
24
|
-
["D", 144]
|
|
25
|
-
])
|
|
26
|
-
.render()
|
|
27
|
-
;
|
|
28
|
-
</script>
|
|
29
|
-
</hpcc-vitepress>
|
|
30
|
-
</ClientOnly>
|
|
31
|
-
|
|
32
|
-
_fontFamily_ and _fontSize_ can be used to control the font family and size used for the labels and guidelines.
|
|
33
|
-
|
|
34
|
-
_pointShape_ and _pointSize_ can be used to control the shape and size of the data points.
|
|
35
|
-
|
|
36
|
-
<ClientOnly>
|
|
37
|
-
<hpcc-vitepress style="width:100%;height:600px">
|
|
38
|
-
<div id="placeholder" style="height:400px">
|
|
39
|
-
</div>
|
|
40
|
-
<script type="module">
|
|
41
|
-
import { Radar } from "@hpcc-js/chart";
|
|
42
|
-
|
|
43
|
-
new Radar()
|
|
44
|
-
.target("placeholder")
|
|
45
|
-
.columns(["Hour", "Value"])
|
|
46
|
-
.data([
|
|
47
|
-
["Dec", 134],
|
|
48
|
-
["Jan", 95],
|
|
49
|
-
["Feb", 80],
|
|
50
|
-
["Mar", 65],
|
|
51
|
-
["Apr", 59],
|
|
52
|
-
["May", 51],
|
|
53
|
-
["Jun", 58],
|
|
54
|
-
["Jul", 72],
|
|
55
|
-
["Aug", 79],
|
|
56
|
-
["Sep", 104],
|
|
57
|
-
["Oct", 134],
|
|
58
|
-
["Nov", 124]
|
|
59
|
-
])
|
|
60
|
-
.fontFamily("Verdana")
|
|
61
|
-
.fontSize(14)
|
|
62
|
-
.pointShape("circle")
|
|
63
|
-
.pointSize(3)
|
|
64
|
-
.render()
|
|
65
|
-
;
|
|
66
|
-
</script>
|
|
67
|
-
</hpcc-vitepress>
|
|
68
|
-
</ClientOnly>
|
|
69
|
-
|
|
70
|
-
_fillOpacity_ can be used to control the opacity of the background color created by each series.
|
|
71
|
-
|
|
72
|
-
_valueGuideRatios_ can be used to control placement, and count, of the guide lines.
|
|
73
|
-
|
|
74
|
-
_labelPaddingRatio_ shrinks the chart's visible area between its column labels.
|
|
75
|
-
|
|
76
|
-
<ClientOnly>
|
|
77
|
-
<hpcc-vitepress style="width:100%;height:600px">
|
|
78
|
-
<div id="placeholder" style="height:400px">
|
|
79
|
-
</div>
|
|
80
|
-
<script type="module">
|
|
81
|
-
import { Radar } from "@hpcc-js/chart";
|
|
82
|
-
|
|
83
|
-
new Radar()
|
|
84
|
-
.target("placeholder")
|
|
85
|
-
.columns(["Category", "Value 1", "Value 2"])
|
|
86
|
-
.data([
|
|
87
|
-
["A", 34, 190],
|
|
88
|
-
["B", 55, 150],
|
|
89
|
-
["C", 89, 35],
|
|
90
|
-
["D", 144, 36]
|
|
91
|
-
])
|
|
92
|
-
.valueGuideRatios([0.5, 1.0])
|
|
93
|
-
.labelPaddingRatio(0.8)
|
|
94
|
-
.render()
|
|
95
|
-
;
|
|
96
|
-
</script>
|
|
97
|
-
</hpcc-vitepress>
|
|
98
|
-
</ClientOnly>
|
|
99
|
-
|
|
100
|
-
## API
|
|
101
|
-
|
|
102
|
-
## Published Properties
|
|
103
|
-
```@hpcc-js/chart:Radar
|
|
104
|
-
```
|
|
1
|
+
# Radar
|
|
2
|
+
|
|
3
|
+
<!--meta
|
|
4
|
+
|
|
5
|
+
-->
|
|
6
|
+
|
|
7
|
+
Radar displays continuous data across n-number of categories (rows) and n-number of series (columns).
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<ClientOnly>
|
|
11
|
+
<hpcc-vitepress style="width:100%;height:600px">
|
|
12
|
+
<div id="placeholder" style="height:400px">
|
|
13
|
+
</div>
|
|
14
|
+
<script type="module">
|
|
15
|
+
import { Radar } from "@hpcc-js/chart";
|
|
16
|
+
|
|
17
|
+
new Radar()
|
|
18
|
+
.target("placeholder")
|
|
19
|
+
.columns(["Category", "Value"])
|
|
20
|
+
.data([
|
|
21
|
+
["A", 34],
|
|
22
|
+
["B", 55],
|
|
23
|
+
["C", 89],
|
|
24
|
+
["D", 144]
|
|
25
|
+
])
|
|
26
|
+
.render()
|
|
27
|
+
;
|
|
28
|
+
</script>
|
|
29
|
+
</hpcc-vitepress>
|
|
30
|
+
</ClientOnly>
|
|
31
|
+
|
|
32
|
+
_fontFamily_ and _fontSize_ can be used to control the font family and size used for the labels and guidelines.
|
|
33
|
+
|
|
34
|
+
_pointShape_ and _pointSize_ can be used to control the shape and size of the data points.
|
|
35
|
+
|
|
36
|
+
<ClientOnly>
|
|
37
|
+
<hpcc-vitepress style="width:100%;height:600px">
|
|
38
|
+
<div id="placeholder" style="height:400px">
|
|
39
|
+
</div>
|
|
40
|
+
<script type="module">
|
|
41
|
+
import { Radar } from "@hpcc-js/chart";
|
|
42
|
+
|
|
43
|
+
new Radar()
|
|
44
|
+
.target("placeholder")
|
|
45
|
+
.columns(["Hour", "Value"])
|
|
46
|
+
.data([
|
|
47
|
+
["Dec", 134],
|
|
48
|
+
["Jan", 95],
|
|
49
|
+
["Feb", 80],
|
|
50
|
+
["Mar", 65],
|
|
51
|
+
["Apr", 59],
|
|
52
|
+
["May", 51],
|
|
53
|
+
["Jun", 58],
|
|
54
|
+
["Jul", 72],
|
|
55
|
+
["Aug", 79],
|
|
56
|
+
["Sep", 104],
|
|
57
|
+
["Oct", 134],
|
|
58
|
+
["Nov", 124]
|
|
59
|
+
])
|
|
60
|
+
.fontFamily("Verdana")
|
|
61
|
+
.fontSize(14)
|
|
62
|
+
.pointShape("circle")
|
|
63
|
+
.pointSize(3)
|
|
64
|
+
.render()
|
|
65
|
+
;
|
|
66
|
+
</script>
|
|
67
|
+
</hpcc-vitepress>
|
|
68
|
+
</ClientOnly>
|
|
69
|
+
|
|
70
|
+
_fillOpacity_ can be used to control the opacity of the background color created by each series.
|
|
71
|
+
|
|
72
|
+
_valueGuideRatios_ can be used to control placement, and count, of the guide lines.
|
|
73
|
+
|
|
74
|
+
_labelPaddingRatio_ shrinks the chart's visible area between its column labels.
|
|
75
|
+
|
|
76
|
+
<ClientOnly>
|
|
77
|
+
<hpcc-vitepress style="width:100%;height:600px">
|
|
78
|
+
<div id="placeholder" style="height:400px">
|
|
79
|
+
</div>
|
|
80
|
+
<script type="module">
|
|
81
|
+
import { Radar } from "@hpcc-js/chart";
|
|
82
|
+
|
|
83
|
+
new Radar()
|
|
84
|
+
.target("placeholder")
|
|
85
|
+
.columns(["Category", "Value 1", "Value 2"])
|
|
86
|
+
.data([
|
|
87
|
+
["A", 34, 190],
|
|
88
|
+
["B", 55, 150],
|
|
89
|
+
["C", 89, 35],
|
|
90
|
+
["D", 144, 36]
|
|
91
|
+
])
|
|
92
|
+
.valueGuideRatios([0.5, 1.0])
|
|
93
|
+
.labelPaddingRatio(0.8)
|
|
94
|
+
.render()
|
|
95
|
+
;
|
|
96
|
+
</script>
|
|
97
|
+
</hpcc-vitepress>
|
|
98
|
+
</ClientOnly>
|
|
99
|
+
|
|
100
|
+
## API
|
|
101
|
+
|
|
102
|
+
## Published Properties
|
|
103
|
+
```@hpcc-js/chart:Radar
|
|
104
|
+
```
|