maxvyaznikov / highcharts-histogram

a histogram chart for highcharts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highcharts-histogram

This plugin for the javascript charting library highcharts will add histograms as a new chart type.

installation

Add the following script line to the head section of your html file:

<script src="https://raw.githubusercontent.com/ulo/highcharts-histogram/master/highcharts-histogram.js"></script>

usage

Just specify 'histogram' as chart type. The plugin will bin your data and create the corresponding column chart:

$('#graph').highcharts({
	title: {text: 'distribution of x'},
	chart: {type: 'histogram'},
	series: [{data: x}]
})

About

a histogram chart for highcharts


Languages

Language:JavaScript 100.0%