示例#1
0
		               name: '<?php 
echo getArrayValuePercentage($pData['age'], 'b_25_34') . '% ' . __("25 to 34 years");
?>
',
		               color: '#ffcc00',
		               y: (lData.age.b_25_34 == undefined)?0:lData.age.b_25_34
		             },{
		               name: '<?php 
echo getArrayValuePercentage($pData['age'], 'b_35_54') . '% ' . __("35 to 54 years");
?>
',
		               color: '#ffcc66',
		               y: (lData.age.b_35_54 == undefined)?0:lData.age.b_35_54
		             },{
		               name: '<?php 
echo getArrayValuePercentage($pData['age'], 'o_55') . '% ' . __("over 55 years");
?>
',
		               color: '#66ff66',
		               y: (lData.age.o_55 == undefined)?0:lData.age.o_55
		             }
		         ]
          }]
		};
    new Highcharts.Chart(lOptions);
  }//end init
};//end object
ChartPieGenderActivities.init(<?php 
echo $pChartsettings;
?>
);
示例#2
0
		               name: '<?php 
echo getArrayValuePercentage($pData['sex'], 'f') . '% ' . __("Female");
?>
',
		               color: '#3300cc',
		               y: (lData.sex.f == undefined)?0:lData.sex.f
		             },{
		               name: '<?php 
echo getArrayValuePercentage($pData['sex'], 'u') . '% ' . __("Unknown");
?>
',
		               color: '#ff0000',
		               y: (lData.sex.u == undefined)?0:lData.sex.u
		             },{
		               name: '<?php 
echo getArrayValuePercentage($pData['sex'], 'm') . '% ' . __("Male");
?>
',
		               color: '#ffcc00',
		               y: (lData.sex.m == undefined)?0:lData.sex.m
		             }
		         ]
          }]
		};
    new Highcharts.Chart(lOptions);
  }//end init
};//end object
ChartPieGenderActivities.init(<?php 
echo $pChartsettings;
?>
);
		               name: '<?php 
echo getArrayValuePercentage($pData['rel'], 'mar') . '% ' . __('Married');
?>
',
		               color: '#ffcc66',
		               y: (lData.rel.mar == undefined)?0:lData.rel.mar
		             },{
		               name: '<?php 
echo getArrayValuePercentage($pData['rel'], 'compl') . '% ' . __('Complicated');
?>
',
		               color: '#66ff66',
		               y: (lData.rel.compl == undefined)?0:lData.rel.compl
		             },{
		               name: '<?php 
echo getArrayValuePercentage($pData['rel'], 'wid') . '% ' . __('Widowed');
?>
',
		               color: '#ff6666',
		               y: (lData.rel.wid == undefined)?0:lData.rel.wid
		             }
		         ]
          }]
		};
    new Highcharts.Chart(lOptions);
  }//end init
};//end object
ChartPieRelationship.init(<?php 
echo $pChartsettings;
?>
);