JSFiddle - React, Tailwind, and code Playground
HTML
<!-- Getting Started with Highcharts Part II: Formatting the Y Axis -->
<!-- http://blog.kevinchisholm.com/ -->
<!-- Example # 2 -->
<!-- include the highcharts library -->
<script src="http://code.highcharts.com/highcharts.js"></script>
<!-- provide a container for the chart -->
<div id="container"></div>
JavaScript
$(function () {
$('#container').highcharts({
title: { text: 'Acme Widget Company' },
subtitle: { text: 'Total Sales - 2014' },
chart: { type: 'column' },
xAxis: { categories: ['Sue Frost', 'Jim Stone', 'Linda Brady', 'Edward Lee'] },
yAxis: {
title: {
text: 'Sales'
},
labels: {
format: '${value}'
}
},
series: [{
showInLegend: false,
data: [150, 900, 675, 400]
}],
});
});