Jugal's Highchart & Highstock playground

Basic Skeleton Jugal Thakkar http://jugal.me/

by Jugal Thakkar

HTML

<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.js" ></script>
<script type="text/javascript" src="http://code.jugal.me/js/jugalsLib.js" ></script>
<script type="text/javascript" src="http://code.highcharts.com/stock/highstock.src.js" ></script>
<script type="text/javascript" src="http://code.highcharts.com/stock/modules/exporting.src.js" ></script>

<div id="container"></div>

CSS

#container{
    min-width:500px;
}

JavaScript

var chartingOptions = {
    xAxis: {
        type: 'datetime',
        minTickInterval: 24 * 3600 * 1000
    }
};

chartingOptions = $.extend({}, jugalsLib.getBasicChartOptions(2, {
    sampleCount: 5,
    interval: 1000 * 60 * 60 * 24
}), chartingOptions);
var chart = new Highcharts.Chart(chartingOptions);