$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[962409600000,5.1963],[962496000000,5.1963],[962582400000,5.1963],[962668800000,5.1624],[962755200000,5.15922],[962841600000,5.18651],[962928000000,5.18942],[963014400000,5.15733],[963100800000,5.15733],[963187200000,5.15733],[963273600000,5.17908],[963360000000,5.18135],[963446400000,5.16622],[963532800000,5.08464],[963619200000,5.0819],[963705600000,5.0819],[963792000000,5.0819],[963878400000,5.08618],[963964800000,5.08672],[964051200000,5.01231],[964137600000,5.01457],[964224000000,5.09244],[964310400000,5.09244],[964396800000,5.09244],[964483200000,5.07558],[964569600000,5.11791],[964656000000,5.10703],[964742400000,5.10649],[964828800000,5.04494],[964915200000,5.04494],[965001600000,5.04494],[965088000000,5.02699],[965174400000,5.03841],[965260800000,4.97197],[965347200000,4.90997],[965433600000,4.91151],[965520000000,4.91151],[965606400000,4.91151],[965692800000,4.94042],[965779200000,4.92021],[965865600000,4.87997],[965952000000,4.91151],[966038400000,4.96644],[966124800000,4.96644],[966211200000,4.96644],[966297600000,4.90063],[966384000000,4.95873],[966470400000,4.93372],[966556800000,4.9707],[966643200000,4.96363],[966729600000,4.96363],[966816000000,4.96363],[966902400000,4.96363],[966988800000,4.87942],[967075200000,4.84988],[967161600000,4.84988],[967248000000,4.84988],[967334400000,4.84988],[967420800000,4.84988],[967507200000,4.89819],[967593600000,4.87562],[967680000000,4.84516],[967766400000,4.84353],[967852800000,4.84135],[967939200000,4.84135],[968025600000,4.84135],[968112000000,4.89465],[968198400000,4.83265],[968284800000,4.79611],[968371200000,4.71888],[968457600000,4.75097],[968544000000,4.75097],[968630400000,4.75097],[968716800000,4.68244],[968803200000,4.68515],[968889600000,4.70691],[968976000000,4.72769],[969062400000,4.6857],[969148800000,4.6857],[969235200000,4.6857],[969321600000,4.63729],[969408000000,4.64545],[969494400000,4.6101],[969580800000,4.6362],[969667200000,4.83545],[969753600000,4.83545],[969840000000,4.83545],[969926400000,4.77035],[970012800000,4.76355],[970099200000,4.82012],[970185600000,4.80434],[970272000000,4.7679],[970358400000,4.7679],[970444800000,4.7679],[970531200000,4.78829],[970617600000,4.76707],[970704000000,4.74912],[970790400000,4.77958],[970876800000,4.73443],[970963200000,4.73443],[971049600000,4.73443],[971136000000,4.73008],[971222400000,4.74422],[971308800000,4.74368],[971395200000,4.70451],[971481600000,4.69222],[971568000000,4.69222],[971654400000,4.69222],[971740800000,4.62913],[971827200000,4.62064],[971913600000,4.63615],[972000000000,4.57382],[972086400000,4.59586],[972172800000,4.59586],[972259200000,4.59586],[972345600000,4.55483],[972432000000,4.55972],[972518400000,4.55972],[972604800000,4.48669],[972691200000,4.52584],[972777600000,4.52584],[972864000000,4.52584],[972950400000,4.61158],[973036800000,4.57624],[973123200000,4.65072],[973209600000,4.70092],[973296000000,4.74659],[973382400000,4.74659],[973468800000,4.74659],[973555200000,4.71216],[973641600000,4.66901],[973728000000,4.65379],[973814400000,4.63856],[973900800000,4.71568],[973987200000,4.71568],[974073600000,4.71568],[974160000000,4.68687],[974246400000,4.66701],[974332800000,4.67399],[974419200000,4.65922],[974505600000,4.64065],[974592000000,4.64065],[974678400000,4.64065],[974764800000,4.61501],[974851200000,4.60731],[974937600000,4.58276],[975024000000,4.58168],[975110400000,4.58665],[975196800000,4.58665],[975283200000,4.58665],[975369600000,4.57026],[975456000000,4.65436],[975542400000,4.70275],[975628800000,4.72114],[975715200000,4.74887],[975801600000,4.74887],[975888000000,4.74887],[975974400000,4.84301],[976060800000,4.78965],[976147200000,4.79925],[976233600000,4.86168],[976320000000,4.8355],[976406400000,4.8355],[976492800000,4.8355],[976579200000,4.78612],[976665600000,4.77433],[976752000000,4.75585],[976838400000,4.80515],[976924800000,4.8837],[977011200000,4.8837],[977097600000,4.8837],[977184000000,4.87365],[977270400000,4.8394],[977356800000,4.92402],[977443200000,4.97131],[977529600000,5.02203],[977616000000,5.02203],[977702400000,5.02203],[977788800000,5.02203],[977875200000,5.02194],[977961600000,5.05999],[978048000000,5.04593],[978134400000,5.0568]], 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: [[963619200000, 5.117237],[963619200000, 5.117237],[966297600000, 4.922561],[968976000000, 4.756124],[971568000000, 4.658699],[974246400000, 4.655711],[976838400000, 4.886398]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });