1 | {
|
---|
2 | "title":{
|
---|
3 | "text":"Area Chart",
|
---|
4 | "style":"{font-size:18px; padding: 5px; text-align: left; font-family: Century Gothic; font-weight: bold;}"
|
---|
5 | },
|
---|
6 |
|
---|
7 | "y_legend":{
|
---|
8 | "text":"OFC",
|
---|
9 | "style":"{font-size: 12px; color:#736AFF;}"
|
---|
10 | },
|
---|
11 |
|
---|
12 | "elements":[
|
---|
13 | {
|
---|
14 | "type": "area_hollow",
|
---|
15 | "colour": "#CC3399",
|
---|
16 | "fill": "#343399",
|
---|
17 | "fill-alpha": 0.5,
|
---|
18 | "text": "Page views",
|
---|
19 | "width": 3,
|
---|
20 | "font-size": 10,
|
---|
21 | "dot-size": 7,
|
---|
22 | "tip": "Hello<br>#val#",
|
---|
23 | "values" : [0,0.37,0.73,1.07,1.36,1.59,1.77,1.87,1.89,1.85,1.72,1.53,1.28,0.97,0.63,0.26,-0.11,-0.48,-0.84,-1.16,-1.43,-1.65,-1.80,-1.88,-1.89,-1.82,-1.67,-1.46,-1.19,-0.88]
|
---|
24 | }
|
---|
25 | ],
|
---|
26 |
|
---|
27 | "x_axis":{
|
---|
28 | "max":30,
|
---|
29 | "labels": {
|
---|
30 | "labels": ["0.00","0.38","0.74","1.07","1.36","1.60","1.77","1.87","1.90","1.85","1.73","1.54",
|
---|
31 | "1.28","0.98","0.64","0.27","-0.11","-0.49","-0.84","-1.16","-1.44","-1.66","-1.81",
|
---|
32 | "-1.89","-1.89","-1.82","-1.68","-1.47","-1.20","-0.88"]
|
---|
33 | }
|
---|
34 | },
|
---|
35 |
|
---|
36 | "y_axis":{
|
---|
37 | "min": -2,
|
---|
38 | "max": 2
|
---|
39 | }
|
---|
40 | }
|
---|