$(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: 'Курс TMM', data: [[1388534400000,2.80456],[1388620800000,2.80456],[1388707200000,2.80456],[1388793600000,2.80456],[1388880000000,2.80456],[1388966400000,2.80456],[1389052800000,2.80456],[1389139200000,2.80456],[1389225600000,2.80456],[1389312000000,2.80456],[1389398400000,2.80456],[1389484800000,2.80456],[1389571200000,2.80456],[1389657600000,2.80456],[1389744000000,2.80456],[1389830400000,2.80456],[1389916800000,2.80456],[1390003200000,2.80456],[1390089600000,2.80456],[1390176000000,2.80456],[1390262400000,2.80456],[1390348800000,2.80456],[1390435200000,2.80456],[1390521600000,2.80456],[1390608000000,2.80456],[1390694400000,2.80456],[1390780800000,2.80456],[1390867200000,2.80456],[1390953600000,2.80456],[1391040000000,2.80456],[1391126400000,2.80456],[1391212800000,2.80456],[1391299200000,2.80456],[1391385600000,2.80456],[1391472000000,2.80456],[1391558400000,2.80456],[1391644800000,2.80456],[1391731200000,3.05544],[1391817600000,2.99235],[1391904000000,2.99235],[1391990400000,2.99235],[1392076800000,3.00112],[1392163200000,3.00025],[1392249600000,3.00025],[1392336000000,3.02839],[1392422400000,3.03175],[1392508800000,3.03175],[1392595200000,3.03175],[1392681600000,3.03361],[1392768000000,3.04804],[1392854400000,3.08253],[1392940800000,3.10105],[1393027200000,3.13614],[1393113600000,3.13614],[1393200000000,3.13614],[1393286400000,3.17112],[1393372800000,3.30768],[1393459200000,3.33961],[1393545600000,3.50396],[1393632000000,3.4033],[1393718400000,3.4033],[1393804800000,3.4033],[1393891200000,3.5061],[1393977600000,3.41196],[1394064000000,3.3154],[1394150400000,3.294],[1394236800000,3.24067],[1394323200000,3.24067],[1394409600000,3.24067],[1394496000000,3.24067],[1394582400000,3.26228],[1394668800000,3.25695],[1394755200000,3.32488],[1394841600000,3.36867],[1394928000000,3.36867],[1395014400000,3.36867],[1395100800000,3.42344],[1395187200000,3.49467],[1395273600000,3.47993],[1395360000000,3.54709],[1395446400000,3.57772],[1395532800000,3.57772],[1395619200000,3.57772],[1395705600000,3.64077],[1395792000000,3.71081],[1395878400000,3.7446],[1395964800000,3.80709],[1396051200000,3.84372],[1396137600000,3.84372],[1396224000000,3.84372],[1396310400000,3.85898],[1396396800000,3.89691],[1396483200000,3.94442],[1396569600000,3.93797],[1396656000000,3.93797],[1396742400000,3.93797],[1396828800000,3.93797]], 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: [[1389744000000, 2.804561],[1389744000000, 2.804561],[1392422400000, 3.035041],[1394841600000, 3.476221],[1397520000000, 3.921739]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });