$(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: 'Курс EEK, грн'}, 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: 'Курс EEK', data: [[1277942400000,0.619981],[1278028800000,0.623129],[1278115200000,0.634393],[1278201600000,0.634393],[1278288000000,0.634393],[1278374400000,0.633462],[1278460800000,0.635792],[1278547200000,0.635089],[1278633600000,0.639675],[1278720000000,0.638352],[1278806400000,0.638352],[1278892800000,0.638352],[1278979200000,0.63502],[1279065600000,0.634788],[1279152000000,0.641515],[1279238400000,0.647754],[1279324800000,0.656356],[1279411200000,0.656356],[1279497600000,0.656356],[1279584000000,0.654144],[1279670400000,0.648332],[1279756800000,0.646912],[1279843200000,0.648553],[1279929600000,0.650842],[1280016000000,0.650842],[1280102400000,0.650842],[1280188800000,0.652492],[1280275200000,0.657556],[1280361600000,0.655404],[1280448000000,0.659288],[1280534400000,0.657179]], 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: [[1277942400000, 0.619981],[1277942400000, 0.619981],[1278028800000, 0.623129],[1278115200000, 0.634393],[1278201600000, 0.634393],[1278288000000, 0.634393],[1278374400000, 0.633462],[1278460800000, 0.635792],[1278547200000, 0.635089],[1278633600000, 0.639675],[1278720000000, 0.638352],[1278806400000, 0.638352],[1278892800000, 0.638352],[1278979200000, 0.635020],[1279065600000, 0.634788],[1279152000000, 0.641515],[1279238400000, 0.647754],[1279324800000, 0.656356],[1279411200000, 0.656356],[1279497600000, 0.656356],[1279584000000, 0.654144],[1279670400000, 0.648332],[1279756800000, 0.646912],[1279843200000, 0.648553],[1279929600000, 0.650842],[1280016000000, 0.650842],[1280102400000, 0.650842],[1280188800000, 0.652492],[1280275200000, 0.657556],[1280361600000, 0.655404],[1280448000000, 0.659288],[1280534400000, 0.657179]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });