jQuery addClass example
Change class name on click in jQuery
by Lardpower
HTML
<script src="https://www.ask4premiercreditrepair.com/jsr/highcharts/highcharts.js"></script>
<div id="client-status-column-chart"></div>
JavaScript
jQuery(document).ready(function ($) {
$('#client-status-column-chart').highcharts({
chart: {
type: 'column',
spacingBottom: 10,
spacingTop: 15,
spacingLeft: 0,
spacingRight: 0,
width: 525,
height: 272
},
title: {
text: 'Last Three Months',
style: {
fontFamily: 'Open Sans',
fontSize: '13px',
color: '#333'
},
},
xAxis: {
type: 'category',
labels: {
style: {
fontFamily: 'Open Sans',
fontSize: '13px',
color: '#333'
}
}
},
yAxis: {
allowDecimals: false,
min: '0',
max: '1',
title: {
text: ''
},
labels: {
style: {
fontFamily: 'Open Sans',
fontSize: '13px',
color: '#333'
}
}
},
legend: {
enabled: false
},
credits: {
enabled: false
},
plotOptions: {
series: {
animation: {
duration: 200
},
borderWidth: 0,
pointWidth: 80,
pointPadding: 0,
dataLabels: {
enabled: true,
format: '{point.y}'
}
}
},
tooltip: {
headerFormat: '',
pointFormat: '<span>{point.name}</span>, {point.y}'
},
series: [{
data: [{
name: "December",
color: '#CB0101',
y: 0
}, {
name: "January",
color: '#1F5394',
y: 0
}, {
...