$(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: [[1136246400000,5.95749],[1136332800000,5.95749],[1136419200000,5.95749],[1136505600000,6.10444],[1136592000000,6.10696],[1136678400000,6.10696],[1136764800000,6.10696],[1136851200000,6.10696],[1136937600000,6.09232],[1137024000000,6.10444],[1137110400000,6.11707],[1137196800000,6.0797],[1137283200000,6.0797],[1137369600000,6.0797],[1137456000000,6.11656],[1137542400000,6.09788],[1137628800000,6.12312],[1137715200000,6.09687],[1137801600000,6.09434],[1137888000000,6.09434],[1137974400000,6.09434],[1138060800000,6.19989],[1138147200000,6.19736],[1138233600000,6.20847],[1138320000000,6.18827],[1138406400000,6.14686],[1138492800000,6.14686],[1138579200000,6.14686],[1138665600000,6.10141],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,6.0504],[1139270400000,6.0504],[1139356800000,6.04636],[1139443200000,6.03374],[1139529600000,6.04586],[1139616000000,6.04485],[1139702400000,6.04485],[1139788800000,6.04485],[1139875200000,6.00344],[1139961600000,6.00849],[1140048000000,6.01152],[1140134400000,5.98829],[1140220800000,5.99081],[1140307200000,5.99081],[1140393600000,5.99081],[1140480000000,6.02566],[1140566400000,6.01253],[1140652800000,5.99688],[1140739200000,6.03829],[1140825600000,6.00748],[1140912000000,6.00748],[1140998400000,6.00748],[1141084800000,5.98526],[1141171200000,5.99688],[1141257600000,6.03677],[1141344000000,6.02011],[1141430400000,6.0701],[1141516800000,6.0701],[1141603200000,6.0701],[1141689600000,6.06858],[1141776000000,6.01607],[1141862400000,6.01607],[1141948800000,6.0196],[1142035200000,6.0191],[1142121600000,6.0191],[1142208000000,6.0191],[1142294400000,6.02061],[1142380800000,6.03374],[1142467200000,6.07313],[1142553600000,6.09485],[1142640000000,6.15343],[1142726400000,6.15343],[1142812800000,6.15343],[1142899200000,6.14787],[1142985600000,6.13272],[1143072000000,6.09485],[1143158400000,6.08777],[1143244800000,6.04434],[1143331200000,6.04434],[1143417600000,6.04434],[1143504000000,6.07263],[1143590400000,6.10242],[1143676800000,6.06606],[1143763200000,6.10848],[1143849600000,6.11252],[1143936000000,6.11252],[1144022400000,6.11252],[1144108800000,6.09182],[1144195200000,6.16958],[1144281600000,6.19231],[1144368000000,6.21756],[1144454400000,6.15039],[1144540800000,6.15039],[1144627200000,6.15039],[1144713600000,6.10999],[1144800000000,6.11303],[1144886400000,6.12312],[1144972800000,6.10747],[1145059200000,6.10747],[1145145600000,6.10747],[1145232000000,6.10747],[1145318400000,6.10747],[1145404800000,6.18726],[1145491200000,6.23473],[1145577600000,6.23473],[1145664000000,6.21908],[1145750400000,6.21908],[1145836800000,6.21908],[1145923200000,6.21908],[1146009600000,6.27463],[1146096000000,6.27463],[1146182400000,6.26907],[1146268800000,6.33118],[1146355200000,6.33118],[1146441600000,6.33118],[1146528000000,6.33118],[1146614400000,6.33118],[1146700800000,6.37411],[1146787200000,6.35896],[1146873600000,6.40744],[1146960000000,6.40744],[1147046400000,6.40744],[1147132800000,6.40744],[1147219200000,6.40744],[1147305600000,6.4534],[1147392000000,6.42158],[1147478400000,6.52157],[1147564800000,6.52157],[1147651200000,6.52157],[1147737600000,6.47713],[1147824000000,6.47258],[1147910400000,6.50541],[1147996800000,6.44885],[1148083200000,6.44733],[1148169600000,6.44733],[1148256000000,6.44733],[1148342400000,6.44027],[1148428800000,6.4847],[1148515200000,6.48975],[1148601600000,6.44128],[1148688000000,6.46249],[1148774400000,6.46249],[1148860800000,6.46249],[1148947200000,6.44279],[1149033600000,6.48369],[1149120000000,6.49834],[1149206400000,6.43168],[1149292800000,6.47157],[1149379200000,6.47157],[1149465600000,6.47157],[1149552000000,6.54379],[1149638400000,6.48773],[1149724800000,6.45845],[1149811200000,6.43117],[1149897600000,6.39279],[1149984000000,6.39279],[1150070400000,6.39279],[1150156800000,6.39279],[1150243200000,6.34835],[1150329600000,6.34431],[1150416000000,6.36805],[1150502400000,6.38875],[1150588800000,6.38875],[1150675200000,6.38875],[1150761600000,6.35846],[1150848000000,6.33573],[1150934400000,6.37916],[1151020800000,6.35391],[1151107200000,6.31351],[1151193600000,6.31351],[1151280000000,6.31351],[1151366400000,6.3433],[1151452800000,6.34633],[1151539200000,6.34633],[1151625600000,6.32714],[1151712000000,6.42007],[1151798400000,6.42007],[1151884800000,6.42007],[1151971200000,6.45895],[1152057600000,6.45946],[1152144000000,6.46097],[1152230400000,6.43117],[1152316800000,6.45289],[1152403200000,6.45289],[1152489600000,6.45289],[1152576000000,6.43976],[1152662400000,6.43168],[1152748800000,6.42461],[1152835200000,6.40946],[1152921600000,6.39633],[1153008000000,6.39633],[1153094400000,6.39633],[1153180800000,6.33321],[1153267200000,6.32815],[1153353600000,6.30341],[1153440000000,6.38471],[1153526400000,6.4034],[1153612800000,6.4034],[1153699200000,6.4034],[1153785600000,6.37967],[1153872000000,6.38118],[1153958400000,6.35644],[1154044800000,6.43218],[1154131200000,6.39532],[1154217600000,6.39532],[1154304000000,6.39532],[1154390400000,6.44733],[1154476800000,6.44329],[1154563200000,6.46299],[1154649600000,6.45441],[1154736000000,6.45996],[1154822400000,6.45996],[1154908800000,6.45996],[1154995200000,6.48925],[1155081600000,6.48369],[1155168000000,6.50389],[1155254400000,6.49278],[1155340800000,6.45137],[1155427200000,6.45137],[1155513600000,6.45137],[1155600000000,6.42259],[1155686400000,6.42612],[1155772800000,6.46047],[1155859200000,6.50389],[1155945600000,6.46501],[1156032000000,6.46501],[1156118400000,6.46501],[1156204800000,6.52409],[1156291200000,6.47006],[1156377600000,6.47006],[1156464000000,6.47006],[1156550400000,6.47006],[1156636800000,6.47006],[1156723200000,6.47006],[1156809600000,6.464],[1156896000000,6.46804],[1156982400000,6.47309],[1157068800000,6.48975],[1157155200000,6.47258],[1157241600000,6.47258],[1157328000000,6.47258],[1157414400000,6.49026],[1157500800000,6.46905],[1157587200000,6.46047],[1157673600000,6.42915],[1157760000000,6.42007],[1157846400000,6.42007],[1157932800000,6.42007],[1158019200000,6.42007],[1158105600000,6.41805],[1158192000000,6.40189],[1158278400000,6.42511],[1158364800000,6.40088],[1158451200000,6.40088],[1158537600000,6.40088],[1158624000000,6.39583],[1158710400000,6.39027],[1158796800000,6.40138],[1158883200000,6.42915],[1158969600000,6.47258],[1159056000000,6.47258],[1159142400000,6.47258],[1159228800000,6.44784],[1159315200000,6.41097],[1159401600000,6.40542],[1159488000000,6.42007],[1159574400000,6.3933],[1159660800000,6.3933],[1159747200000,6.3933],[1159833600000,6.40592],[1159920000000,6.43218],[1160006400000,6.40542],[1160092800000,6.4241],[1160179200000,6.39532],[1160265600000,6.39532],[1160352000000,6.39532],[1160438400000,6.36451],[1160524800000,6.33169],[1160611200000,6.33422],[1160697600000,6.32815],[1160784000000,6.33775],[1160870400000,6.33775],[1160956800000,6.33775],[1161043200000,6.32008],[1161129600000,6.32462],[1161216000000,6.33422],[1161302400000,6.3433],[1161388800000,6.37209],[1161475200000,6.37209],[1161561600000,6.37209],[1161648000000,6.34078],[1161734400000,6.33321],[1161820800000,6.3529],[1161907200000,6.38976],[1161993600000,6.40491],[1162080000000,6.40491],[1162166400000,6.40491],[1162252800000,6.42209],[1162339200000,6.41148],[1162425600000,6.44229],[1162512000000,6.44733],[1162598400000,6.4438],[1162684800000,6.4438],[1162771200000,6.4438],[1162857600000,6.41451],[1162944000000,6.44128],[1163030400000,6.45188],[1163116800000,6.46198],[1163203200000,6.49632],[1163289600000,6.49632],[1163376000000,6.49632],[1163462400000,6.47915],[1163548800000,6.47612],[1163635200000,6.45996],[1163721600000,6.46602],[1163808000000,6.45087],[1163894400000,6.45087],[1163980800000,6.45087],[1164067200000,6.4847],[1164153600000,6.47107],[1164240000000,6.50743],[1164326400000,6.54127],[1164412800000,6.60439],[1164499200000,6.60439],[1164585600000,6.60439],[1164672000000,6.62257],[1164758400000,6.63924],[1164844800000,6.64428],[1164931200000,6.666],[1165017600000,6.68822],[1165104000000,6.68822],[1165190400000,6.68822],[1165276800000,6.72105],[1165363200000,6.73215],[1165449600000,6.70337],[1165536000000,6.71499],[1165622400000,6.70438],[1165708800000,6.70438],[1165795200000,6.70438],[1165881600000,6.65439],[1165968000000,6.68822],[1166054400000,6.69883],[1166140800000,6.66196],[1166227200000,6.61853],[1166313600000,6.61853],[1166400000000,6.61853],[1166486400000,6.61297],[1166572800000,6.64479],[1166659200000,6.66751],[1166745600000,6.65489],[1166832000000,6.66196],[1166918400000,6.66196],[1167004800000,6.66196],[1167091200000,6.66196],[1167177600000,6.66196],[1167264000000,6.64529],[1167350400000,6.65236],[1167436800000,6.65085]], 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: [[1137283200000, 6.103831],[1137283200000, 6.103831],[1139961600000, 6.018546],[1142380800000, 6.066777],[1145059200000, 6.178574],[1147651200000, 6.439336],[1150329600000, 6.393165],[1152921600000, 6.407065],[1155600000000, 6.466753],[1158278400000, 6.433212],[1160870400000, 6.371096],[1163548800000, 6.494956],[1166140800000, 6.670427]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });