{"size": 574, "ext": "js", "max_stars_repo_path": "resources/views/vendor/apex/ecommerce-dashboard/by-channel.js", "max_stars_repo_name": "karthik1715/jewelry", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "resources/views/vendor/apex/ecommerce-dashboard/by-channel.js", "max_issues_repo_name": "karthik1715/jewelry", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "resources/views/vendor/apex/ecommerce-dashboard/by-channel.js", "max_forks_repo_name": "karthik1715/jewelry", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.1052631579, "max_line_length": 65, "alphanum_fraction": 0.5557491289}
var options = {
	chart: {
		height: 228,
		type: 'bar',
		toolbar: {
			show: false,
		},
	},
	plotOptions: {
		bar: {
			horizontal: true,
		}
	},
	dataLabels: {
		enabled: false
	},
	series: [{
		data: [2000, 3000, 4000, 5000, 6000]
	}],
	xaxis: {
		categories: ["Organic", "Search", "TV Ads", "Social", "Video"],
	},
	colors: ['#2698e2', '#53ade8', '#434950', '#63686f', '#868a90'],
	tooltip: {
		y: {
			formatter: function(val) {
				return val + ' Visits'
			}
		}
	},
}

var chart = new ApexCharts(
	document.querySelector("#by-channel"),
	options
);

chart.render();