$(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: 'Курс SKK, грн'}, 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: 'Курс SKK', data: [[1168041600000,0.191937],[1168128000000,0.191937],[1168214400000,0.191937],[1168300800000,0.191937],[1168387200000,0.191469],[1168473600000,0.18957],[1168560000000,0.189792],[1168646400000,0.187647],[1168732800000,0.187647],[1168819200000,0.187647],[1168905600000,0.187712],[1168992000000,0.188146],[1169078400000,0.185913],[1169164800000,0.187318],[1169251200000,0.189018],[1169337600000,0.189018],[1169424000000,0.189018],[1169510400000,0.18949],[1169596800000,0.189469],[1169683200000,0.187805],[1169769600000,0.186306],[1169856000000,0.184954],[1169942400000,0.184954],[1170028800000,0.184954],[1170115200000,0.185015],[1170201600000,0.185692],[1170288000000,0.186269],[1170374400000,0.188344],[1170460800000,0.188523],[1170547200000,0.188523],[1170633600000,0.188523],[1170720000000,0.187566],[1170806400000,0.189483],[1170892800000,0.19],[1170979200000,0.189702],[1171065600000,0.189897],[1171152000000,0.189897],[1171238400000,0.189897],[1171324800000,0.188526],[1171411200000,0.191183],[1171497600000,0.192282],[1171584000000,0.193006],[1171670400000,0.193287],[1171756800000,0.193287],[1171843200000,0.193287],[1171929600000,0.193625],[1172016000000,0.193421],[1172102400000,0.193613],[1172188800000,0.193039],[1172275200000,0.193057],[1172361600000,null],[1172448000000,0.193057],[1172534400000,0.192755],[1172620800000,0.193853],[1172707200000,0.193715],[1172793600000,0.193943],[1172880000000,0.193607],[1172966400000,0.193607],[1173052800000,0.193607],[1173139200000,0.19195],[1173225600000,0.192406],[1173312000000,0.193218],[1173398400000,0.193218],[1173484800000,0.193218],[1173571200000,0.193218],[1173657600000,0.193218],[1173744000000,0.19505],[1173830400000,0.195963],[1173916800000,0.195657],[1174003200000,0.196624],[1174089600000,0.198143],[1174176000000,0.198143],[1174262400000,0.198143],[1174348800000,0.204207],[1174435200000,0.202036],[1174521600000,0.201047],[1174608000000,0.202136],[1174694400000,0.200409],[1174780800000,0.200409],[1174867200000,0.200409],[1174953600000,0.199204],[1175040000000,0.200656],[1175126400000,0.201108],[1175212800000,0.201994],[1175299200000,0.201727],[1175385600000,0.201727],[1175472000000,0.201727],[1175558400000,0.202783],[1175644800000,0.202777],[1175731200000,0.201433],[1175817600000,0.202033],[1175904000000,0.202033],[1175990400000,0.202033],[1176076800000,0.202033],[1176163200000,0.202033],[1176249600000,0.202549],[1176336000000,0.202895],[1176422400000,0.203447],[1176508800000,0.204008],[1176595200000,0.204008],[1176681600000,0.204008],[1176768000000,0.205118],[1176854400000,0.204637],[1176940800000,0.204925],[1177027200000,0.204627],[1177113600000,0.205375],[1177200000000,0.205375],[1177286400000,0.205375],[1177372800000,0.204166],[1177459200000,0.203801],[1177545600000,0.204806],[1177632000000,0.204472],[1177718400000,0.204716],[1177804800000,0.204716],[1177891200000,0.204716],[1177977600000,0.204716],[1178064000000,0.204716],[1178150400000,0.204716],[1178236800000,0.204491],[1178323200000,0.204183],[1178409600000,0.204183],[1178496000000,0.204183],[1178582400000,0.205015],[1178668800000,0.20361],[1178755200000,0.20361],[1178841600000,0.203423],[1178928000000,0.202174],[1179014400000,0.202174],[1179100800000,0.202174],[1179187200000,0.203735],[1179273600000,0.203098],[1179360000000,0.203554],[1179446400000,0.202618],[1179532800000,0.201704],[1179619200000,0.201704],[1179705600000,0.201704],[1179792000000,0.201496],[1179878400000,0.201628],[1179964800000,0.201892],[1180051200000,0.201002],[1180137600000,0.199492],[1180224000000,0.199492],[1180310400000,0.199492],[1180396800000,0.199492],[1180483200000,0.200477],[1180569600000,0.198829],[1180656000000,0.200005],[1180742400000,0.200371],[1180828800000,0.200371],[1180915200000,0.200371],[1181001600000,0.201164],[1181088000000,0.200789],[1181174400000,0.199447],[1181260800000,0.198504],[1181347200000,0.195978],[1181433600000,0.195978],[1181520000000,0.195978],[1181606400000,null],[1181692800000,0.196898],[1181779200000,0.195454],[1181865600000,null],[1181952000000,null],[1182038400000,0.196688],[1182124800000,0.196688],[1182211200000,0.199723],[1182297600000,0.20065],[1182384000000,null],[1182470400000,0.200079],[1182556800000,0.201338],[1182643200000,0.201338],[1182729600000,0.201338],[1182816000000,0.201041],[1182902400000,0.200233],[1182988800000,0.199852],[1183075200000,0.199852],[1183161600000,0.199852],[1183248000000,0.199852],[1183334400000,0.199852],[1183420800000,0.204462],[1183507200000,0.204517],[1183593600000,0.205415],[1183680000000,0.205649],[1183766400000,0.204826],[1183852800000,0.204826],[1183939200000,0.204826],[1184025600000,0.206057],[1184112000000,0.206633],[1184198400000,0.208085],[1184284800000,0.20921],[1184371200000,0.209396],[1184457600000,0.209396],[1184544000000,0.209396],[1184630400000,0.20993],[1184716800000,0.209715],[1184803200000,0.209862],[1184889600000,0.210531],[1184976000000,0.210361],[1185062400000,0.210361],[1185148800000,0.210361],[1185235200000,0.210781],[1185321600000,0.211405],[1185408000000,0.209118],[1185494400000,0.207766],[1185580800000,0.205765],[1185667200000,0.205765],[1185753600000,0.205765],[1185840000000,null],[1185926400000,0.207464],[1186012800000,0.206112],[1186099200000,0.206473],[1186185600000,0.207236],[1186272000000,0.207236],[1186358400000,0.207236],[1186444800000,0.20905],[1186531200000,0.208624],[1186617600000,0.209044],[1186704000000,0.207108],[1186790400000,0.205585],[1186876800000,0.205585],[1186963200000,0.205585],[1187049600000,0.206301],[1187136000000,0.204867],[1187222400000,0.202138],[1187308800000,0.200282],[1187395200000,0.201371],[1187481600000,0.201371],[1187568000000,0.201371],[1187654400000,0.202198],[1187740800000,0.201946],[1187827200000,0.201829],[1187913600000,0.2033],[1188000000000,0.2033],[1188086400000,0.2033],[1188172800000,0.2033],[1188259200000,0.204558],[1188345600000,0.20443],[1188432000000,0.20346],[1188518400000,0.203706],[1188604800000,0.205439],[1188691200000,0.205439],[1188777600000,0.205439],[1188864000000,0.204114],[1188950400000,0.203113],[1189036800000,0.20313],[1189123200000,0.204438],[1189209600000,0.205079],[1189296000000,0.205079],[1189382400000,0.205079],[1189468800000,0.206494],[1189555200000,0.207543],[1189641600000,0.208471],[1189728000000,0.208484],[1189814400000,0.207325],[1189900800000,0.207325],[1189987200000,0.207325],[1190073600000,0.207058],[1190160000000,0.206781],[1190246400000,0.208872],[1190332800000,0.209415],[1190419200000,0.20913],[1190505600000,0.20913],[1190592000000,0.20913],[1190678400000,0.208791],[1190764800000,0.208589],[1190851200000,null],[1190937600000,null],[1191024000000,0.211364],[1191110400000,0.211364],[1191196800000,0.211364],[1191283200000,0.211867],[1191369600000,0.210671],[1191456000000,0.209427],[1191542400000,0.20811],[1191628800000,0.210506],[1191715200000,0.210506],[1191801600000,0.210506],[1191888000000,0.211352],[1191974400000,0.211117],[1192060800000,0.212725],[1192147200000,0.213662],[1192233600000,0.212846],[1192320000000,0.212846],[1192406400000,0.212846],[1192492800000,0.214138],[1192579200000,0.212122],[1192665600000,0.213264],[1192752000000,0.215244],[1192838400000,0.215605],[1192924800000,0.215605],[1193011200000,0.215605],[1193097600000,0.212324],[1193184000000,0.214534],[1193270400000,0.214916],[1193356800000,0.217194],[1193443200000,0.218195],[1193529600000,0.218195],[1193616000000,0.218195],[1193702400000,0.218386],[1193788800000,0.21815],[1193875200000,0.218881],[1193961600000,0.218353],[1194048000000,0.219774],[1194134400000,0.219774],[1194220800000,0.219774],[1194307200000,0.219779],[1194393600000,0.221372],[1194480000000,0.224049],[1194566400000,0.223608],[1194652800000,0.223718],[1194739200000,0.223718],[1194825600000,0.223718],[1194912000000,0.223103],[1194998400000,0.224443],[1195084800000,0.225453],[1195171200000,0.223412],[1195257600000,0.223595],[1195344000000,0.223595],[1195430400000,0.223595],[1195516800000,0.22329],[1195603200000,0.224872],[1195689600000,0.223683],[1195776000000,0.223749],[1195862400000,0.222781],[1195948800000,0.222781],[1196035200000,0.222781],[1196121600000,0.224225],[1196208000000,0.223832],[1196294400000,0.224051],[1196380800000,0.223035],[1196467200000,0.224791],[1196553600000,0.224791],[1196640000000,0.224791],[1196726400000,0.222807],[1196812800000,0.223449],[1196899200000,0.2235],[1196985600000,0.221459],[1197072000000,0.223005],[1197158400000,0.223005],[1197244800000,0.223005],[1197331200000,0.224767],[1197417600000,0.223861],[1197504000000,0.223354],[1197590400000,0.222717],[1197676800000,0.219379],[1197763200000,0.219379],[1197849600000,0.219379],[1197936000000,0.216613],[1198022400000,0.216921],[1198108800000,0.215811],[1198195200000,0.215508],[1198281600000,0.216134],[1198368000000,0.216134],[1198454400000,0.216134],[1198540800000,0.216026],[1198627200000,0.216026],[1198713600000,0.216026],[1198800000000,0.218081],[1198886400000,0.220811]], 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: [[1168819200000, 0.188319],[1168819200000, 0.188319],[1171497600000, 0.191033],[1173916800000, 0.197161],[1176595200000, 0.203612],[1179187200000, 0.202412],[1181865600000, 0.199230],[1184457600000, 0.207329],[1187136000000, 0.204689],[1189814400000, 0.207105],[1192406400000, 0.213614],[1195084800000, 0.222760],[1197676800000, 0.220264]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });