$(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: [[1136246400000,0.157273],[1136332800000,0.157273],[1136419200000,0.157273],[1136505600000,0.162158],[1136592000000,0.162385],[1136678400000,0.162385],[1136764800000,0.162385],[1136851200000,0.162385],[1136937600000,0.162614],[1137024000000,0.163308],[1137110400000,0.163536],[1137196800000,0.162039],[1137283200000,0.162039],[1137369600000,0.162039],[1137456000000,0.163208],[1137542400000,0.162445],[1137628800000,0.162762],[1137715200000,0.16228],[1137801600000,0.162624],[1137888000000,0.162624],[1137974400000,0.162624],[1138060800000,0.165436],[1138147200000,0.165749],[1138233600000,0.166827],[1138320000000,0.165816],[1138406400000,0.164531],[1138492800000,0.164531],[1138579200000,0.164531],[1138665600000,0.163314],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,0.162031],[1139270400000,0.162031],[1139356800000,0.160893],[1139443200000,0.160259],[1139529600000,0.160974],[1139616000000,0.161347],[1139702400000,0.161347],[1139788800000,0.161347],[1139875200000,0.1599],[1139961600000,0.16],[1140048000000,0.160757],[1140134400000,0.160243],[1140220800000,0.160418],[1140307200000,0.160418],[1140393600000,0.160418],[1140480000000,0.161555],[1140566400000,0.161354],[1140652800000,0.160152],[1140739200000,0.161798],[1140825600000,0.161123],[1140912000000,0.161123],[1140998400000,0.161123],[1141084800000,0.160588],[1141171200000,0.161606],[1141257600000,0.163266],[1141344000000,0.162926],[1141430400000,0.16335],[1141516800000,0.16335],[1141603200000,0.16335],[1141689600000,0.163231],[1141776000000,0.16069],[1141862400000,0.16069],[1141948800000,0.160407],[1142035200000,0.160061],[1142121600000,0.160061],[1142208000000,0.160061],[1142294400000,0.159995],[1142380800000,0.160472],[1142467200000,0.161916],[1142553600000,0.162551],[1142640000000,0.164839],[1142726400000,0.164839],[1142812800000,0.164839],[1142899200000,0.16439],[1142985600000,0.163657],[1143072000000,0.161839],[1143158400000,0.16261],[1143244800000,0.160827],[1143331200000,0.160827],[1143417600000,0.160827],[1143504000000,0.161656],[1143590400000,0.161696],[1143676800000,0.160266],[1143763200000,0.162158],[1143849600000,0.162437],[1143936000000,0.162437],[1144022400000,0.162437],[1144108800000,0.162492],[1144195200000,0.164456],[1144281600000,0.165045],[1144368000000,0.16589],[1144454400000,0.164405],[1144540800000,0.164405],[1144627200000,0.164405],[1144713600000,0.162716],[1144800000000,0.163603],[1144886400000,0.163786],[1144972800000,0.162909],[1145059200000,0.162909],[1145145600000,0.162909],[1145232000000,0.162909],[1145318400000,0.162909],[1145404800000,0.165082],[1145491200000,0.166793],[1145577600000,0.167443],[1145664000000,0.167314],[1145750400000,0.167314],[1145836800000,0.167314],[1145923200000,0.167314],[1146009600000,0.169127],[1146096000000,0.168401],[1146182400000,0.167645],[1146268800000,0.169306],[1146355200000,0.169306],[1146441600000,0.169306],[1146528000000,0.169306],[1146614400000,0.169306],[1146700800000,0.171255],[1146787200000,0.170482],[1146873600000,0.171735],[1146960000000,0.171735],[1147046400000,0.171735],[1147132800000,0.171735],[1147219200000,0.171735],[1147305600000,0.172169],[1147392000000,0.171888],[1147478400000,0.173571],[1147564800000,0.173571],[1147651200000,0.173571],[1147737600000,0.17158],[1147824000000,0.172418],[1147910400000,0.173417],[1147996800000,0.170953],[1148083200000,0.171139],[1148169600000,0.171139],[1148256000000,0.171139],[1148342400000,0.170603],[1148428800000,0.171712],[1148515200000,0.17146],[1148601600000,0.169954],[1148688000000,0.171192],[1148774400000,0.171192],[1148860800000,0.171192],[1148947200000,0.170738],[1149033600000,0.172027],[1149120000000,0.17205],[1149206400000,0.17015],[1149292800000,0.171692],[1149379200000,0.171692],[1149465600000,0.171692],[1149552000000,0.173391],[1149638400000,0.171883],[1149724800000,0.171198],[1149811200000,0.169733],[1149897600000,0.168827],[1149984000000,0.168827],[1150070400000,0.168827],[1150156800000,0.168827],[1150243200000,0.166623],[1150329600000,0.166408],[1150416000000,0.167536],[1150502400000,0.168169],[1150588800000,0.168169],[1150675200000,0.168169],[1150761600000,0.166757],[1150848000000,0.165813],[1150934400000,0.165563],[1151020800000,0.16602],[1151107200000,0.164844],[1151193600000,0.164844],[1151280000000,0.164844],[1151366400000,0.165955],[1151452800000,0.166357],[1151539200000,0.166357],[1151625600000,0.165113],[1151712000000,0.167407],[1151798400000,0.167407],[1151884800000,0.167407],[1151971200000,0.168114],[1152057600000,0.168281],[1152144000000,0.168307],[1152230400000,0.1675],[1152316800000,0.168044],[1152403200000,0.168044],[1152489600000,0.168044],[1152576000000,0.167549],[1152662400000,0.167448],[1152748800000,0.165946],[1152835200000,0.165906],[1152921600000,0.165237],[1153008000000,0.165237],[1153094400000,0.165237],[1153180800000,0.164158],[1153267200000,0.164103],[1153353600000,0.163326],[1153440000000,0.167214],[1153526400000,0.166981],[1153612800000,0.166981],[1153699200000,0.166981],[1153785600000,0.166202],[1153872000000,0.167617],[1153958400000,0.166739],[1154044800000,0.169246],[1154131200000,0.167966],[1154217600000,0.167966],[1154304000000,0.167966],[1154390400000,0.169177],[1154476800000,0.16916],[1154563200000,0.169677],[1154649600000,0.170032],[1154736000000,0.170133],[1154822400000,0.170133],[1154908800000,0.170133],[1154995200000,0.17222],[1155081600000,0.172576],[1155168000000,0.17411],[1155254400000,0.173525],[1155340800000,0.17252],[1155427200000,0.17252],[1155513600000,0.17252],[1155600000000,0.170968],[1155686400000,0.171181],[1155772800000,0.172118],[1155859200000,0.173831],[1155945600000,0.172249],[1156032000000,0.172249],[1156118400000,0.172249],[1156204800000,0.173269],[1156291200000,0.171825],[1156377600000,0.172007],[1156464000000,0.172007],[1156550400000,0.172007],[1156636800000,0.172007],[1156723200000,0.172007],[1156809600000,0.171413],[1156896000000,0.171393],[1156982400000,0.171463],[1157068800000,0.172371],[1157155200000,0.171582],[1157241600000,0.171582],[1157328000000,0.171582],[1157414400000,0.172293],[1157500800000,0.172068],[1157587200000,0.17221],[1157673600000,0.171102],[1157760000000,0.17086],[1157846400000,0.17086],[1157932800000,0.17086],[1158019200000,0.17086],[1158105600000,0.170838],[1158192000000,0.17132],[1158278400000,0.171758],[1158364800000,0.171201],[1158451200000,0.171201],[1158537600000,0.171201],[1158624000000,0.171194],[1158710400000,0.170535],[1158796800000,0.170863],[1158883200000,0.171421],[1158969600000,0.17229],[1159056000000,0.17229],[1159142400000,0.17229],[1159228800000,0.171938],[1159315200000,0.171416],[1159401600000,0.171071],[1159488000000,0.171751],[1159574400000,0.171012],[1159660800000,0.171012],[1159747200000,0.171012],[1159833600000,0.17135],[1159920000000,0.172862],[1160006400000,0.171976],[1160092800000,0.172923],[1160179200000,0.172325],[1160265600000,0.172325],[1160352000000,0.172325],[1160438400000,0.171634],[1160524800000,0.17102],[1160611200000,0.171799],[1160697600000,0.171425],[1160784000000,0.171974],[1160870400000,0.171974],[1160956800000,0.171974],[1161043200000,0.171718],[1161129600000,0.171711],[1161216000000,0.172496],[1161302400000,0.173149],[1161388800000,0.174196],[1161475200000,0.174196],[1161561600000,0.174196],[1161648000000,0.173231],[1161734400000,0.173067],[1161820800000,0.17369],[1161907200000,0.175635],[1161993600000,0.176056],[1162080000000,0.176056],[1162166400000,0.176056],[1162252800000,0.176358],[1162339200000,0.176498],[1162425600000,0.177596],[1162512000000,0.177305],[1162598400000,0.177144],[1162684800000,0.177144],[1162771200000,0.177144],[1162857600000,0.177309],[1162944000000,0.178305],[1163030400000,0.178703],[1163116800000,0.179077],[1163203200000,0.179466],[1163289600000,0.179466],[1163376000000,0.179466],[1163462400000,0.179503],[1163548800000,0.180017],[1163635200000,0.180597],[1163721600000,0.180782],[1163808000000,0.181072],[1163894400000,0.181072],[1163980800000,0.181072],[1164067200000,0.181756],[1164153600000,0.18215],[1164240000000,0.182506],[1164326400000,0.18347],[1164412800000,0.185334],[1164499200000,0.185334],[1164585600000,0.185334],[1164672000000,0.185704],[1164758400000,0.186281],[1164844800000,0.187],[1164931200000,0.187616],[1165017600000,0.188199],[1165104000000,0.188199],[1165190400000,0.188199],[1165276800000,0.189059],[1165363200000,0.189451],[1165449600000,0.189014],[1165536000000,0.189368],[1165622400000,0.189143],[1165708800000,0.189143],[1165795200000,0.189143],[1165881600000,0.189384],[1165968000000,0.190945],[1166054400000,0.192633],[1166140800000,0.191073],[1166227200000,0.189898],[1166313600000,0.189898],[1166400000000,0.189898],[1166486400000,0.189815],[1166572800000,0.190504],[1166659200000,0.192214],[1166745600000,0.192421],[1166832000000,0.193786],[1166918400000,0.193786],[1167004800000,0.193786],[1167091200000,0.193786],[1167177600000,0.193786],[1167264000000,0.193464],[1167350400000,0.192482],[1167436800000,0.193142]], 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.162703],[1137283200000, 0.162703],[1139961600000, 0.160922],[1142380800000, 0.162040],[1145059200000, 0.165181],[1147651200000, 0.171450],[1150329600000, 0.168211],[1152921600000, 0.166921],[1155600000000, 0.171699],[1158278400000, 0.171461],[1160870400000, 0.172959],[1163548800000, 0.180787],[1166140800000, 0.190775]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });