$(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: 'Курс ISK, грн'}, 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: 'Курс ISK', data: [[1328054400000,0.065042],[1328140800000,0.064851],[1328227200000,0.064936],[1328313600000,0.065105],[1328400000000,0.065105],[1328486400000,0.065105],[1328572800000,0.064542],[1328659200000,0.06492],[1328745600000,0.065443],[1328832000000,0.065443],[1328918400000,0.065389],[1329004800000,0.065389],[1329091200000,0.065389],[1329177600000,0.06543],[1329264000000,0.065193],[1329350400000,0.064944],[1329436800000,0.064281],[1329523200000,0.06474],[1329609600000,0.06474],[1329696000000,0.06474],[1329782400000,0.064987],[1329868800000,0.064644],[1329955200000,0.06448],[1330041600000,0.064297],[1330128000000,0.06441],[1330214400000,0.06441],[1330300800000,0.06441],[1330387200000,0.064063],[1330473600000,0.064037]], 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: [[1328054400000, 0.065042],[1328054400000, 0.065042],[1328140800000, 0.064851],[1328227200000, 0.064936],[1328313600000, 0.065105],[1328400000000, 0.065105],[1328486400000, 0.065105],[1328572800000, 0.064542],[1328659200000, 0.064920],[1328745600000, 0.065443],[1328832000000, 0.065443],[1328918400000, 0.065389],[1329004800000, 0.065389],[1329091200000, 0.065389],[1329177600000, 0.065430],[1329264000000, 0.065193],[1329350400000, 0.064944],[1329436800000, 0.064281],[1329523200000, 0.064740],[1329609600000, 0.064740],[1329696000000, 0.064740],[1329782400000, 0.064987],[1329868800000, 0.064644],[1329955200000, 0.064480],[1330041600000, 0.064297],[1330128000000, 0.064410],[1330214400000, 0.064410],[1330300800000, 0.064410],[1330387200000, 0.064063],[1330473600000, 0.064037]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });