JSFiddle - React, Tailwind, and code Playground

by H17737

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: 800px; margin: 0 auto"></div>

JavaScript

$(function () {
        $('#container').highcharts({
            chart: {
                type: 'line'
            },
            yAxis: {
                title: {
                    text: 'Correlation'
                },
                minorGridLineWidth: 0,
                gridLineWidth: 0.5,
                alternateGridColor: null,
                labels: {
                    step: 1
                }
            },
            series: [/*{
                name: 'R (C1,C1)',
                data: [8,-4, 0, 0, 0, 0, 0,-4]
    
            }*/
            {
                name: 'R (C2,C2)',
                data: [8,-4, 0, 0, 0, 0, 0,-4]
    
            }]
            ,
            navigation: {
                menuItemStyle: {
                    fontSize: '10px'
                }
            }
        });
    });