text: 
  function chart(content_vote_arr){
  	var datas = content_vote_arr;
  
  var chart = new CanvasJS.Chart("chartContainer", {
  	exportEnabled: true,
  	animationEnabled: true,
  	title:{
  		text: "Click the data you want"
  	},
  	legend:{
  		cursor: "pointer",
  		itemclick: explodePie
  	},
  	data: [{
  		type: "pie",
  		showInLegend: true,
  		toolTipContent: "{name}: <strong>{y}%</strong>",
  		indexLabel: "{name} - #percent%",
  		dataPoints: datas,
  	}]
  });
  chart.render();
  }
  
  function explodePie (e) {
  	if(typeof (e.dataSeries.dataPoints[e.dataPointIndex].exploded) === "undefined" || !e.dataSeries.dataPoints[e.dataPointIndex].exploded) {
  		e.dataSeries.dataPoints[e.dataPointIndex].exploded = true;
  	} else {
  		e.dataSeries.dataPoints[e.dataPointIndex].exploded = false;
  	}
  	e.chart.render();
  }
  