Highcharts Demo

author(s): Torstein Hønsi

HTML

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

<div id="container" style="height: 300px"></div>

JavaScript

$(function () {

    var chart = new Highcharts.Chart({
         chart: {
                    renderTo: container,
                    backgroundColor: '#ffffff',
                    type: 'spline',
                    reflow: true,
alignTicks: false
                },
                legend: {
                    enabled: false
                },
                title: {
                    text: null
                },
                credits: {
                        text: '',
                        href: ''
                    },
                navigator: {
                    enabled: true,
baseSeries:0,
                    xAxis: {
                        type: 'datetime',

                        dateTimeLabelFormats: {
                            second: '%l:%M:%S:%p',
                            minute: '%l:%M:%p',
                            hour: '%l:%M:%p',
                            day: '%m-%d',
                            week: '%m-%d',
                            month: '%Y-%m',
                            year: '%Y'
                        }
                    }
                },
                rangeSelector: { enabled: false },
                xAxis: phaseplot,
                exporting: {
                    enabled: false
                },
                yAxis: YaxisSettings_drwchart12,
                plotOptions: {
                    series: {
                        dataGrouping: {
                            enabled: true
                        }, marker: {
                            enabled: false,
                            lineWidth: 0,
                            lineColor: null,
                            states: {
                                hover: {
                                    enabled: true
                                }
                            }
                        }
                    }
                },

                series: dataSeries_drwchart12
            });

});

var phaseplot =  new...