$(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: 'Курс DKK, грн'}, 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: 'Курс DKK', data: [[1330560000000,1.44393],[1330646400000,1.43006],[1330732800000,1.42008],[1330819200000,1.42008],[1330905600000,1.42008],[1330992000000,1.4205],[1331078400000,1.41324],[1331164800000,1.40959],[1331251200000,1.40959],[1331337600000,1.40959],[1331424000000,1.40959],[1331510400000,1.40959],[1331596800000,1.40916],[1331683200000,1.40233],[1331769600000,1.40267],[1331856000000,1.40215],[1331942400000,1.40851],[1332028800000,1.40851],[1332115200000,1.40851],[1332201600000,1.41216],[1332288000000,1.41737],[1332374400000,1.42026],[1332460800000,1.41406],[1332547200000,1.42219],[1332633600000,1.42219],[1332720000000,1.42219],[1332806400000,1.42587],[1332892800000,1.43192],[1332979200000,1.43227],[1333065600000,1.42526],[1333152000000,1.43398]], 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: [[1330560000000, 1.443935],[1330560000000, 1.443935],[1330646400000, 1.430056],[1330732800000, 1.420082],[1330819200000, 1.420082],[1330905600000, 1.420082],[1330992000000, 1.420500],[1331078400000, 1.413243],[1331164800000, 1.409590],[1331251200000, 1.409590],[1331337600000, 1.409590],[1331424000000, 1.409590],[1331510400000, 1.409590],[1331596800000, 1.409161],[1331683200000, 1.402326],[1331769600000, 1.402669],[1331856000000, 1.402151],[1331942400000, 1.408511],[1332028800000, 1.408511],[1332115200000, 1.408511],[1332201600000, 1.412162],[1332288000000, 1.417374],[1332374400000, 1.420255],[1332460800000, 1.414055],[1332547200000, 1.422186],[1332633600000, 1.422186],[1332720000000, 1.422186],[1332806400000, 1.425872],[1332892800000, 1.431921],[1332979200000, 1.432273],[1333065600000, 1.425261],[1333152000000, 1.433976]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });