JSFiddle - React, Tailwind, and code Playground

by Chitkala More

HTML

<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>

<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>

JavaScript

$(function () {

Highcharts.setOptions({
				colors: ['#f99a7c', '#2cb6dc','#fd9c35','#f7b70f','#b75cd9','#c63899','#6d42c5','#2bc47c','#25c8c6','#44882c'],
				credits: false
			});
      
    $('#container').highcharts({
        title: {
            text: '',
            x: -20 //center
        },
        subtitle: {
            text: '',
            x: -20
        },
        xAxis: {
            categories: ['09-30-2016', '08-12-2016', '08-01-2016', '07-15-2016', '07-01-2016']
        },
        yAxis: {
            title: {
                text: ''
            },
            min: 100000,     
   					max: 500000,
            showEmpty: true,
            plotLines: [{
                value: 0,
                width: 1,
                color: '#808080'
            }]
        },
        tooltip: {
            valueSuffix: ''
        },
        legend: {
            layout: 'horizontal',
            align: 'center',
            verticalAlign: 'bottom',
            borderWidth: 0,
            borderRadius:0,
        },
        series: [{
            name: 'Platelet Count',
            data: [150000, 190000, 175000, 245000, 180000]
        }, {
            name: 'WBC',
            data: [170000, 180000, 217000, 213000, 150000]
        }]
    });
});