$(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: 'Курс LTL, грн'}, 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: 'Курс LTL', data: [[1257033600000,3.4261],[1257120000000,3.4261],[1257206400000,3.42133],[1257292800000,3.40112],[1257379200000,3.42639],[1257465600000,3.45057],[1257552000000,3.44045],[1257638400000,3.44045],[1257724800000,3.44045],[1257811200000,3.46752],[1257897600000,3.46323],[1257984000000,3.48044],[1258070400000,3.45577],[1258156800000,3.44313],[1258243200000,3.44313],[1258329600000,3.44313],[1258416000000,3.46443],[1258502400000,3.4423],[1258588800000,3.46154],[1258675200000,3.43939],[1258761600000,3.42829],[1258848000000,3.42829],[1258934400000,3.42829],[1259020800000,3.46369],[1259107200000,3.46392],[1259193600000,3.48812],[1259280000000,3.4836],[1259366400000,3.44819],[1259452800000,3.44819],[1259539200000,3.44819]], 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: [[1257033600000, 3.426101],[1257033600000, 3.426101],[1257120000000, 3.426101],[1257206400000, 3.421330],[1257292800000, 3.401125],[1257379200000, 3.426392],[1257465600000, 3.450567],[1257552000000, 3.440453],[1257638400000, 3.440453],[1257724800000, 3.440453],[1257811200000, 3.467524],[1257897600000, 3.463228],[1257984000000, 3.480442],[1258070400000, 3.455769],[1258156800000, 3.443134],[1258243200000, 3.443134],[1258329600000, 3.443134],[1258416000000, 3.464427],[1258502400000, 3.442299],[1258588800000, 3.461535],[1258675200000, 3.439393],[1258761600000, 3.428286],[1258848000000, 3.428286],[1258934400000, 3.428286],[1259020800000, 3.463691],[1259107200000, 3.463922],[1259193600000, 3.488118],[1259280000000, 3.483597],[1259366400000, 3.448189],[1259452800000, 3.448189],[1259539200000, 3.448189]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });