Bläddra i källkod

Merge branch 'master' of biuro.biall-net.pl:plabudda/se

Piotr Labudda 11 år sedan
förälder
incheckning
6442eb72e4
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      SE/superedit-USERS2_MARKETING_STATS_CURRENT_COST_VIEW.php

+ 2 - 0
SE/superedit-USERS2_MARKETING_STATS_CURRENT_COST_VIEW.php

@@ -48,6 +48,7 @@ function USERS2_MARKETING_STATS_CURRENT_COST_VIEW() {
 	$jsonTooltips = array();
 
 	$jsonColors = array('Gradient(#fe783e:#EC561B:#F59F7D)', 'Gradient(#99f:#27afe9:#058DC7:#058DC7)');
+    $jsonKeys = array('NET', 'NET plus TEL lub TV');
 	// , 'Gradient(#94f776:#50B332:#B1E59F)', 'Gradient(#CC76F7:#8832B3:#CE9FE5)', 'Gradient(#768CF7:#3247B3:#9FABE5)', 'Gradient(#F77681:#B3323C:#E59FA5)');
 	foreach ($stats as $vSalesByRangeLimit) {
 		$payRangeLimit = $vSalesByRangeLimit->PAY_RANGE_LIMIT;
@@ -92,6 +93,7 @@ jQuery(document).ready(function(){
 		var bar = new RGraph.HBar('wykres-stats', <?php echo json_encode($jsonData); ?>)
 			.Set('labels', <?php echo json_encode($jsonLabels); ?>)
 			.Set('colors', <?php echo json_encode($jsonColors); ?>)
+            .Set('key', <?php echo json_encode($jsonKeys); ?>)
 			.Set('strokestyle', 'white')
 			.Set('linewidth', 1)
 			.Set('shadow', true)