realchart 0.9.4 → 0.9.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/README.md CHANGED
@@ -23,45 +23,33 @@ const chart = RealChart.createChart(document, 'realchart', config);
23
23
  ```ts
24
24
  // config
25
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
- }
26
+ options: {},
27
+ title: "Axis Breaks",
28
+ xAxis: {
29
+ title: "일일 Daily fat",
30
+ categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
31
+ grid: true
32
+ },
33
+ yAxis: {
34
+ title: "Vertical 수직축 Axis",
35
+ break: [{
36
+ from: 500,
37
+ to: 3000,
38
+ inclusive: false,
39
+ space: 5
40
+ }]
41
+ },
42
+ series: [{
43
+ name: 'column1',
44
+ pointLabel: true,
45
+ data: [499, 128, 180, 345, 3050, 3590, 3840, 3630, 3120, 520, 240, 80]
46
+ }, {
47
+ name: 'column3',
48
+ pointLabel: true,
49
+ data: [64, 138, 164, 408, 3120, 3540, 3875, 3420, 720, 320, 160, 20]
50
+ }]
51
+ };
52
+ const chart = RealChart.createChart(document, 'realchart', config);
65
53
  ```
66
54
  ### styles
67
55