JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<div style=" position:relative; margin-left:50px">  
    <div id='chartContainer' style="width:800px; height:500px;">
    </div>
</div>

CSS

.rangeSelector{
    margin-left:-57px;
}

JavaScript

$(document).ready(function () {
            // prepare the data
        var sampleData = [

            {
                Date: new Date(2010,6,1),
                val: 2
            }, {
                Date: new Date(2010,6,2),
                val: 3                
            }, {
               Date: new Date(2010,6,3),
                val: 4
            }, {
                Date: new Date(2010,6,4),
                val: 2
            }, {
                Date: new Date(2010,6,5),
                val: 4
            }, {
                Date: new Date(2010,6,6),
                val: 3
            }];
     


            var settings = {
                title: "Tesla Motors Stock Price",
                description: "(June 2010 - March 2014)",
                enableAnimations: true,
                animationDuration: 1500,
                enableCrosshairs: true,
                padding: { left: 5, top: 5, right: 30, bottom: 5 },
                titlePadding: { left: 30, top: 5, right: 0, bottom: 10 },
                source: sampleData,
                xAxis:
                {
                    dataField: 'Date',
                    type: 'date',
                    baseUnit: 'day',
                    rangeSelector: {
                        size: 80,
                        padding: { /*left: 10, right: 90,*/ top: 0, bottom: 0 },
                        backgroundColor: 'transparent',
                        dataField: 'val',
                        baseUnit: 'month',
                        gridLines: { visible: false },
                        serieType: 'area'
                    }
                },
                valueAxis:
                {
                    title: { text: 'Price per share [USD]<br><br>' },
                    labels: { horizontalAlignment: 'right' }
                },
                colorScheme: 'scheme01',
                seriesGroups:
                    [
                        {
                            type: 'line',
   ...