$(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: 'Курс GBP, грн'}, 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: 'Курс GBP', data: [[962409600000,8.2181],[962496000000,8.2181],[962582400000,8.2181],[962668800000,8.2192],[962755200000,8.22711],[962841600000,8.2156],[962928000000,8.22412],[963014400000,8.21492],[963100800000,8.21492],[963187200000,8.21492],[963273600000,8.24695],[963360000000,8.22437],[963446400000,8.23959],[963532800000,8.16941],[963619200000,8.1611],[963705600000,8.1611],[963792000000,8.1611],[963878400000,8.11193],[963964800000,8.15049],[964051200000,8.14215],[964137600000,8.13394],[964224000000,8.23354],[964310400000,8.23354],[964396800000,8.23354],[964483200000,8.25164],[964569600000,8.25336],[964656000000,8.25179],[964742400000,8.23893],[964828800000,8.20315],[964915200000,8.20315],[965001600000,8.20315],[965088000000,8.1356],[965174400000,8.16334],[965260800000,8.09371],[965347200000,8.08891],[965433600000,8.17495],[965520000000,8.17495],[965606400000,8.17495],[965692800000,8.19036],[965779200000,8.20582],[965865600000,8.16321],[965952000000,8.16136],[966038400000,8.19409],[966124800000,8.19409],[966211200000,8.19409],[966297600000,8.18956],[966384000000,8.18408],[966470400000,8.15221],[966556800000,8.15403],[966643200000,8.13843],[966729600000,8.13843],[966816000000,8.13843],[966902400000,8.13843],[966988800000,8.08119],[967075200000,8.04692],[967161600000,8.04692],[967248000000,8.04692],[967334400000,8.04692],[967420800000,8.04692],[967507200000,8.00357],[967593600000,7.94204],[967680000000,7.88087],[967766400000,7.89877],[967852800000,7.89137],[967939200000,7.89137],[968025600000,7.89137],[968112000000,7.95361],[968198400000,7.89133],[968284800000,7.87927],[968371200000,7.80367],[968457600000,7.75795],[968544000000,7.75795],[968630400000,7.75795],[968716800000,7.70391],[968803200000,7.62434],[968889600000,7.66348],[968976000000,7.70861],[969062400000,7.65012],[969148800000,7.65012],[969235200000,7.65012],[969321600000,7.6071],[969408000000,7.63552],[969494400000,7.69761],[969580800000,7.72186],[969667200000,7.97534],[969753600000,7.97534],[969840000000,7.97534],[969926400000,7.91366],[970012800000,7.90236],[970099200000,7.97373],[970185600000,7.97401],[970272000000,7.99044],[970358400000,7.99044],[970444800000,7.99044],[970531200000,7.99247],[970617600000,7.93718],[970704000000,7.91124],[970790400000,7.93029],[970876800000,7.87235],[970963200000,7.87235],[971049600000,7.87235],[971136000000,7.87559],[971222400000,7.9176],[971308800000,7.94852],[971395200000,7.94547],[971481600000,7.99629],[971568000000,7.99629],[971654400000,7.99629],[971740800000,7.86732],[971827200000,7.82098],[971913600000,7.89401],[972000000000,7.8507],[972086400000,7.88042],[972172800000,7.88042],[972259200000,7.88042],[972345600000,7.90768],[972432000000,7.90246],[972518400000,7.90246],[972604800000,7.72636],[972691200000,7.7978],[972777600000,7.7978],[972864000000,7.7978],[972950400000,7.93458],[973036800000,7.87784],[973123200000,7.86658],[973209600000,7.89274],[973296000000,7.89388],[973382400000,7.89388],[973468800000,7.89388],[973555200000,7.86015],[973641600000,7.76873],[973728000000,7.74856],[973814400000,7.70909],[973900800000,7.78294],[973987200000,7.78294],[974073600000,7.78294],[974160000000,7.79067],[974246400000,7.78483],[974332800000,7.77314],[974419200000,7.74214],[974505600000,7.73571],[974592000000,7.73571],[974678400000,7.73571],[974764800000,7.74981],[974851200000,7.72003],[974937600000,7.69049],[975024000000,7.63613],[975110400000,7.65207],[975196800000,7.65207],[975283200000,7.65207],[975369600000,7.66051],[975456000000,7.73278],[975542400000,7.7488],[975628800000,7.70422],[975715200000,7.79142],[975801600000,7.79142],[975888000000,7.79142],[975974400000,7.8915],[976060800000,7.85059],[976147200000,7.80113],[976233600000,7.85155],[976320000000,7.78663],[976406400000,7.78663],[976492800000,7.78663],[976579200000,7.91225],[976665600000,7.87324],[976752000000,7.87392],[976838400000,7.96873],[976924800000,8.02185],[977011200000,8.02185],[977097600000,8.02185],[977184000000,8.02379],[977270400000,7.97003],[977356800000,7.9767],[977443200000,8.04419],[977529600000,8.04555],[977616000000,8.04555],[977702400000,8.04555],[977788800000,8.04555],[977875200000,8.0454],[977961600000,8.0908],[978048000000,8.08902],[978134400000,8.10255]], 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, 8.206226],[963619200000, 8.206226],[966297600000, 8.118881],[968976000000, 7.812254],[971568000000, 7.899560],[974246400000, 7.764894],[976838400000, 7.940454]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });