OpenSencillo  2015.009
Long live the simplicity of PHP
 All Data Structures Namespaces Files Functions Pages
green.js
1 var theme = {
2 
3  color: [
4  '#26B99A', '#34495E', '#BDC3C7', '#3498DB',
5  '#9B59B6', '#8abb6f', '#759c6a', '#bfd3b7'
6  ],
7 
8  title: {
9  itemGap: 8,
10  textStyle: {
11  fontWeight: 'normal',
12  color: '#408829'
13  }
14  },
15 
16  dataRange: {
17  color: ['#1f610a', '#97b58d']
18  },
19 
20  toolbox: {
21  color: ['#408829', '#408829', '#408829', '#408829']
22  },
23 
24  tooltip: {
25  backgroundColor: 'rgba(0,0,0,0.5)',
26  axisPointer: {
27  type: 'line',
28  lineStyle: {
29  color: '#408829',
30  type: 'dashed'
31  },
32  crossStyle: {
33  color: '#408829'
34  },
35  shadowStyle: {
36  color: 'rgba(200,200,200,0.3)'
37  }
38  }
39  },
40 
41  dataZoom: {
42  dataBackgroundColor: '#eee',
43  fillerColor: 'rgba(64,136,41,0.2)',
44  handleColor: '#408829'
45  },
46  grid: {
47  borderWidth: 0
48  },
49 
50  categoryAxis: {
51  axisLine: {
52  lineStyle: {
53  color: '#408829'
54  }
55  },
56  splitLine: {
57  lineStyle: {
58  color: ['#eee']
59  }
60  }
61  },
62 
63  valueAxis: {
64  axisLine: {
65  lineStyle: {
66  color: '#408829'
67  }
68  },
69  splitArea: {
70  show: true,
71  areaStyle: {
72  color: ['rgba(250,250,250,0.1)', 'rgba(200,200,200,0.1)']
73  }
74  },
75  splitLine: {
76  lineStyle: {
77  color: ['#eee']
78  }
79  }
80  },
81  timeline: {
82  lineStyle: {
83  color: '#408829'
84  },
85  controlStyle: {
86  normal: {color: '#408829'},
87  emphasis: {color: '#408829'}
88  }
89  },
90 
91  k: {
92  itemStyle: {
93  normal: {
94  color: '#68a54a',
95  color0: '#a9cba2',
96  lineStyle: {
97  width: 1,
98  color: '#408829',
99  color0: '#86b379'
100  }
101  }
102  }
103  },
104  map: {
105  itemStyle: {
106  normal: {
107  areaStyle: {
108  color: '#ddd'
109  },
110  label: {
111  textStyle: {
112  color: '#c12e34'
113  }
114  }
115  },
116  emphasis: {
117  areaStyle: {
118  color: '#99d2dd'
119  },
120  label: {
121  textStyle: {
122  color: '#c12e34'
123  }
124  }
125  }
126  }
127  },
128  force: {
129  itemStyle: {
130  normal: {
131  linkStyle: {
132  strokeColor: '#408829'
133  }
134  }
135  }
136  },
137  chord: {
138  padding: 4,
139  itemStyle: {
140  normal: {
141  lineStyle: {
142  width: 1,
143  color: 'rgba(128, 128, 128, 0.5)'
144  },
145  chordStyle: {
146  lineStyle: {
147  width: 1,
148  color: 'rgba(128, 128, 128, 0.5)'
149  }
150  }
151  },
152  emphasis: {
153  lineStyle: {
154  width: 1,
155  color: 'rgba(128, 128, 128, 0.5)'
156  },
157  chordStyle: {
158  lineStyle: {
159  width: 1,
160  color: 'rgba(128, 128, 128, 0.5)'
161  }
162  }
163  }
164  }
165  },
166  gauge: {
167  startAngle: 225,
168  endAngle: -45,
169  axisLine: {
170  show: true,
171  lineStyle: {
172  color: [[0.2, '#86b379'], [0.8, '#68a54a'], [1, '#408829']],
173  width: 8
174  }
175  },
176  axisTick: {
177  splitNumber: 10,
178  length: 12,
179  lineStyle: {
180  color: 'auto'
181  }
182  },
183  axisLabel: {
184  textStyle: {
185  color: 'auto'
186  }
187  },
188  splitLine: {
189  length: 18,
190  lineStyle: {
191  color: 'auto'
192  }
193  },
194  pointer: {
195  length: '90%',
196  color: 'auto'
197  },
198  title: {
199  textStyle: {
200  color: '#333'
201  }
202  },
203  detail: {
204  textStyle: {
205  color: 'auto'
206  }
207  }
208  },
209  textStyle: {
210  fontFamily: 'Arial, Verdana, sans-serif'
211  }
212  }