$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1136246400000,0.205431],[1136332800000,0.205431],[1136419200000,0.205431],[1136505600000,0.210985],[1136592000000,0.211095],[1136678400000,0.211095],[1136764800000,0.211095],[1136851200000,0.211095],[1136937600000,0.211539],[1137024000000,0.212306],[1137110400000,0.212413],[1137196800000,0.210808],[1137283200000,0.210808],[1137369600000,0.210808],[1137456000000,0.21241],[1137542400000,0.211541],[1137628800000,0.212152],[1137715200000,0.212242],[1137801600000,0.213052],[1137888000000,0.213052],[1137974400000,0.213052],[1138060800000,0.216719],[1138147200000,0.216843],[1138233600000,0.218547],[1138320000000,0.217935],[1138406400000,0.216538],[1138492800000,0.216538],[1138579200000,0.216538],[1138665600000,0.214891],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,0.213531],[1139270400000,0.213531],[1139356800000,0.212676],[1139443200000,0.211911],[1139529600000,0.21319],[1139616000000,0.213879],[1139702400000,0.213879],[1139788800000,0.213879],[1139875200000,0.211255],[1139961600000,0.211009],[1140048000000,0.211711],[1140134400000,0.211153],[1140220800000,0.211204],[1140307200000,0.211204],[1140393600000,0.211204],[1140480000000,0.212096],[1140566400000,0.2113],[1140652800000,0.210026],[1140739200000,0.212578],[1140825600000,0.211829],[1140912000000,0.211829],[1140998400000,0.211829],[1141084800000,0.211195],[1141171200000,0.211754],[1141257600000,0.213578],[1141344000000,0.212499],[1141430400000,0.212814],[1141516800000,0.212814],[1141603200000,0.212814],[1141689600000,0.21259],[1141776000000,0.209131],[1141862400000,0.209131],[1141948800000,0.209742],[1142035200000,0.209142],[1142121600000,0.209142],[1142208000000,0.209142],[1142294400000,0.208759],[1142380800000,0.209541],[1142467200000,0.211276],[1142553600000,0.212083],[1142640000000,0.215584],[1142726400000,0.215584],[1142812800000,0.215584],[1142899200000,0.215036],[1142985600000,0.214596],[1143072000000,0.212586],[1143158400000,0.212243],[1143244800000,0.210604],[1143331200000,0.210604],[1143417600000,0.210604],[1143504000000,0.211811],[1143590400000,0.212384],[1143676800000,0.211155],[1143763200000,0.213471],[1143849600000,0.213762],[1143936000000,0.213762],[1144022400000,0.213762],[1144108800000,0.214282],[1144195200000,0.216378],[1144281600000,0.216757],[1144368000000,0.217778],[1144454400000,0.215728],[1144540800000,0.215728],[1144627200000,0.215728],[1144713600000,0.213465],[1144800000000,0.214116],[1144886400000,0.214305],[1144972800000,0.213212],[1145059200000,0.213212],[1145145600000,0.213212],[1145232000000,0.213212],[1145318400000,0.213212],[1145404800000,0.216603],[1145491200000,0.218571],[1145577600000,0.21907],[1145664000000,0.21865],[1145750400000,0.21865],[1145836800000,0.21865],[1145923200000,0.21865],[1146009600000,0.220976],[1146096000000,0.220805],[1146182400000,0.220393],[1146268800000,0.222772],[1146355200000,0.222772],[1146441600000,0.222772],[1146528000000,0.222772],[1146614400000,0.222772],[1146700800000,0.225369],[1146787200000,0.224397],[1146873600000,0.226475],[1146960000000,0.226475],[1147046400000,0.226475],[1147132800000,0.226475],[1147219200000,0.226475],[1147305600000,0.228213],[1147392000000,0.227449],[1147478400000,0.230746],[1147564800000,0.230746],[1147651200000,0.230746],[1147737600000,0.227907],[1147824000000,0.228616],[1147910400000,0.230737],[1147996800000,0.227272],[1148083200000,0.227918],[1148169600000,0.227918],[1148256000000,0.227918],[1148342400000,0.227652],[1148428800000,0.229767],[1148515200000,0.230052],[1148601600000,0.228187],[1148688000000,0.229378],[1148774400000,0.229378],[1148860800000,0.229378],[1148947200000,0.228443],[1149033600000,0.229894],[1149120000000,0.230372],[1149206400000,0.227638],[1149292800000,0.22918],[1149379200000,0.22918],[1149465600000,0.22918],[1149552000000,0.230919],[1149638400000,0.229386],[1149724800000,0.229063],[1149811200000,0.227693],[1149897600000,0.226494],[1149984000000,0.226494],[1150070400000,0.226494],[1150156800000,0.226494],[1150243200000,0.224062],[1150329600000,0.223746],[1150416000000,0.224837],[1150502400000,0.225027],[1150588800000,0.225027],[1150675200000,0.225027],[1150761600000,0.222986],[1150848000000,0.222462],[1150934400000,0.223336],[1151020800000,0.222749],[1151107200000,0.221542],[1151193600000,0.221542],[1151280000000,0.221542],[1151366400000,0.222354],[1151452800000,0.222976],[1151539200000,0.222976],[1151625600000,0.221982],[1151712000000,0.225321],[1151798400000,0.225321],[1151884800000,0.225321],[1151971200000,0.226948],[1152057600000,0.227102],[1152144000000,0.2269],[1152230400000,0.225663],[1152316800000,0.226632],[1152403200000,0.226632],[1152489600000,0.226632],[1152576000000,0.22637],[1152662400000,0.226245],[1152748800000,0.225504],[1152835200000,0.224736],[1152921600000,0.224472],[1153008000000,0.224472],[1153094400000,0.224472],[1153180800000,0.222647],[1153267200000,0.22247],[1153353600000,0.221475],[1153440000000,0.225226],[1153526400000,0.225369],[1153612800000,0.225369],[1153699200000,0.225369],[1153785600000,0.22436],[1153872000000,0.225006],[1153958400000,0.224031],[1154044800000,0.226461],[1154131200000,0.224673],[1154217600000,0.224673],[1154304000000,0.224673],[1154390400000,0.226],[1154476800000,0.226239],[1154563200000,0.226827],[1154649600000,0.226988],[1154736000000,0.2278],[1154822400000,0.2278],[1154908800000,0.2278],[1154995200000,0.229521],[1155081600000,0.229552],[1155168000000,0.231513],[1155254400000,0.231431],[1155340800000,0.230406],[1155427200000,0.230406],[1155513600000,0.230406],[1155600000000,0.228416],[1155686400000,0.228745],[1155772800000,0.230033],[1155859200000,0.232083],[1155945600000,0.230162],[1156032000000,0.230162],[1156118400000,0.230162],[1156204800000,0.231869],[1156291200000,0.229695],[1156377600000,0.230202],[1156464000000,0.230202],[1156550400000,0.230202],[1156636800000,0.230202],[1156723200000,0.230202],[1156809600000,0.229586],[1156896000000,0.22929],[1156982400000,0.229144],[1157068800000,0.230019],[1157155200000,0.229094],[1157241600000,0.229094],[1157328000000,0.229094],[1157414400000,0.230233],[1157500800000,0.229407],[1157587200000,0.228786],[1157673600000,0.227283],[1157760000000,0.226817],[1157846400000,0.226817],[1157932800000,0.226817],[1158019200000,0.226513],[1158105600000,0.225805],[1158192000000,0.224305],[1158278400000,0.225696],[1158364800000,0.22471],[1158451200000,0.22471],[1158537600000,0.22471],[1158624000000,0.225023],[1158710400000,0.224314],[1158796800000,0.225107],[1158883200000,0.226227],[1158969600000,0.227244],[1159056000000,0.227244],[1159142400000,0.227244],[1159228800000,0.226614],[1159315200000,0.225389],[1159401600000,0.22544],[1159488000000,0.225836],[1159574400000,0.225704],[1159660800000,0.225704],[1159747200000,0.225704],[1159833600000,0.226454],[1159920000000,0.227849],[1160006400000,0.226444],[1160092800000,0.227716],[1160179200000,0.226784],[1160265600000,0.226784],[1160352000000,0.226784],[1160438400000,0.225756],[1160524800000,0.224568],[1160611200000,0.224578],[1160697600000,0.223705],[1160784000000,0.224297],[1160870400000,0.224297],[1160956800000,0.224297],[1161043200000,0.223395],[1161129600000,0.223303],[1161216000000,0.223563],[1161302400000,0.223647],[1161388800000,0.224884],[1161475200000,0.224884],[1161561600000,0.224884],[1161648000000,0.223866],[1161734400000,0.223039],[1161820800000,0.223828],[1161907200000,0.225795],[1161993600000,0.225446],[1162080000000,0.225446],[1162166400000,0.225446],[1162252800000,0.226529],[1162339200000,0.227204],[1162425600000,0.229541],[1162512000000,0.229761],[1162598400000,0.229488],[1162684800000,0.229488],[1162771200000,0.229488],[1162857600000,0.229656],[1162944000000,0.230169],[1163030400000,0.23026],[1163116800000,0.230472],[1163203200000,0.230399],[1163289600000,0.230399],[1163376000000,0.230399],[1163462400000,0.230493],[1163548800000,0.230738],[1163635200000,0.229843],[1163721600000,0.230394],[1163808000000,0.230487],[1163894400000,0.230487],[1163980800000,0.230487],[1164067200000,0.231555],[1164153600000,0.231531],[1164240000000,0.232891],[1164326400000,0.234035],[1164412800000,0.235661],[1164499200000,0.235661],[1164585600000,0.235661],[1164672000000,0.236183],[1164758400000,0.236609],[1164844800000,0.237398],[1164931200000,0.23831],[1165017600000,0.239292],[1165104000000,0.239292],[1165190400000,0.239292],[1165276800000,0.240012],[1165363200000,0.240271],[1165449600000,0.239278],[1165536000000,0.240095],[1165622400000,0.239759],[1165708800000,0.239759],[1165795200000,0.239759],[1165881600000,0.238526],[1165968000000,0.239678],[1166054400000,0.240273],[1166140800000,0.239269],[1166227200000,0.238463],[1166313600000,0.238463],[1166400000000,0.238463],[1166486400000,0.238736],[1166572800000,0.239495],[1166659200000,0.24318],[1166745600000,0.241776],[1166832000000,0.241612],[1166918400000,0.241612],[1167004800000,0.241612],[1167091200000,0.241612],[1167177600000,0.241612],[1167264000000,0.240859],[1167350400000,0.241553],[1167436800000,0.241981]], 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, 0.212496],[1137283200000, 0.212496],[1139961600000, 0.212083],[1142380800000, 0.211864],[1145059200000, 0.216606],[1147651200000, 0.227702],[1150329600000, 0.225425],[1152921600000, 0.225179],[1155600000000, 0.229453],[1158278400000, 0.226710],[1160870400000, 0.225151],[1163548800000, 0.231561],[1166140800000, 0.240130]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });