JSFiddle - React, Tailwind, and code Playground
by halirgb
HTML
<script src="http://code.highcharts.com/highcharts.js"></script>
<h1>Chart example (Click Filter)</h1>
<button id="filter">filter</button>
<div id="container"></div>
JavaScript
$('#filter').click(function(){
chart = new Highcharts.Chart(options);
});
var options = {
chart: {
renderTo: 'container',
type: 'bar',
},
title: {
},
xAxis: {
categories: ["Stuff-1","Stuff-2"]
},
yAxis: {
},
series: [{
name: 'jan',
data: [1,2]
},{
name: 'feb',
data: [3,4]
}]
};