$(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: 'Курс RUB, грн'}, 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: 'Курс RUB', data: [[1136246400000,0.17545],[1136332800000,0.17545],[1136419200000,0.17545],[1136505600000,0.17545],[1136592000000,0.17545],[1136678400000,0.17545],[1136764800000,0.17545],[1136851200000,0.17545],[1136937600000,0.1773],[1137024000000,0.1773],[1137110400000,0.17784],[1137196800000,0.17735],[1137283200000,0.17735],[1137369600000,0.17735],[1137456000000,0.17844],[1137542400000,0.17864],[1137628800000,0.17843],[1137715200000,0.17853],[1137801600000,0.1785],[1137888000000,0.1785],[1137974400000,0.1785],[1138060800000,0.18003],[1138147200000,0.18042],[1138233600000,0.18048],[1138320000000,0.18055],[1138406400000,0.1802],[1138492800000,0.1802],[1138579200000,0.1802],[1138665600000,0.17958],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,0.17886],[1139270400000,0.17886],[1139356800000,0.17875],[1139443200000,0.17867],[1139529600000,0.17876],[1139616000000,0.17882],[1139702400000,0.17882],[1139788800000,0.17882],[1139875200000,0.17884],[1139961600000,0.17918],[1140048000000,0.17908],[1140134400000,0.17894],[1140220800000,0.17896],[1140307200000,0.17896],[1140393600000,0.17896],[1140480000000,0.17943],[1140566400000,0.17914],[1140652800000,0.17919],[1140739200000,0.17919],[1140825600000,0.17919],[1140912000000,0.17919],[1140998400000,0.17919],[1141084800000,0.17957],[1141171200000,0.17958],[1141257600000,0.1802],[1141344000000,0.18018],[1141430400000,0.18081],[1141516800000,0.18081],[1141603200000,0.18081],[1141689600000,0.18113],[1141776000000,0.18039],[1141862400000,0.18039],[1141948800000,0.18036],[1142035200000,0.18023],[1142121600000,0.18023],[1142208000000,0.18023],[1142294400000,0.18031],[1142380800000,0.1804],[1142467200000,0.18137],[1142553600000,0.18154],[1142640000000,0.18229],[1142726400000,0.18229],[1142812800000,0.18229],[1142899200000,0.18256],[1142985600000,0.18229],[1143072000000,0.18206],[1143158400000,0.18186],[1143244800000,0.18135],[1143331200000,0.18135],[1143417600000,0.18135],[1143504000000,0.18183],[1143590400000,0.18164],[1143676800000,0.18163],[1143763200000,0.1819],[1143849600000,0.18231],[1143936000000,0.18231],[1144022400000,0.18231],[1144108800000,0.18183],[1144195200000,0.18236],[1144281600000,0.18324],[1144368000000,0.18341],[1144454400000,0.18292],[1144540800000,0.18292],[1144627200000,0.18292],[1144713600000,0.18225],[1144800000000,0.18244],[1144886400000,0.18256],[1144972800000,0.18232],[1145059200000,0.18231],[1145145600000,0.18231],[1145232000000,0.18231],[1145318400000,0.18275],[1145404800000,0.1832],[1145491200000,0.18387],[1145577600000,0.18386],[1145664000000,0.1835],[1145750400000,0.1835],[1145836800000,0.1835],[1145923200000,0.1835],[1146009600000,0.18414],[1146096000000,0.18436],[1146182400000,0.18456],[1146268800000,0.18516],[1146355200000,0.18516],[1146441600000,0.18516],[1146528000000,0.18516],[1146614400000,0.18516],[1146700800000,0.18594],[1146787200000,0.1856],[1146873600000,0.18617],[1146960000000,0.18648],[1147046400000,0.18648],[1147132800000,0.18648],[1147219200000,0.18648],[1147305600000,0.18679],[1147392000000,0.18652],[1147478400000,0.18743],[1147564800000,0.18743],[1147651200000,0.18743],[1147737600000,0.1876],[1147824000000,0.18689],[1147910400000,0.18734],[1147996800000,0.18658],[1148083200000,0.18705],[1148169600000,0.18705],[1148256000000,0.18705],[1148342400000,0.18637],[1148428800000,0.18712],[1148515200000,0.18692],[1148601600000,0.18677],[1148688000000,0.1868],[1148774400000,0.1868],[1148860800000,0.1868],[1148947200000,0.18659],[1149033600000,0.18715],[1149120000000,0.18748],[1149206400000,0.18671],[1149292800000,0.18782],[1149379200000,0.18782],[1149465600000,0.18782],[1149552000000,0.18908],[1149638400000,0.1889],[1149724800000,0.18802],[1149811200000,0.18787],[1149897600000,0.18698],[1149984000000,0.18698],[1150070400000,0.18698],[1150156800000,0.18698],[1150243200000,0.18646],[1150329600000,0.18642],[1150416000000,0.18678],[1150502400000,0.18713],[1150588800000,0.18713],[1150675200000,0.18713],[1150761600000,0.18677],[1150848000000,0.18673],[1150934400000,0.18692],[1151020800000,0.18722],[1151107200000,0.1867],[1151193600000,0.1867],[1151280000000,0.1867],[1151366400000,0.18633],[1151452800000,0.18681],[1151539200000,0.18681],[1151625600000,0.18649],[1151712000000,0.18744],[1151798400000,0.18744],[1151884800000,0.18744],[1151971200000,0.18792],[1152057600000,0.18815],[1152144000000,0.18804],[1152230400000,0.18765],[1152316800000,0.18789],[1152403200000,0.18789],[1152489600000,0.18789],[1152576000000,0.18804],[1152662400000,0.18765],[1152748800000,0.18796],[1152835200000,0.1876],[1152921600000,0.18729],[1153008000000,0.18729],[1153094400000,0.18729],[1153180800000,0.18754],[1153267200000,0.1869],[1153353600000,0.18665],[1153440000000,0.18726],[1153526400000,0.18765],[1153612800000,0.18765],[1153699200000,0.18765],[1153785600000,0.18758],[1153872000000,0.18768],[1153958400000,0.18712],[1154044800000,0.18813],[1154131200000,0.18793],[1154217600000,0.18793],[1154304000000,0.18793],[1154390400000,0.18829],[1154476800000,0.18814],[1154563200000,0.18871],[1154649600000,0.1884],[1154736000000,0.18864],[1154822400000,0.18864],[1154908800000,0.18864],[1154995200000,0.18917],[1155081600000,0.18889],[1155168000000,0.18886],[1155254400000,0.18932],[1155340800000,0.18848],[1155427200000,0.18848],[1155513600000,0.18848],[1155600000000,0.1883],[1155686400000,0.1882],[1155772800000,0.18857],[1155859200000,0.18898],[1155945600000,0.18888],[1156032000000,0.18888],[1156118400000,0.18888],[1156204800000,0.1891],[1156291200000,0.18916],[1156377600000,0.1887],[1156464000000,0.1887],[1156550400000,0.1887],[1156636800000,0.1887],[1156723200000,0.1887],[1156809600000,0.18866],[1156896000000,0.18882],[1156982400000,0.18887],[1157068800000,0.18893],[1157155200000,0.18876],[1157241600000,0.18876],[1157328000000,0.18876],[1157414400000,0.18898],[1157500800000,0.18956],[1157587200000,0.18934],[1157673600000,0.18935],[1157760000000,0.1887],[1157846400000,0.1887],[1157932800000,0.1887],[1158019200000,0.18846],[1158105600000,0.1886],[1158192000000,0.18845],[1158278400000,0.18842],[1158364800000,0.18867],[1158451200000,0.18867],[1158537600000,0.18867],[1158624000000,0.1884],[1158710400000,0.18863],[1158796800000,0.18845],[1158883200000,0.18866],[1158969600000,0.18934],[1159056000000,0.18934],[1159142400000,0.18934],[1159228800000,0.18938],[1159315200000,0.18895],[1159401600000,0.18847],[1159488000000,0.18879],[1159574400000,0.18857],[1159660800000,0.18857],[1159747200000,0.18857],[1159833600000,0.18847],[1159920000000,0.1889],[1160006400000,0.18866],[1160092800000,0.18857],[1160179200000,0.18836],[1160265600000,0.18836],[1160352000000,0.18836],[1160438400000,0.18779],[1160524800000,0.18781],[1160611200000,0.18736],[1160697600000,0.18738],[1160784000000,0.18751],[1160870400000,0.18751],[1160956800000,0.18751],[1161043200000,0.18725],[1161129600000,0.18742],[1161216000000,0.18753],[1161302400000,0.18749],[1161388800000,0.18807],[1161475200000,0.18807],[1161561600000,0.18807],[1161648000000,0.18787],[1161734400000,0.18752],[1161820800000,0.18771],[1161907200000,0.18822],[1161993600000,0.18851],[1162080000000,0.18851],[1162166400000,0.18851],[1162252800000,0.1888],[1162339200000,0.18857],[1162425600000,0.18894],[1162512000000,0.18894],[1162598400000,0.18913],[1162684800000,0.18913],[1162771200000,0.18913],[1162857600000,0.18913],[1162944000000,0.18898],[1163030400000,0.18911],[1163116800000,0.18915],[1163203200000,0.18971],[1163289600000,0.18971],[1163376000000,0.18971],[1163462400000,0.18971],[1163548800000,0.18949],[1163635200000,0.18946],[1163721600000,0.18946],[1163808000000,0.18922],[1163894400000,0.18922],[1163980800000,0.18922],[1164067200000,0.18956],[1164153600000,0.18946],[1164240000000,0.18976],[1164326400000,0.19016],[1164412800000,0.19042],[1164499200000,0.19042],[1164585600000,0.19042],[1164672000000,0.19153],[1164758400000,0.19165],[1164844800000,0.19191],[1164931200000,0.19196],[1165017600000,0.19241],[1165104000000,0.19241],[1165190400000,0.19241],[1165276800000,0.19271],[1165363200000,0.19287],[1165449600000,0.19283],[1165536000000,0.19281],[1165622400000,0.19249],[1165708800000,0.19249],[1165795200000,0.19249],[1165881600000,0.19203],[1165968000000,0.1923],[1166054400000,0.1925],[1166140800000,0.19227],[1166227200000,0.1918],[1166313600000,0.1918],[1166400000000,0.1918],[1166486400000,0.19137],[1166572800000,0.19141],[1166659200000,0.19219],[1166745600000,0.19207],[1166832000000,0.19206],[1166918400000,0.19206],[1167004800000,0.19206],[1167091200000,0.19163],[1167177600000,0.19158],[1167264000000,0.19175],[1167350400000,0.19144],[1167436800000,0.19179]], 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.177907],[1137283200000, 0.177907],[1139961600000, 0.179016],[1142380800000, 0.181150],[1145059200000, 0.183136],[1147651200000, 0.186632],[1150329600000, 0.187156],[1152921600000, 0.187628],[1155600000000, 0.188708],[1158278400000, 0.188827],[1160870400000, 0.188040],[1163548800000, 0.189680],[1166140800000, 0.192126]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });