$(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: 'Курс TMM, грн'}, 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: 'Среднее за период', data: [[1088640000000, 0.001021],[1088640000000, 0.001021],[1120176000000, 0.000985],[1151712000000, 0.000971],[1183248000000, 0.000971],[1214870400000, 0.000403],[1246406400000, 2.734839],[1277942400000, 2.784129],[1309478400000, 2.791003],[1341100800000, 2.803905],[1372636800000, 2.804561],[1404172800000, 3.166367]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });