Line | |
---|
1 | {
|
---|
2 | "title":{
|
---|
3 | "text":"Area Chart",
|
---|
4 | "style":"{font-size: 30px;}"
|
---|
5 | },
|
---|
6 |
|
---|
7 | "y_legend":{
|
---|
8 | "text":"OFC",
|
---|
9 | "style":"{font-size: 12px; color:#736AFF;}"
|
---|
10 | },
|
---|
11 |
|
---|
12 | "elements":[
|
---|
13 | {
|
---|
14 | "type": "area",
|
---|
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 | "values" : [
|
---|
23 | 0,0.37,0.73,1.07,1.36,1.59,1.77,
|
---|
24 | 1.87,1.89,1.85,1.72,1.53,1.28,0.97,
|
---|
25 | 0.63,0.26,-0.11,-0.48,-0.84,-1.16,
|
---|
26 | -1.43,-1.65,-1.80,-1.88,-1.89,-1.82,
|
---|
27 | -1.67,-1.46,-1.19,-0.88]
|
---|
28 | }
|
---|
29 | ],
|
---|
30 |
|
---|
31 | "y_axis":{
|
---|
32 | "stroke": 4,
|
---|
33 | "tick-length": 10,
|
---|
34 | "colour": "#d09090",
|
---|
35 | "grid-colour": "#00ff00",
|
---|
36 | "grid-visible": false,
|
---|
37 | "offset": false,
|
---|
38 | "min": -4,
|
---|
39 | "max": 4,
|
---|
40 | "visible": true,
|
---|
41 | "steps": 2
|
---|
42 | }
|
---|
43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.