$(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: 'Курс SKK, грн'}, 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: 'Курс SKK', data: [[1220227200000,0.235393],[1220313600000,0.233618],[1220400000000,0.232433],[1220486400000,0.231299],[1220572800000,0.232086],[1220659200000,0.228227],[1220745600000,0.228227],[1220832000000,0.228227],[1220918400000,0.227645],[1221004800000,0.226725],[1221091200000,0.225937],[1221177600000,0.223289],[1221264000000,0.225539],[1221350400000,0.225539],[1221436800000,0.225539],[1221523200000,0.226813],[1221609600000,0.22872],[1221696000000,0.228068],[1221782400000,0.232372],[1221868800000,0.228105],[1221955200000,0.228105],[1222041600000,0.228105],[1222128000000,0.233333],[1222214400000,0.236158],[1222300800000,0.235627],[1222387200000,0.235943],[1222473600000,0.234943],[1222560000000,0.234943],[1222646400000,0.234943],[1222732800000,0.230162]], 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: [[1220227200000, 0.235393],[1220227200000, 0.235393],[1220313600000, 0.233618],[1220400000000, 0.232433],[1220486400000, 0.231299],[1220572800000, 0.232086],[1220659200000, 0.228227],[1220745600000, 0.228227],[1220832000000, 0.228227],[1220918400000, 0.227645],[1221004800000, 0.226725],[1221091200000, 0.225937],[1221177600000, 0.223289],[1221264000000, 0.225539],[1221350400000, 0.225539],[1221436800000, 0.225539],[1221523200000, 0.226813],[1221609600000, 0.228720],[1221696000000, 0.228068],[1221782400000, 0.232372],[1221868800000, 0.228105],[1221955200000, 0.228105],[1222041600000, 0.228105],[1222128000000, 0.233333],[1222214400000, 0.236158],[1222300800000, 0.235627],[1222387200000, 0.235943],[1222473600000, 0.234943],[1222560000000, 0.234943],[1222646400000, 0.234943],[1222732800000, 0.230162]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });