JSFiddle - React, Tailwind, and code Playground

by iginisruber

HTML

<script src="http://code.highcharts.com/highcharts.js"></script>

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

JavaScript

$(function () { 
    $('#container').highcharts({
        chart: {
            type: 'column'
        },
        title: {
            text: ''
        },
		subtitle: {
                text: 'November 2014'
            },
        xAxis: {
            categories: [
                    '1',
                    '2',
                    '3',
                    '4',
                    '5',
                    '6',
                    '7',
                    '8',
                    '9',
                    '10',
                    '11',
                    '12',
					'13',
                    '14',
                    '15',
                    '16',
                    '17',
                    '18',
                    '19',
                    '20',
                    '21',
                    '22',
                    '23',
                    '24',
					'25',
                    '26',
                    '27',
                    '28',
					                    '29',
					                    '30',
																				
					
					
                ]
        },
		plotOptions: {
			column: {
				stacking: 'normal',
			},
            series: {
                cursor: 'pointer',
                point: {
                    events: {
                        click: function () {
                            location.href = this.options.url;
                        }
                    }
                }
            }
        },
        yAxis: {
			/*labels: {
                    formatter: function() {
                        return this.value / 1000;
                    }
            },*/
			min: 0,
			max: 700000,
            title: {
                text: 'Ertrag in Wattstunden'
            }
        },
		legend: {
            enabled: true,
        },
		tooltip: {
			//shared: true,
			formatter: function () {
				var y_value_kwh = (this.y/1000).toFixed(2);
                return '<span style="font-size: 10px">' + this.key + '</span><br/>' + '<span style="color:'...