$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1154390400000,9.26341],[1154476800000,9.25761],[1154563200000,9.28457],[1154649600000,9.27357],[1154736000000,9.28289],[1154822400000,9.28289],[1154908800000,9.28289],[1154995200000,9.32363],[1155081600000,9.31565],[1155168000000,9.34468],[1155254400000,9.32737],[1155340800000,9.26922],[1155427200000,9.26922],[1155513600000,9.26922],[1155600000000,9.22918],[1155686400000,9.23294],[1155772800000,9.28361],[1155859200000,9.34602],[1155945600000,9.28881],[1156032000000,9.28881],[1156118400000,9.28881],[1156204800000,9.37505],[1156291200000,9.29606],[1156377600000,9.2974],[1156464000000,9.2974],[1156550400000,9.2974],[1156636800000,9.2974],[1156723200000,9.2974],[1156809600000,9.28736],[1156896000000,9.29316],[1156982400000,9.30042]], 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: [[1154390400000, 9.263412],[1154390400000, 9.263412],[1154476800000, 9.257608],[1154563200000, 9.284571],[1154649600000, 9.273570],[1154736000000, 9.282885],[1154822400000, 9.282885],[1154908800000, 9.282885],[1154995200000, 9.323635],[1155081600000, 9.315654],[1155168000000, 9.344677],[1155254400000, 9.327374],[1155340800000, 9.269217],[1155427200000, 9.269217],[1155513600000, 9.269217],[1155600000000, 9.229185],[1155686400000, 9.232938],[1155772800000, 9.283611],[1155859200000, 9.346020],[1155945600000, 9.288807],[1156032000000, 9.288807],[1156118400000, 9.288807],[1156204800000, 9.375047],[1156291200000, 9.296063],[1156377600000, 9.297399],[1156464000000, 9.297399],[1156550400000, 9.297399],[1156636800000, 9.297399],[1156723200000, 9.297399],[1156809600000, 9.287356],[1156896000000, 9.293161],[1156982400000, 9.300417]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });