$(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: [[1104883200000,8.69325],[1104969600000,9.95332],[1105056000000,9.93548],[1105142400000,null],[1105228800000,9.93548],[1105315200000,null],[1105401600000,9.96113],[1105488000000,9.95872],[1105574400000,9.95853],[1105660800000,9.98461],[1105747200000,9.91168],[1105833600000,9.91168],[1105920000000,9.91168],[1106006400000,9.87191],[1106092800000,9.9277],[1106179200000,9.89689],[1106265600000,9.89689],[1106352000000,9.88902],[1106438400000,9.88902],[1106524800000,9.88902],[1106611200000,null],[1106697600000,9.93184],[1106784000000,9.95811],[1106870400000,9.98553],[1106956800000,9.98287],[1107043200000,9.98287],[1107129600000,10.002],[1107216000000,10.002],[1107302400000,9.9758],[1107388800000,10.0024],[1107475200000,9.99742],[1107561600000,9.97971],[1107648000000,9.97971],[1107734400000,9.97971],[1107820800000,9.91403],[1107907200000,9.83864],[1107993600000,9.86236],[1108080000000,9.83862],[1108166400000,9.87731],[1108252800000,9.87731],[1108339200000,9.87731],[1108425600000,9.99816],[1108512000000,10.0184],[1108598400000,9.99498],[1108684800000,9.99791],[1108771200000,10.0268],[1108857600000,10.0268],[1108944000000,10.0268],[1109030400000,10.0391],[1109116800000,10.113],[1109203200000,10.1148],[1109289600000,10.1253],[1109376000000,10.114],[1109462400000,10.114],[1109548800000,10.114],[1109635200000,10.1847],[1109721600000,10.1801],[1109808000000,10.1206],[1109894400000,10.1257],[1109980800000,10.1052],[1110067200000,10.1052],[1110153600000,10.1052],[1110240000000,10.1052],[1110326400000,10.1052],[1110412800000,10.1896],[1110499200000,10.1987],[1110585600000,10.1698],[1110672000000,10.1698],[1110758400000,10.1698],[1110844800000,10.1525],[1110931200000,10.1766],[1111017600000,10.1714],[1111104000000,10.1753],[1111190400000,10.1328],[1111276800000,10.1328],[1111363200000,10.1328],[1111449600000,null],[1111536000000,10.0427],[1111622400000,9.92146],[1111708800000,9.87316],[1111795200000,9.87316],[1111881600000,9.87316],[1111968000000,9.87316],[1112054400000,9.87316],[1112140800000,9.8936],[1112227200000,9.93884],[1112313600000,9.94302],[1112400000000,9.96597],[1112486400000,9.96597],[1112572800000,9.96597],[1112659200000,9.90116],[1112745600000,9.88679],[1112832000000,9.90242],[1112918400000,9.91634],[1113004800000,9.84927],[1113091200000,9.84927],[1113177600000,9.84927],[1113264000000,9.95691],[1113350400000,9.97746],[1113436800000,9.94749],[1113523200000,9.88947],[1113609600000,9.87742],[1113696000000,9.87742],[1113782400000,9.87742],[1113868800000,9.90746],[1113955200000,9.90881],[1114041600000,9.67231],[1114128000000,9.63021],[1114214400000,9.67106],[1114300800000,9.67106],[1114387200000,9.67106],[1114473600000,9.64832],[1114560000000,9.62403],[1114646400000,9.60065],[1114732800000,9.62207],[1114819200000,9.65799],[1114905600000,9.65799],[1114992000000,9.65799],[1115078400000,9.65799],[1115164800000,9.65799],[1115251200000,9.59482],[1115337600000,9.61036],[1115424000000,9.58615],[1115510400000,9.58615],[1115596800000,9.58615],[1115683200000,9.58615],[1115769600000,9.50684],[1115856000000,9.50944],[1115942400000,9.43854],[1116028800000,9.38128],[1116115200000,9.38128],[1116201600000,9.38128],[1116288000000,9.27512],[1116374400000,9.28374],[1116460800000,9.25925],[1116547200000,9.29018],[1116633600000,9.26513],[1116720000000,9.26513],[1116806400000,9.26513],[1116892800000,9.23319],[1116979200000,9.26574],[1117065600000,9.22413],[1117152000000,9.20005],[1117238400000,9.22465],[1117324800000,9.22465],[1117411200000,9.22465],[1117497600000,9.19536],[1117584000000,9.1968],[1117670400000,9.15131],[1117756800000,9.17887],[1117843200000,9.19356],[1117929600000,9.19356],[1118016000000,9.19356],[1118102400000,9.19309],[1118188800000,9.24736],[1118275200000,9.28502],[1118361600000,9.21617],[1118448000000,9.221],[1118534400000,9.221],[1118620800000,9.221],[1118707200000,9.12366],[1118793600000,9.14355],[1118880000000,9.15086],[1118966400000,null],[1119052800000,9.21754],[1119139200000,9.21754],[1119225600000,9.21754],[1119312000000,null],[1119398400000,9.19866],[1119484800000,9.20411],[1119571200000,9.20798],[1119657600000,9.21184],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,9.13675],[1120176000000,null],[1120262400000,8.9985],[1120348800000,8.9985],[1120435200000,8.9985],[1120521600000,8.88819],[1120608000000,8.86817],[1120694400000,8.87549],[1120780800000,8.82245],[1120867200000,8.76799],[1120953600000,8.76799],[1121040000000,8.76799],[1121126400000,8.82127],[1121212800000,8.93688],[1121299200000,8.9274],[1121385600000,8.88611],[1121472000000,8.89377],[1121558400000,8.89377],[1121644800000,8.89377],[1121731200000,8.8315],[1121817600000,8.79306],[1121904000000,8.77404],[1121990400000,8.84258],[1122076800000,8.82206],[1122163200000,8.82206],[1122249600000,8.82206],[1122336000000,8.77423],[1122422400000,8.77882],[1122508800000,8.77148],[1122595200000,8.84682],[1122681600000,8.85966],[1122768000000,8.85966],[1122854400000,8.85966],[1122940800000,8.92478],[1123027200000,8.95051],[1123113600000,8.99369],[1123200000000,8.96605],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,9.01333],[1123718400000,9.05394],[1123804800000,9.10211],[1123891200000,9.16023],[1123977600000,9.16023],[1124064000000,9.16023],[1124150400000,9.14112],[1124236800000,9.12476],[1124323200000,9.141],[1124409600000,9.10275],[1124496000000,9.06901],[1124582400000,9.06901],[1124668800000,9.06901],[1124755200000,9.1081],[1124841600000,9.08213],[1124928000000,9.08213],[1125014400000,9.08704],[1125100800000,9.11496],[1125187200000,9.11496],[1125273600000,9.11496],[1125360000000,9.10497],[1125446400000,9.00975],[1125532800000,9.02034],[1125619200000,9.15481],[1125705600000,9.28895],[1125792000000,9.28895],[1125878400000,9.28895],[1125964800000,9.33121],[1126051200000,9.31567],[1126137600000,9.2863],[1126224000000,9.27402],[1126310400000,9.28345],[1126396800000,9.28345],[1126483200000,9.28345],[1126569600000,null],[1126656000000,null],[1126742400000,9.23459],[1126828800000,null],[1126915200000,null],[1127001600000,9.13927],[1127088000000,9.13927],[1127174400000,9.11147],[1127260800000,9.1146],[1127347200000,9.14543],[1127433600000,9.09551],[1127520000000,9.01929],[1127606400000,9.01929],[1127692800000,9.01929],[1127779200000,8.9486],[1127865600000,8.9122],[1127952000000,8.92612],[1128038400000,8.92443],[1128124800000,8.91738],[1128211200000,8.91738],[1128297600000,8.91738],[1128384000000,8.86201],[1128470400000,8.88401],[1128556800000,8.89989],[1128643200000,8.93407],[1128729600000,8.92681],[1128816000000,8.92681],[1128902400000,8.92681],[1128988800000,8.86951],[1129075200000,8.84357],[1129161600000,8.83327],[1129248000000,8.83326],[1129334400000,8.84082],[1129420800000,8.84082],[1129507200000,8.84082],[1129593600000,8.86811],[1129680000000,8.8112],[1129766400000,8.87398],[1129852800000,8.92015],[1129939200000,8.95888],[1130025600000,8.95888],[1130112000000,8.95888],[1130198400000,8.92398],[1130284800000,8.96857],[1130371200000,8.95822],[1130457600000,9.01626],[1130544000000,9.00234],[1130630400000,9.00234],[1130716800000,9.00234],[1130803200000,8.97305],[1130889600000,8.93084],[1130976000000,8.9196],[1131062400000,8.96529],[1131148800000,8.90917],[1131235200000,8.90917],[1131321600000,8.90917],[1131408000000,8.82584],[1131494400000,8.76972],[1131580800000,8.77786],[1131667200000,8.82718],[1131753600000,8.77579],[1131840000000,8.77579],[1131926400000,8.77579],[1132012800000,8.79106],[1132099200000,8.75198],[1132185600000,8.7116],[1132272000000,8.68942],[1132358400000,8.65428],[1132444800000,8.65428],[1132531200000,8.65428],[1132617600000,8.68519],[1132704000000,8.63069],[1132790400000,8.68665],[1132876800000,8.70644],[1132963200000,8.6923],[1133049600000,8.6923],[1133136000000,8.6923],[1133222400000,8.63841],[1133308800000,8.703],[1133395200000,8.71267],[1133481600000,8.72496],[1133568000000,8.71944],[1133654400000,8.71944],[1133740800000,8.71944],[1133827200000,8.77356],[1133913600000,8.76285],[1134000000000,8.73622],[1134086400000,8.80187],[1134172800000,8.8405],[1134259200000,8.8405],[1134345600000,8.8405],[1134432000000,8.93093],[1134518400000,8.93159],[1134604800000,8.94899],[1134691200000,8.95448],[1134777600000,8.93264],[1134864000000,8.93264],[1134950400000,8.93264],[1135036800000,9.01452],[1135123200000,8.90191],[1135209600000,8.83034],[1135296000000,8.76668],[1135382400000,8.76323],[1135468800000,8.76323],[1135555200000,8.76323],[1135641600000,8.76323],[1135728000000,8.76383],[1135814400000,8.76815],[1135900800000,8.6759]], 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: [[1105747200000, 9.884133],[1105747200000, 9.884133],[1108425600000, 9.993807],[1110844800000, 10.075704],[1113523200000, 9.822800],[1116115200000, 9.402467],[1118793600000, 9.197597],[1121385600000, 8.853492],[1124064000000, 9.069643],[1126742400000, 9.148034],[1129334400000, 8.910928],[1132012800000, 8.769282],[1134604800000, 8.817671]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });