Race Trends

Project for march anniversary

by Adam Nekola

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

JavaScript

$(function () {
        $('#container').highcharts({
            chart: {
                zoomType: 'x'
            },
            title: {
                text: ''
            },
            xAxis: {
                type: 'datetime',
                title: {
                    text: null
                },
                min: Date.UTC(1960, 0, 01),
                max: Date.UTC(2013, 0, 01)
            },
            yAxis: {
                title: {
                    text: 'Exchange rate'
                },
                min: 0
            },
            tooltip: {
                shared: true
            },
            legend: {
                enabled: false
            },
            exporting: {
                enabled: false
            },
            credits: {
                enabled: false
            },
            plotOptions: {
               
            },
            series: [{
                name: 'USD to EUR',
                pointInterval: 24 * 3600 * 1000,
                pointStart: Date.UTC(1960, 0, 01),
                data: [
                    0.8446, 0.8445
                ]
            }]
        });
    });