d('mainChart').getContext('2d');
		var mainChart = new Chart(mainCTX, {
			type: chart_type,
			data: {
				labels: data_labels,
				datasets: [{
					label: label,
					data: data,
					type: 'bar',
					backgroundColor: backgroundColors[selected_column],
					borderColor: borderColors[selected_column],
					borderWidth: 1
				}]
			},
			options: {
				responsive: true,
        		maintainAspectRatio: false,
				scales: {
			        xAxes: [{
			            ticks: {
			            	autoSkip: false,
	      