Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5261 Rev 5945
Line 3... Line 3...
3
<br /><br />
3
<br /><br />
4
<?php 
4
<?php 
5
 
5
 
6
	if (wpsg_isSizedArray($this->view['chart']['data'])) 
6
	if (wpsg_isSizedArray($this->view['chart']['data'])) 
7
	{
7
	{
-
 
8
		unset($this->view['chart']['data']['template']);
8
 
9
		
9
		for ($i = 0; $i < count($this->view['chart']['data']); $i++)
10
		for ($i = 0; $i < count($this->view['chart']['data']); $i++)
10
		{
11
		{
11
			
12
			
12
			$chartJS['legend'][$i] = "{";
13
			$chartJS['legend'][$i] = "{";
13
			
14
			
Line 91... Line 92...
91
            show: true,
92
            show: true,
92
            placement: 'outside'
93
            placement: 'outside'
93
          },
94
          },
94
	      axes:{
95
	      axes:{
95
	        xaxis:{
96
	        xaxis:{
96
	          	label:'<?php echo wpsg_hspc($this->view['chart']['info']['xaxis']['label']); ?>',
97
	          	label:'<?php echo wpsg_hspc(wpsg_getStr($this->view['chart']['info']['xaxis']['label'])); ?>',
-
 
98
	          	label:'<?php echo wpsg_hspc(wpsg_getStr($this->view['chart']['data'][0]['label'])); ?>',
97
	          	syncTicks: false,
99
	          	syncTicks: false,
98
	          	tickOptions:{formatString:'KW %d'},
100
	          	tickOptions:{formatString:'KW %d'},
99
	          	ticks: [<?php echo implode(',', $chartJS['ticks']['ticks0']); ?>]
101
	          	ticks: [<?php echo implode(',', $chartJS['ticks']['ticks0']); ?>]
100
	        },
102
	        },
101
	        yaxis:{
103
	        yaxis:{