realchart 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,83 @@
1
+ # RealChart
2
+
3
+ RealChart is a JavaScript charting library.
4
+
5
+ ## Install
6
+
7
+ ```
8
+ npm i realchart
9
+ ```
10
+
11
+ ### License
12
+
13
+ > The License file is required for proper use. More information, visit: http://service.realgrid.com/start
14
+
15
+ ## Usage
16
+
17
+ ```ts
18
+
19
+ const chart = RealChart.createChart(document, 'realchart', config);
20
+
21
+ ```
22
+
23
+ ```ts
24
+ // config
25
+ const config = {
26
+ options: {
27
+ animatable: false
28
+ },
29
+ title: "Basic Real-Chart",
30
+ legend: true,
31
+ xAxis: {
32
+ title: 'X Axis',
33
+ grid: true
34
+ },
35
+ yAxis: {
36
+ title: 'Y Axis',
37
+ },
38
+ series: {
39
+ pointLabel: {
40
+ visible: true,
41
+ effect: 'outline',
42
+ style: {
43
+ },
44
+ },
45
+ data: [
46
+ ['home', 7],
47
+ ['sky', 11],
48
+ ['def', 9],
49
+ ['소홍', 10],
50
+ ['지리산', 14.3],
51
+ ['zzz', 13],
52
+ ['낙동강', 12.5]
53
+ ],
54
+ data2: [
55
+ [1, 7],
56
+ [2, 11],
57
+ [3, 9],
58
+ [4, 10],
59
+ [5, 14.3],
60
+ [6, 13],
61
+ [7, 12.5]
62
+ ],
63
+ }
64
+ }
65
+ ```
66
+ ### styles
67
+
68
+ - The themes are located in './dist'
69
+
70
+ ```ts
71
+ import 'realchart/dist/realchart-style.css';
72
+ ```
73
+
74
+ ### Library Target
75
+
76
+ - index.esm.js for ES
77
+ - index.js for umd
78
+ ## Exmaple
79
+
80
+
81
+ ## Asking Questions
82
+
83
+ > support@realgrid.com