$(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: [[1136246400000,8.69325],[1136332800000,8.69325],[1136419200000,8.69325],[1136505600000,8.86243],[1136592000000,8.86609],[1136678400000,8.86609],[1136764800000,8.86609],[1136851200000,8.86609],[1136937600000,8.91602],[1137024000000,8.86758],[1137110400000,8.93524],[1137196800000,8.92236],[1137283200000,8.92236],[1137369600000,8.92236],[1137456000000,8.92342],[1137542400000,8.89746],[1137628800000,8.92064],[1137715200000,8.86365],[1137801600000,8.8936],[1137888000000,8.8936],[1137974400000,8.8936],[1138060800000,9.01408],[1138147200000,9.01041],[1138233600000,9.04102],[1138320000000,9.02212],[1138406400000,8.97876],[1138492800000,8.97876],[1138579200000,8.97876],[1138665600000,8.92476],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,8.85468],[1139270400000,8.85468],[1139356800000,8.81523],[1139443200000,8.79426],[1139529600000,8.78631],[1139616000000,8.83879],[1139702400000,8.83879],[1139788800000,8.83879],[1139875200000,8.78081],[1139961600000,8.76129],[1140048000000,8.7952],[1140134400000,8.75161],[1140220800000,8.75978],[1140307200000,8.75978],[1140393600000,8.75978],[1140480000000,8.79915],[1140566400000,8.81473],[1140652800000,8.78277],[1140739200000,8.85574],[1140825600000,8.83063],[1140912000000,8.83063],[1140998400000,8.83063],[1141084800000,8.78828],[1141171200000,8.82412],[1141257600000,8.86978],[1141344000000,8.81292],[1141430400000,8.86146],[1141516800000,8.86146],[1141603200000,8.86146],[1141689600000,8.85279],[1141776000000,8.77233],[1141862400000,8.77233],[1141948800000,8.77749],[1142035200000,8.77163],[1142121600000,8.77163],[1142208000000,8.77163],[1142294400000,8.72363],[1142380800000,8.76297],[1142467200000,8.81185],[1142553600000,8.82224],[1142640000000,8.86022],[1142726400000,8.86022],[1142812800000,8.86022],[1142899200000,8.86243],[1142985600000,8.83423],[1143072000000,8.81522],[1143158400000,8.80054],[1143244800000,8.74978],[1143331200000,8.74978],[1143417600000,8.74978],[1143504000000,8.82264],[1143590400000,8.83512],[1143676800000,8.76788],[1143763200000,8.79424],[1143849600000,8.77731],[1143936000000,8.77731],[1144022400000,8.77731],[1144108800000,8.73128],[1144195200000,8.83452],[1144281600000,8.83858],[1144368000000,8.87525],[1144454400000,8.83107],[1144540800000,8.83107],[1144627200000,8.83107],[1144713600000,8.80657],[1144800000000,8.80966],[1144886400000,8.85292],[1144972800000,8.84756],[1145059200000,8.84756],[1145145600000,8.84756],[1145232000000,8.84756],[1145318400000,8.84756],[1145404800000,8.94759],[1145491200000,9.0182],[1145577600000,9.00452],[1145664000000,8.98126],[1145750400000,8.98126],[1145836800000,8.98126],[1145923200000,8.98126],[1146009600000,9.03604],[1146096000000,9.01527],[1146182400000,9.00987],[1146268800000,9.12012],[1146355200000,9.12012],[1146441600000,9.12012],[1146528000000,9.12012],[1146614400000,9.12012],[1146700800000,9.27953],[1146787200000,9.29673],[1146873600000,9.32941],[1146960000000,9.32941],[1147046400000,9.32941],[1147132800000,9.32941],[1147219200000,9.32941],[1147305600000,9.40591],[1147392000000,9.41029],[1147478400000,9.57927],[1147564800000,9.57927],[1147651200000,9.57927],[1147737600000,9.50841],[1147824000000,9.50314],[1147910400000,9.57664],[1147996800000,9.51789],[1148083200000,9.47998],[1148169600000,9.47998],[1148256000000,9.47998],[1148342400000,9.4668],[1148428800000,9.50697],[1148515200000,9.50393],[1148601600000,9.42879],[1148688000000,9.43428],[1148774400000,9.43428],[1148860800000,9.43428],[1148947200000,9.39867],[1149033600000,9.4694],[1149120000000,9.47418],[1149206400000,9.39343],[1149292800000,9.42211],[1149379200000,9.42211],[1149465600000,9.42211],[1149552000000,9.5058],[1149638400000,9.42026],[1149724800000,9.39],[1149811200000,9.31649],[1149897600000,9.30741],[1149984000000,9.30741],[1150070400000,9.30741],[1150156800000,9.30741],[1150243200000,9.29005],[1150329600000,9.29366],[1150416000000,9.3339],[1150502400000,9.35533],[1150588800000,9.35533],[1150675200000,9.35533],[1150761600000,9.32667],[1150848000000,9.28448],[1150934400000,9.30585],[1151020800000,9.24407],[1151107200000,9.17661],[1151193600000,9.17661],[1151280000000,9.17661],[1151366400000,9.19186],[1151452800000,9.18827],[1151539200000,9.18827],[1151625600000,9.15518],[1151712000000,9.27621],[1151798400000,9.27621],[1151884800000,9.27621],[1151971200000,9.31624],[1152057600000,9.32302],[1152144000000,9.31378],[1152230400000,9.26682],[1152316800000,9.29209],[1152403200000,9.29209],[1152489600000,9.29209],[1152576000000,9.30534],[1152662400000,9.29098],[1152748800000,9.29083],[1152835200000,9.29311],[1152921600000,9.30375],[1153008000000,9.30375],[1153094400000,9.30375],[1153180800000,9.19989],[1153267200000,9.23953],[1153353600000,9.22023],[1153440000000,9.34805],[1153526400000,9.37678],[1153612800000,9.37678],[1153699200000,9.37678],[1153785600000,9.35984],[1153872000000,9.33877],[1153958400000,9.291],[1154044800000,9.40103],[1154131200000,9.37043],[1154217600000,9.37043],[1154304000000,9.37043],[1154390400000,9.4218],[1154476800000,9.42416],[1154563200000,9.47444],[1154649600000,9.51907],[1154736000000,9.55757],[1154822400000,9.55757],[1154908800000,9.55757],[1154995200000,9.62797],[1155081600000,9.62258],[1155168000000,9.63112],[1155254400000,9.61609],[1155340800000,9.57461],[1155427200000,9.57461],[1155513600000,9.57461],[1155600000000,9.52412],[1155686400000,9.53926],[1155772800000,9.55407],[1155859200000,9.57723],[1155945600000,9.50248],[1156032000000,9.50248],[1156118400000,9.50248],[1156204800000,9.58298],[1156291200000,9.53724],[1156377600000,9.55272],[1156464000000,9.55272],[1156550400000,9.55272],[1156636800000,9.55272],[1156723200000,9.55272],[1156809600000,9.56921],[1156896000000,9.58939],[1156982400000,9.60328],[1157068800000,9.62729],[1157155200000,9.62037],[1157241600000,9.62037],[1157328000000,9.62037],[1157414400000,9.61876],[1157500800000,9.58449],[1157587200000,9.51328],[1157673600000,9.4609],[1157760000000,9.451],[1157846400000,9.451],[1157932800000,9.451],[1158019200000,9.41911],[1158105600000,9.45917],[1158192000000,9.46255],[1158278400000,9.52857],[1158364800000,9.49826],[1158451200000,9.49826],[1158537600000,9.49826],[1158624000000,9.4781],[1158710400000,9.49238],[1158796800000,9.5103],[1158883200000,9.58717],[1158969600000,9.60823],[1159056000000,9.60823],[1159142400000,9.60823],[1159228800000,9.60644],[1159315200000,9.57577],[1159401600000,9.54537],[1159488000000,9.48101],[1159574400000,9.43382],[1159660800000,9.43382],[1159747200000,9.43382],[1159833600000,9.44966],[1159920000000,9.54047],[1160006400000,9.49936],[1160092800000,9.50171],[1160179200000,9.50412],[1160265600000,9.50412],[1160352000000,9.50412],[1160438400000,9.42054],[1160524800000,9.38376],[1160611200000,9.37361],[1160697600000,9.37088],[1160784000000,9.39761],[1160870400000,9.39761],[1160956800000,9.39761],[1161043200000,9.39509],[1161129600000,9.42847],[1161216000000,9.45335],[1161302400000,9.43523],[1161388800000,9.52053],[1161475200000,9.52053],[1161561600000,9.52053],[1161648000000,9.45538],[1161734400000,9.45043],[1161820800000,9.47911],[1161907200000,9.51495],[1161993600000,9.55102],[1162080000000,9.55102],[1162166400000,9.55102],[1162252800000,9.6139],[1162339200000,9.59084],[1162425600000,9.63765],[1162512000000,9.63583],[1162598400000,9.63487],[1162684800000,9.63487],[1162771200000,9.63487],[1162857600000,9.57675],[1162944000000,9.61743],[1163030400000,9.62321],[1163116800000,9.61032],[1163203200000,9.66283],[1163289600000,9.66283],[1163376000000,9.66283],[1163462400000,9.61726],[1163548800000,9.57935],[1163635200000,9.52235],[1163721600000,9.5355],[1163808000000,9.52017],[1163894400000,9.52017],[1163980800000,9.52017],[1164067200000,9.58142],[1164153600000,9.58961],[1164240000000,9.64207],[1164326400000,9.66928],[1164412800000,9.75682],[1164499200000,9.75682],[1164585600000,9.75682],[1164672000000,9.77213],[1164758400000,9.81772],[1164844800000,9.8536],[1164931200000,9.88654],[1165017600000,9.9394],[1165104000000,9.9394],[1165190400000,9.9394],[1165276800000,9.98076],[1165363200000,9.98392],[1165449600000,9.92504],[1165536000000,9.93194],[1165622400000,9.8943],[1165708800000,9.8943],[1165795200000,9.8943],[1165881600000,9.84085],[1165968000000,9.91435],[1166054400000,9.95664],[1166140800000,9.92027],[1166227200000,9.87988],[1166313600000,9.87988],[1166400000000,9.87988],[1166486400000,9.84733],[1166572800000,9.89913],[1166659200000,9.94854],[1166745600000,9.90901],[1166832000000,9.92101],[1166918400000,9.92101],[1167004800000,9.92101],[1167091200000,9.92101],[1167177600000,9.92101],[1167264000000,9.90578],[1167350400000,9.91189],[1167436800000,9.90447]], 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, 8.900935],[1137283200000, 8.900935],[1139961600000, 8.805320],[1142380800000, 8.808517],[1145059200000, 8.900283],[1147651200000, 9.411649],[1150329600000, 9.313140],[1152921600000, 9.311491],[1155600000000, 9.551019],[1158278400000, 9.530601],[1160870400000, 9.469464],[1163548800000, 9.639880],[1166140800000, 9.913742]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });