$(document).ready(function () { chart = new Highcharts.StockChart({ chart: { renderTo: 'chart', type: 'line', animation: false, showAxes: true, height: 500 }, xAxis: { ordinal: false, type: 'datetime', showEmpty: true, gridLineWidth: 1, gridLineDashStyle: 'dot', ordinal: false }, yAxis: { title: {text: 'Курс CZK, грн'}, lineWidth: 3, gridLineWidth: 1, gridLineDashStyle: 'dash', ordinal: false }, plotOptions: { series: {connectNulls: true, shadow: false}, spline: {marker: {enabled: true}} }, tooltip: {valueDecimals: 8, xDateFormat: '%d %b %Y', shared: true}, series: [ { name: 'Курс CZK', data: [[1351728000000,0.414351],[1351814400000,0.41112],[1351900800000,0.407063],[1351987200000,0.407063],[1352073600000,0.407063],[1352160000000,0.404718],[1352246400000,0.404309],[1352332800000,0.401177],[1352419200000,0.40042],[1352505600000,0.399524],[1352592000000,0.399524],[1352678400000,0.399524],[1352764800000,0.401289],[1352851200000,0.398818],[1352937600000,0.398898],[1353024000000,0.398806],[1353110400000,0.398961],[1353196800000,0.398961],[1353283200000,0.398961],[1353369600000,0.401317],[1353456000000,0.403096],[1353542400000,0.401626],[1353628800000,0.405372],[1353715200000,0.407205],[1353801600000,0.407205],[1353888000000,0.407205],[1353974400000,0.409684],[1354060800000,0.409411],[1354147200000,0.407828],[1354233600000,0.411722]], tooltip: {valueSuffix: ' грн'}, type: 'area', step: true, color: '#888888', fillColor: { linearGradient: {x1: 0, y1: 0, x2: 0, y2: 1}, stops: [[0, '#CCCCCC'], [1, 'rgba(50,50,50,0)']] }, threshold: null }, { name: 'Среднее за период', data: [[1351728000000, 0.414351],[1351728000000, 0.414351],[1351814400000, 0.411120],[1351900800000, 0.407063],[1351987200000, 0.407063],[1352073600000, 0.407063],[1352160000000, 0.404718],[1352246400000, 0.404309],[1352332800000, 0.401177],[1352419200000, 0.400420],[1352505600000, 0.399524],[1352592000000, 0.399524],[1352678400000, 0.399524],[1352764800000, 0.401289],[1352851200000, 0.398818],[1352937600000, 0.398898],[1353024000000, 0.398806],[1353110400000, 0.398961],[1353196800000, 0.398961],[1353283200000, 0.398961],[1353369600000, 0.401317],[1353456000000, 0.403096],[1353542400000, 0.401626],[1353628800000, 0.405372],[1353715200000, 0.407205],[1353801600000, 0.407205],[1353888000000, 0.407205],[1353974400000, 0.409684],[1354060800000, 0.409411],[1354147200000, 0.407828],[1354233600000, 0.411722]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });