$(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: [[1072915200000,6.73368],[1073001600000,6.73368],[1073088000000,6.73368],[1073174400000,6.73368],[1073260800000,6.73368],[1073347200000,6.80061],[1073433600000,6.80061],[1073520000000,6.80061],[1073606400000,6.79035],[1073692800000,6.79035],[1073779200000,6.79035],[1073865600000,6.79035],[1073952000000,6.83886],[1074038400000,6.79675],[1074124800000,6.76636],[1074211200000,6.73597],[1074297600000,6.66014],[1074384000000,6.66014],[1074470400000,6.66014],[1074556800000,6.59617],[1074643200000,6.68307],[1074729600000,6.72092],[1074816000000,6.76623],[1074902400000,6.76623],[1074988800000,6.76623],[1075075200000,6.76623],[1075161600000,6.70386],[1075248000000,6.67294],[1075334400000,6.69746],[1075420800000,6.64681],[1075507200000,6.60203],[1075593600000,6.60203],[1075680000000,6.60203],[1075766400000,6.64308],[1075852800000,6.70919],[1075939200000,6.67667],[1076025600000,6.70812],[1076112000000,6.67921],[1076198400000,6.67921],[1076284800000,6.67921],[1076371200000,6.80423],[1076457600000,6.80423],[1076544000000,6.7592],[1076630400000,6.8317],[1076716800000,6.8317],[1076803200000,6.8317],[1076889600000,6.79172],[1076976000000,6.79172],[1077062400000,6.85396],[1077148800000,6.83558],[1077235200000,6.74938],[1077321600000,6.74938],[1077408000000,6.74938],[1077494400000,6.74938],[1077580800000,6.70301],[1077667200000,6.71351],[1077753600000,6.73164],[1077840000000,6.61867],[1077926400000,6.61867],[1078012800000,6.61867],[1078099200000,6.61867],[1078185600000,6.65385],[1078272000000,6.61002],[1078358400000,6.47173],[1078444800000,6.49785],[1078531200000,6.49785],[1078617600000,6.49785],[1078704000000,6.49785],[1078790400000,6.49785],[1078876800000,6.58792],[1078963200000,6.55475],[1079049600000,6.53184],[1079136000000,6.52064],[1079222400000,6.52064],[1079308800000,6.52064],[1079395200000,6.54356],[1079481600000,6.58181],[1079568000000,6.52905],[1079654400000,6.57849],[1079740800000,6.57849],[1079827200000,6.57849],[1079913600000,6.58328],[1080000000000,6.54225],[1080086400000,6.54225],[1080172800000,6.46551],[1080259200000,6.48736],[1080345600000,6.48736],[1080432000000,6.48736],[1080518400000,6.48736],[1080604800000,6.45805],[1080691200000,6.49482],[1080777600000,6.51454],[1080864000000,6.56463],[1080950400000,6.56463],[1081036800000,6.56463],[1081123200000,6.56463],[1081209600000,6.42607],[1081296000000,6.44312],[1081382400000,6.44608],[1081468800000,6.44596],[1081555200000,6.44596],[1081641600000,6.44596],[1081728000000,6.44596],[1081814400000,6.44596],[1081900800000,6.38148],[1081987200000,6.3543],[1082073600000,6.35832],[1082160000000,6.35832],[1082246400000,6.35832],[1082332800000,6.35832],[1082419200000,6.41801],[1082505600000,6.30717],[1082592000000,6.30717],[1082678400000,6.30717],[1082764800000,6.33328],[1082851200000,6.33328],[1082937600000,6.33328],[1083024000000,6.31516],[1083110400000,6.33434],[1083196800000,6.345],[1083283200000,6.36596],[1083369600000,6.36596],[1083456000000,6.36596],[1083542400000,6.36596],[1083628800000,6.36596],[1083715200000,6.36596],[1083801600000,6.46134],[1083888000000,6.43274],[1083974400000,6.43274],[1084060800000,6.43274],[1084147200000,6.43274],[1084233600000,6.28941],[1084320000000,6.31741],[1084406400000,6.31741],[1084492800000,6.28811],[1084579200000,6.28811],[1084665600000,6.28811],[1084752000000,6.28811],[1084838400000,6.38406],[1084924800000,6.38702],[1085011200000,6.35073],[1085097600000,6.40867],[1085184000000,6.40867],[1085270400000,6.40867],[1085356800000,6.40867],[1085443200000,6.37416],[1085529600000,6.44693],[1085616000000,6.44693],[1085702400000,6.47786],[1085788800000,6.47786],[1085875200000,6.47786],[1085961600000,6.47786],[1086048000000,6.52038],[1086134400000,6.51203],[1086220800000,6.53537],[1086307200000,6.49529],[1086393600000,6.49529],[1086480000000,6.49529],[1086566400000,6.49529],[1086652800000,6.55666],[1086739200000,6.46995],[1086825600000,6.46995],[1086912000000,6.38899],[1086998400000,6.38899],[1087084800000,6.38899],[1087171200000,6.38899],[1087257600000,6.38633],[1087344000000,6.41667],[1087430400000,6.41667],[1087516800000,6.40803],[1087603200000,6.40803],[1087689600000,6.40803],[1087776000000,6.4454],[1087862400000,6.4341],[1087948800000,6.4341],[1088035200000,6.43186],[1088121600000,6.45863],[1088208000000,6.45863],[1088294400000,6.45863],[1088380800000,6.45863],[1088467200000,6.45863],[1088553600000,6.47476],[1088640000000,6.46646],[1088726400000,6.46262],[1088812800000,6.46262],[1088899200000,6.46262],[1088985600000,6.53709],[1089072000000,6.53709],[1089158400000,6.54802],[1089244800000,6.56852],[1089331200000,6.58054],[1089417600000,6.58054],[1089504000000,6.58054],[1089590400000,6.58054],[1089676800000,6.58005],[1089763200000,6.58434],[1089849600000,6.58037],[1089936000000,6.58037],[1090022400000,6.56895],[1090108800000,6.56895],[1090195200000,6.56895],[1090281600000,6.59946],[1090368000000,6.5851],[1090454400000,6.53754],[1090540800000,6.48135],[1090627200000,6.48135],[1090713600000,6.48135],[1090800000000,6.48135],[1090886400000,6.46887],[1090972800000,6.46887],[1091059200000,6.39302],[1091145600000,6.39921],[1091232000000,6.39921],[1091318400000,6.39921],[1091404800000,6.39921],[1091491200000,6.39005],[1091577600000,6.36897],[1091664000000,6.36897],[1091750400000,6.36897],[1091836800000,6.41214],[1091923200000,6.41214],[1092009600000,6.50904],[1092096000000,6.52555],[1092182400000,6.50086],[1092268800000,6.50086],[1092355200000,6.49257],[1092441600000,6.49257],[1092528000000,6.49257],[1092614400000,6.49257],[1092700800000,6.55514],[1092787200000,6.55514],[1092873600000,6.56597],[1092960000000,6.53066],[1093046400000,6.53066],[1093132800000,6.53066],[1093219200000,6.53066],[1093305600000,6.53066],[1093392000000,6.41815],[1093478400000,6.42752],[1093564800000,6.41931],[1093651200000,6.41931],[1093737600000,6.41931],[1093824000000,6.41931],[1093910400000,6.43264],[1093996800000,6.46267],[1094083200000,6.46479],[1094169600000,6.46626],[1094256000000,6.46626],[1094342400000,6.46626],[1094428800000,6.46626],[1094515200000,6.41467],[1094601600000,6.41467],[1094688000000,6.39355],[1094774400000,6.48841],[1094860800000,6.48841],[1094947200000,6.48841],[1095033600000,6.49732],[1095120000000,6.49732],[1095206400000,6.49789],[1095292800000,6.49789],[1095379200000,6.45517],[1095465600000,6.48282],[1095552000000,6.48282],[1095638400000,6.48282],[1095724800000,6.44064],[1095811200000,6.51684],[1095897600000,6.50026],[1095984000000,6.53705],[1096070400000,6.53374],[1096156800000,6.53374],[1096243200000,6.53374],[1096329600000,6.50442],[1096416000000,6.54717],[1096502400000,6.54068],[1096588800000,6.5862],[1096675200000,null],[1096761600000,null],[1096848000000,6.58832],[1096934400000,6.53088],[1097020800000,6.53022],[1097107200000,6.51843],[1097193600000,6.52839],[1097280000000,6.52839],[1097366400000,6.52839],[1097452800000,6.53569],[1097539200000,6.57656],[1097625600000,6.5341],[1097712000000,6.5101],[1097798400000,6.56835],[1097884800000,null],[1097971200000,6.58774],[1098057600000,6.58774],[1098144000000,6.61945],[1098230400000,6.63803],[1098316800000,6.68101],[1098403200000,6.68937],[1098489600000,6.68937],[1098576000000,6.68937],[1098662400000,6.68937],[1098748800000,6.78807],[1098835200000,6.78383],[1098921600000,6.78807],[1099008000000,6.74509],[1099094400000,6.75889],[1099180800000,6.75889],[1099267200000,6.75889],[1099353600000,6.76473],[1099440000000,6.74191],[1099526400000,6.76791],[1099612800000,null],[1099699200000,null],[1099785600000,null],[1099872000000,null],[1099958400000,null],[1100044800000,6.88599],[1100131200000,6.88599],[1100217600000,6.83982],[1100304000000,6.85614],[1100390400000,6.85614],[1100476800000,6.85614],[1100563200000,6.87418],[1100649600000,6.88267],[1100736000000,6.91186],[1100822400000,6.9108],[1100908800000,6.90867],[1100995200000,6.90867],[1101081600000,6.90867],[1101168000000,6.91557],[1101254400000,6.94529],[1101340800000,6.97553],[1101427200000,7.01108],[1101513600000,7.02435],[1101600000000,7.02435],[1101686400000,7.02435],[1101772800000,7.02912],[1101859200000,7.05459],[1101945600000,7.05406],[1102032000000,7.06468],[1102118400000,7.05725],[1102204800000,7.05725],[1102291200000,7.05725],[1102377600000,7.12888],[1102464000000,7.14002],[1102550400000,7.05711],[1102636800000,7.05977],[1102723200000,null],[1102809600000,null],[1102896000000,null],[1102982400000,7.04],[1103068800000,7.066],[1103155200000,7.10102],[1103241600000,7.11057],[1103328000000,7.03775],[1103414400000,7.03775],[1103500800000,7.03775],[1103587200000,7.0981],[1103673600000,7.10659],[1103760000000,7.10128],[1103846400000,7.13948],[1103932800000,7.18511],[1104019200000,7.18511],[1104105600000,7.18511],[1104192000000,7.17716],[1104278400000,7.2334],[1104364800000,7.21986]], 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, 6.733489],[1074124800000, 6.733489],[1076803200000, 6.728144],[1079308800000, 6.532434],[1081987200000, 6.406234],[1084579200000, 6.388217],[1087257600000, 6.451953],[1089849600000, 6.521802],[1092528000000, 6.464882],[1095206400000, 6.485432],[1097798400000, 6.627083],[1100476800000, 6.898752],[1103068800000, 7.107513]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });