$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1341100800000,4.41539],[1341187200000,4.41539],[1341273600000,4.4193],[1341360000000,4.43538],[1341446400000,4.42677],[1341532800000,4.42047],[1341619200000,4.39132],[1341705600000,4.39159],[1341792000000,4.39159],[1341878400000,4.3785],[1341964800000,4.39288],[1342051200000,4.41594],[1342137600000,4.39631],[1342224000000,4.39408],[1342310400000,4.39408],[1342396800000,4.39408],[1342483200000,4.40112],[1342569600000,4.41118],[1342656000000,4.41852],[1342742400000,4.43807],[1342828800000,4.41742],[1342915200000,4.41742],[1343001600000,4.41742],[1343088000000,4.38939],[1343174400000,4.37129],[1343260800000,4.38063],[1343347200000,4.39101],[1343433600000,4.39783],[1343520000000,4.39783],[1343606400000,4.39783],[1343692800000,4.42706]], 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: [[1341100800000, 4.415390],[1341100800000, 4.415390],[1341187200000, 4.415390],[1341273600000, 4.419300],[1341360000000, 4.435379],[1341446400000, 4.426767],[1341532800000, 4.420475],[1341619200000, 4.391316],[1341705600000, 4.391591],[1341792000000, 4.391591],[1341878400000, 4.378501],[1341964800000, 4.392878],[1342051200000, 4.415942],[1342137600000, 4.396312],[1342224000000, 4.394076],[1342310400000, 4.394076],[1342396800000, 4.394076],[1342483200000, 4.401120],[1342569600000, 4.411182],[1342656000000, 4.418524],[1342742400000, 4.438067],[1342828800000, 4.417422],[1342915200000, 4.417422],[1343001600000, 4.417422],[1343088000000, 4.389387],[1343174400000, 4.371291],[1343260800000, 4.380626],[1343347200000, 4.391010],[1343433600000, 4.397828],[1343520000000, 4.397828],[1343606400000, 4.397828],[1343692800000, 4.427059]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });