Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5261 Rev 5997
Line 18... Line 18...
18
</div>
18
</div>
19
 
19
 
20
<div class="wpsg_clearer"></div>
20
<div class="wpsg_clearer"></div>
21
 
21
 
22
<?php 
22
<?php 
-
 
23
	$barChartJS = Array();
-
 
24
	$pieChartJS = Array();
-
 
25
	$barChartJS['amount'] = '';
-
 
26
	$barChartJS['payment'] = '';
-
 
27
	$barChartJS['total'] = '';
23
 
28
	
-
 
29
	$pieChartJS['amount'] = '';
-
 
30
	$pieChartJS['sales'] = '';
-
 
31
	
24
	foreach ($this->view['chart']['data']['records'] as $data) 
32
	foreach ($this->view['chart']['data']['records'] as $data) 
25
	{ 
33
	{ 
26
		$barChartJS['payment'] .= "'".wpsg_hspc($data['name'])."', "; 
34
		$barChartJS['payment'] .= "'".wpsg_hspc($data['name'])."', "; 
27
		$barChartJS['amount'] .= "['".wpsg_hspc($data['name'])."','".wpsg_hspc($data['amount'])."'], "; 
35
		$barChartJS['amount'] .= "['".wpsg_hspc($data['name'])."','".wpsg_hspc($data['amount'])."'], "; 
28
		$barChartJS['total'] .= wpsg_hspc($data['total']).", "; 
36
		$barChartJS['total'] .= wpsg_hspc($data['total']).", "; 
Line 81... Line 89...
81
	                    fontFamily: 'Arial',
89
	                    fontFamily: 'Arial',
82
                        fontSize: '10pt',
90
                        fontSize: '10pt',
83
                        fontWeight: 'normal',
91
                        fontWeight: 'normal',
84
                        textColor: '#666666'
92
                        textColor: '#666666'
85
	                },
93
	                },
86
	                label:'<?php echo wpsg_hspc($this->view['chart']['info']['xaxis']['label']); ?>',
94
	                label:'<?php echo wpsg_hspc(wpsg_getStr($this->view['chart']['info']['xaxis']['label'])); ?>',
87
	                labelOptions: {
95
	                labelOptions: {
88
                        fontFamily: 'Arial',
96
                        fontFamily: 'Arial',
89
                        fontSize: '14pt',
97
                        fontSize: '14pt',
90
                        fontWeight: 'bold',
98
                        fontWeight: 'bold',
91
                        textColor: '#666666'
99
                        textColor: '#666666'