JSFiddle - React, Tailwind, and code Playground

by pepperdigital

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>
<script src="http://code.highcharts.com/modules/exporting.js"></script>
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>

JavaScript

$(function () {
    $('#container').highcharts({
        chart: {
            type: 'column'
        },
        title: {
            text: 'Column chart with negative values'
        },
        xAxis: {
           
            categories: ['11111111111111111111', '22222222222', '333333333', '4444444444', '1111111111', '22222222222', '333333333', '4444444444', '1111111111', '2222222222222222222222', '333333333', '4444444444', '1111111111', '22222222222', '333333333', '44444444444444444444']
        },
        credits: {
            enabled: false
        },
        series: [{
            name: 'John',
            data: [5, 3, 4, 7, 2, 2, -2, -3, 2, 1]
        }]
    });
});