$(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: [[1072915200000,9.55404],[1073001600000,9.55404],[1073088000000,9.55404],[1073174400000,9.55404],[1073260800000,9.55404],[1073347200000,9.71793],[1073433600000,9.71793],[1073520000000,9.71793],[1073606400000,9.77873],[1073692800000,9.77873],[1073779200000,9.77873],[1073865600000,9.77873],[1073952000000,9.87562],[1074038400000,9.85464],[1074124800000,9.80419],[1074211200000,9.73969],[1074297600000,9.67482],[1074384000000,9.67482],[1074470400000,9.67482],[1074556800000,9.52103],[1074643200000,9.66739],[1074729600000,9.74046],[1074816000000,9.81894],[1074902400000,9.81894],[1074988800000,9.81894],[1075075200000,9.81894],[1075161600000,9.73266],[1075248000000,9.65903],[1075334400000,9.75098],[1075420800000,9.70338],[1075507200000,9.64364],[1075593600000,9.64364],[1075680000000,9.64364],[1075766400000,9.72064],[1075852800000,9.8145],[1075939200000,9.79127],[1076025600000,9.78716],[1076112000000,9.77708],[1076198400000,9.77708],[1076284800000,9.77708],[1076371200000,9.97542],[1076457600000,9.97542],[1076544000000,9.97079],[1076630400000,10.0792],[1076716800000,10.0792],[1076803200000,10.0792],[1076889600000,10.0499],[1076976000000,10.0499],[1077062400000,10.1585],[1077148800000,10.1478],[1077235200000,10.0228],[1077321600000,10.0228],[1077408000000,10.0228],[1077494400000,10.0228],[1077580800000,9.92303],[1077667200000,10.0023],[1077753600000,10.0743],[1077840000000,9.87861],[1077926400000,9.87861],[1078012800000,9.87861],[1078099200000,9.87861],[1078185600000,9.95638],[1078272000000,9.91007],[1078358400000,9.75687],[1078444800000,9.6925],[1078531200000,9.6925],[1078617600000,9.6925],[1078704000000,9.6925],[1078790400000,9.6925],[1078876800000,9.80199],[1078963200000,9.70212],[1079049600000,9.61695],[1079136000000,9.56948],[1079222400000,9.56948],[1079308800000,9.56948],[1079395200000,9.59748],[1079481600000,9.69053],[1079568000000,9.66407],[1079654400000,9.76761],[1079740800000,9.76761],[1079827200000,9.76761],[1079913600000,9.83387],[1080000000000,9.8173],[1080086400000,9.8173],[1080172800000,9.61414],[1080259200000,9.68479],[1080345600000,9.68479],[1080432000000,9.68479],[1080518400000,9.68479],[1080604800000,9.67642],[1080691200000,9.72133],[1080777600000,9.78306],[1080864000000,9.85237],[1080950400000,9.85237],[1081036800000,9.85237],[1081123200000,9.85237],[1081209600000,9.68365],[1081296000000,9.78901],[1081382400000,9.76531],[1081468800000,9.76512],[1081555200000,9.76512],[1081641600000,9.76512],[1081728000000,9.76512],[1081814400000,9.76512],[1081900800000,9.7338],[1081987200000,9.59719],[1082073600000,9.51275],[1082160000000,9.51275],[1082246400000,9.51275],[1082332800000,9.51275],[1082419200000,9.63159],[1082505600000,9.43904],[1082592000000,9.43904],[1082678400000,9.43904],[1082764800000,9.45477],[1082851200000,9.45477],[1082937600000,9.45477],[1083024000000,9.5158],[1083110400000,9.54255],[1083196800000,9.51988],[1083283200000,9.44925],[1083369600000,9.44925],[1083456000000,9.44925],[1083542400000,9.44925],[1083628800000,9.44925],[1083715200000,9.44925],[1083801600000,9.54548],[1083888000000,9.57395],[1083974400000,9.57395],[1084060800000,9.57395],[1084147200000,9.57395],[1084233600000,9.35924],[1084320000000,9.43319],[1084406400000,9.43319],[1084492800000,9.33092],[1084579200000,9.33092],[1084665600000,9.33092],[1084752000000,9.33092],[1084838400000,9.42436],[1084924800000,9.48755],[1085011200000,9.43224],[1085097600000,9.54097],[1085184000000,9.54097],[1085270400000,9.54097],[1085356800000,9.54097],[1085443200000,9.53787],[1085529600000,9.67426],[1085616000000,9.67426],[1085702400000,9.7236],[1085788800000,9.7236],[1085875200000,9.7236],[1085961600000,9.7236],[1086048000000,9.77129],[1086134400000,9.78076],[1086220800000,9.82763],[1086307200000,9.78428],[1086393600000,9.78428],[1086480000000,9.78428],[1086566400000,9.78428],[1086652800000,9.78242],[1086739200000,9.73511],[1086825600000,9.73511],[1086912000000,9.68983],[1086998400000,9.68983],[1087084800000,9.68983],[1087171200000,9.68983],[1087257600000,9.62232],[1087344000000,9.73107],[1087430400000,9.73107],[1087516800000,9.76908],[1087603200000,9.76908],[1087689600000,9.76908],[1087776000000,9.74877],[1087862400000,9.68992],[1087948800000,9.68992],[1088035200000,9.67051],[1088121600000,9.68891],[1088208000000,9.68891],[1088294400000,9.68891],[1088380800000,9.68891],[1088467200000,9.68891],[1088553600000,9.68985],[1088640000000,9.64064],[1088726400000,9.66444],[1088812800000,9.66444],[1088899200000,9.66444],[1088985600000,9.74958],[1089072000000,9.74958],[1089158400000,9.78338],[1089244800000,9.85081],[1089331200000,9.84595],[1089417600000,9.84595],[1089504000000,9.84595],[1089590400000,9.84595],[1089676800000,9.89927],[1089763200000,9.88343],[1089849600000,9.85528],[1089936000000,9.85528],[1090022400000,9.88556],[1090108800000,9.88556],[1090195200000,9.88556],[1090281600000,9.94494],[1090368000000,9.87494],[1090454400000,9.797],[1090540800000,9.77284],[1090627200000,9.77284],[1090713600000,9.77284],[1090800000000,9.77284],[1090886400000,9.7865],[1090972800000,9.7865],[1091059200000,9.64257],[1091145600000,9.65846],[1091232000000,9.65846],[1091318400000,9.65846],[1091404800000,9.65846],[1091491200000,9.67164],[1091577600000,9.6558],[1091664000000,9.6558],[1091750400000,9.6558],[1091836800000,9.68747],[1091923200000,9.68747],[1092009600000,9.77259],[1092096000000,9.75127],[1092182400000,9.71728],[1092268800000,9.71728],[1092355200000,9.68895],[1092441600000,9.68895],[1092528000000,9.68895],[1092614400000,9.68895],[1092700800000,9.78087],[1092787200000,9.78087],[1092873600000,9.70507],[1092960000000,9.68509],[1093046400000,9.68509],[1093132800000,9.68509],[1093219200000,9.68509],[1093305600000,9.68509],[1093392000000,9.54088],[1093478400000,9.54771],[1093564800000,9.55539],[1093651200000,9.55539],[1093737600000,9.55539],[1093824000000,9.55539],[1093910400000,9.52278],[1093996800000,9.53547],[1094083200000,9.51965],[1094169600000,9.51061],[1094256000000,9.51061],[1094342400000,9.51061],[1094428800000,9.51061],[1094515200000,9.41742],[1094601600000,9.41742],[1094688000000,9.4189],[1094774400000,9.49709],[1094860800000,9.49709],[1094947200000,9.49709],[1095033600000,9.55347],[1095120000000,9.55347],[1095206400000,9.48874],[1095292800000,9.48874],[1095379200000,9.49569],[1095465600000,9.53216],[1095552000000,9.53216],[1095638400000,9.53216],[1095724800000,9.46596],[1095811200000,9.5366],[1095897600000,9.51095],[1095984000000,9.56058],[1096070400000,9.56414],[1096156800000,9.56414],[1096243200000,9.56414],[1096329600000,9.58365],[1096416000000,9.62678],[1096502400000,9.59325],[1096588800000,9.58969],[1096675200000,null],[1096761600000,null],[1096848000000,9.53517],[1096934400000,9.48497],[1097020800000,9.46958],[1097107200000,9.45385],[1097193600000,9.45389],[1097280000000,9.45389],[1097366400000,9.45389],[1097452800000,9.48439],[1097539200000,9.5271],[1097625600000,9.48483],[1097712000000,9.48648],[1097798400000,9.55257],[1097884800000,null],[1097971200000,9.55506],[1098057600000,9.55506],[1098144000000,9.56776],[1098230400000,9.56075],[1098316800000,9.59502],[1098403200000,9.69404],[1098489600000,9.68071],[1098576000000,9.68071],[1098662400000,9.68071],[1098748800000,9.77334],[1098835200000,9.75319],[1098921600000,9.77334],[1099008000000,9.6954],[1099094400000,9.71593],[1099180800000,9.71593],[1099267200000,9.71593],[1099353600000,9.72223],[1099440000000,9.74828],[1099526400000,9.78163],[1099612800000,null],[1099699200000,null],[1099785600000,null],[1099872000000,null],[1099958400000,null],[1100044800000,9.85543],[1100131200000,9.85543],[1100217600000,9.76838],[1100304000000,9.7861],[1100390400000,9.7861],[1100476800000,9.7861],[1100563200000,9.83572],[1100649600000,9.83871],[1100736000000,9.85507],[1100822400000,9.83743],[1100908800000,9.85264],[1100995200000,9.85264],[1101081600000,9.85264],[1101168000000,9.84353],[1101254400000,9.92893],[1101340800000,9.96718],[1101427200000,10.0073],[1101513600000,10.0391],[1101600000000,10.0391],[1101686400000,10.0391],[1101772800000,10.0273],[1101859200000,10.1272],[1101945600000,10.2004],[1102032000000,10.2528],[1102118400000,10.2264],[1102204800000,10.2264],[1102291200000,10.2264],[1102377600000,10.3048],[1102464000000,10.3389],[1102550400000,10.2351],[1102636800000,10.2034],[1102723200000,null],[1102809600000,null],[1102896000000,null],[1102982400000,10.1697],[1103068800000,10.2184],[1103155200000,10.2742],[1103241600000,10.3607],[1103328000000,10.2613],[1103414400000,10.2613],[1103500800000,10.2613],[1103587200000,10.326],[1103673600000,10.2652],[1103760000000,10.1585],[1103846400000,10.1804],[1103932800000,10.2163],[1104019200000,10.2163],[1104105600000,10.2163],[1104192000000,10.2006],[1104278400000,10.2871],[1104364800000,10.1932]], 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: [[1074124800000, 9.710705],[1074124800000, 9.710705],[1076803200000, 9.931865],[1079308800000, 9.718334],[1081987200000, 9.632620],[1084579200000, 9.513731],[1087257600000, 9.728466],[1089849600000, 9.791670],[1092528000000, 9.663558],[1095206400000, 9.519645],[1097798400000, 9.586688],[1100476800000, 9.864875],[1103068800000, 10.235408]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });