$(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: 'Курс SGD, грн'}, 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: 'Курс SGD', data: [[1136246400000,3.0352],[1136332800000,3.0352],[1136419200000,3.0352],[1136505600000,3.06648],[1136592000000,3.06852],[1136678400000,3.06852],[1136764800000,3.06852],[1136851200000,3.06852],[1136937600000,3.0902],[1137024000000,3.09839],[1137110400000,3.11333],[1137196800000,3.09431],[1137283200000,3.09431],[1137369600000,3.09431],[1137456000000,3.09042],[1137542400000,3.09176],[1137628800000,3.10047],[1137715200000,3.09706],[1137801600000,3.10208],[1137888000000,3.10208],[1137974400000,3.10208],[1138060800000,3.11646],[1138147200000,3.11472],[1138233600000,3.12078],[1138320000000,3.1136],[1138406400000,3.10604],[1138492800000,3.10604],[1138579200000,3.10604],[1138665600000,3.09622],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,3.10468],[1139270400000,3.10468],[1139356800000,3.10309],[1139443200000,3.09137],[1139529600000,3.0998],[1139616000000,3.10677],[1139702400000,3.10677],[1139788800000,3.10677],[1139875200000,3.09679],[1139961600000,3.1018],[1140048000000,3.10256],[1140134400000,3.08325],[1140220800000,3.08709],[1140307200000,3.08709],[1140393600000,3.08709],[1140480000000,3.10169],[1140566400000,3.09589],[1140652800000,3.09293],[1140739200000,3.10995],[1140825600000,3.10898],[1140912000000,3.10898],[1140998400000,3.10898],[1141084800000,3.11181],[1141171200000,3.11025],[1141257600000,3.12123],[1141344000000,3.12165],[1141430400000,3.11927],[1141516800000,3.11927],[1141603200000,3.11927],[1141689600000,3.10636],[1141776000000,3.09309],[1141862400000,3.09309],[1141948800000,3.10353],[1142035200000,3.10487],[1142121600000,3.10487],[1142208000000,3.10487],[1142294400000,3.10309],[1142380800000,3.10793],[1142467200000,3.11746],[1142553600000,3.11725],[1142640000000,3.1242],[1142726400000,3.1242],[1142812800000,3.1242],[1142899200000,3.12932],[1142985600000,3.12336],[1143072000000,3.12316],[1143158400000,3.12354],[1143244800000,3.11564],[1143331200000,3.11564],[1143417600000,3.11564],[1143504000000,3.12057],[1143590400000,3.12272],[1143676800000,3.11463],[1143763200000,3.11832],[1143849600000,3.1215],[1143936000000,3.1215],[1144022400000,3.1215],[1144108800000,3.12417],[1144195200000,3.1332],[1144281600000,3.1398],[1144368000000,3.14877],[1144454400000,3.14598],[1144540800000,3.14598],[1144627200000,3.14598],[1144713600000,3.14365],[1144800000000,3.12623],[1144886400000,3.13219],[1144972800000,3.14106],[1145059200000,3.14106],[1145145600000,3.14106],[1145232000000,3.14106],[1145318400000,3.14106],[1145404800000,3.15258],[1145491200000,3.16131],[1145577600000,3.16131],[1145664000000,3.15994],[1145750400000,3.15994],[1145836800000,3.15994],[1145923200000,3.15994],[1146009600000,3.18154],[1146096000000,3.17863],[1146182400000,3.18195],[1146268800000,3.18903],[1146355200000,3.18903],[1146441600000,3.18903],[1146528000000,3.18903],[1146614400000,3.18903],[1146700800000,3.20662],[1146787200000,3.19658],[1146873600000,3.20356],[1146960000000,3.20356],[1147046400000,3.20356],[1147132800000,3.20356],[1147219200000,3.20356],[1147305600000,3.22654],[1147392000000,3.22061],[1147478400000,3.23122],[1147564800000,3.23122],[1147651200000,3.23122],[1147737600000,3.19306],[1147824000000,3.2014],[1147910400000,3.21827],[1147996800000,3.19456],[1148083200000,3.18167],[1148169600000,3.18167],[1148256000000,3.18167],[1148342400000,3.17505],[1148428800000,3.20058],[1148515200000,3.1825],[1148601600000,3.19238],[1148688000000,3.1964],[1148774400000,3.1964],[1148860800000,3.1964],[1148947200000,3.19837],[1149033600000,3.20546],[1149120000000,3.20368],[1149206400000,3.184],[1149292800000,3.19805],[1149379200000,3.19805],[1149465600000,3.19805],[1149552000000,3.20727],[1149638400000,3.20018],[1149724800000,3.18637],[1149811200000,3.16432],[1149897600000,3.16742],[1149984000000,3.16742],[1150070400000,3.16742],[1150156800000,3.16742],[1150243200000,3.16374],[1150329600000,3.16662],[1150416000000,3.17561],[1150502400000,3.17833],[1150588800000,3.17833],[1150675200000,3.17833],[1150761600000,3.16121],[1150848000000,3.16882],[1150934400000,3.17182],[1151020800000,3.17061],[1151107200000,3.15754],[1151193600000,3.15754],[1151280000000,3.15754],[1151366400000,3.16059],[1151452800000,3.16179],[1151539200000,3.16179],[1151625600000,3.15868],[1151712000000,3.18819],[1151798400000,3.18819],[1151884800000,3.18819],[1151971200000,3.18724],[1152057600000,3.19822],[1152144000000,3.19407],[1152230400000,3.19038],[1152316800000,3.19973],[1152403200000,3.19973],[1152489600000,3.19973],[1152576000000,3.20865],[1152662400000,3.19809],[1152748800000,3.18823],[1152835200000,3.19021],[1152921600000,3.18653],[1153008000000,3.18653],[1153094400000,3.18653],[1153180800000,3.16407],[1153267200000,3.17248],[1153353600000,3.16579],[1153440000000,3.18567],[1153526400000,3.19403],[1153612800000,3.19403],[1153699200000,3.19403],[1153785600000,3.18585],[1153872000000,3.18868],[1153958400000,3.1905],[1154044800000,3.19914],[1154131200000,3.18603],[1154217600000,3.18603],[1154304000000,3.18603],[1154390400000,3.20158],[1154476800000,3.19529],[1154563200000,3.1916],[1154649600000,3.19889],[1154736000000,3.20403],[1154822400000,3.20403],[1154908800000,3.20403],[1154995200000,3.20758],[1155081600000,3.21118],[1155168000000,3.21148],[1155254400000,3.21791],[1155340800000,3.20327],[1155427200000,3.20327],[1155513600000,3.20327],[1155600000000,3.19357],[1155686400000,3.19406],[1155772800000,3.19793],[1155859200000,3.21307],[1155945600000,3.20924],[1156032000000,3.20924],[1156118400000,3.20924],[1156204800000,3.21606],[1156291200000,3.20665],[1156377600000,3.20872],[1156464000000,3.20872],[1156550400000,3.20872],[1156636800000,3.20872],[1156723200000,3.20872],[1156809600000,3.20444],[1156896000000,3.21058],[1156982400000,3.20784],[1157068800000,3.21211],[1157155200000,3.21268],[1157241600000,3.21268],[1157328000000,3.21268],[1157414400000,3.22033],[1157500800000,3.22132],[1157587200000,3.21977],[1157673600000,3.2186],[1157760000000,3.21341],[1157846400000,3.21341],[1157932800000,3.21341],[1158019200000,3.20683],[1158105600000,3.19815],[1158192000000,3.2027],[1158278400000,3.2004],[1158364800000,3.19309],[1158451200000,3.19309],[1158537600000,3.19309],[1158624000000,3.17821],[1158710400000,3.18256],[1158796800000,3.18413],[1158883200000,3.19445],[1158969600000,3.19082],[1159056000000,3.19082],[1159142400000,3.19082],[1159228800000,3.18648],[1159315200000,3.1802],[1159401600000,3.17792],[1159488000000,3.18187],[1159574400000,3.18455],[1159660800000,3.18455],[1159747200000,3.18455],[1159833600000,3.18259],[1159920000000,3.19294],[1160006400000,3.18472],[1160092800000,3.19052],[1160179200000,3.18746],[1160265600000,3.18746],[1160352000000,3.18746],[1160438400000,3.17591],[1160524800000,3.17473],[1160611200000,3.18126],[1160697600000,3.18206],[1160784000000,3.18993],[1160870400000,3.18993],[1160956800000,3.18993],[1161043200000,3.18874],[1161129600000,3.19425],[1161216000000,3.20606],[1161302400000,3.20758],[1161388800000,3.21255],[1161475200000,3.21255],[1161561600000,3.21255],[1161648000000,3.20484],[1161734400000,3.2049],[1161820800000,3.21113],[1161907200000,3.21902],[1161993600000,3.22877],[1162080000000,3.22877],[1162166400000,3.22877],[1162252800000,3.23449],[1162339200000,3.2342],[1162425600000,3.23733],[1162512000000,3.23385],[1162598400000,3.23435],[1162684800000,3.23435],[1162771200000,3.23435],[1162857600000,3.22159],[1162944000000,3.23682],[1163030400000,3.23484],[1163116800000,3.23277],[1163203200000,3.24475],[1163289600000,3.24475],[1163376000000,3.24475],[1163462400000,3.24087],[1163548800000,3.24439],[1163635200000,3.23662],[1163721600000,3.23965],[1163808000000,3.23823],[1163894400000,3.23823],[1163980800000,3.23823],[1164067200000,3.24154],[1164153600000,3.23942],[1164240000000,3.24641],[1164326400000,3.26134],[1164412800000,3.2566],[1164499200000,3.2566],[1164585600000,3.2566],[1164672000000,3.2585],[1164758400000,3.25692],[1164844800000,3.26774],[1164931200000,3.27535],[1165017600000,3.26685],[1165104000000,3.26685],[1165190400000,3.26685],[1165276800000,3.27281],[1165363200000,3.28254],[1165449600000,3.27841],[1165536000000,3.28377],[1165622400000,3.27155],[1165708800000,3.27155],[1165795200000,3.27155],[1165881600000,3.27142],[1165968000000,3.27693],[1166054400000,3.28036],[1166140800000,3.2782],[1166227200000,3.27358],[1166313600000,3.27358],[1166400000000,3.27358],[1166486400000,3.2689],[1166572800000,3.26911],[1166659200000,3.2819],[1166745600000,3.27779],[1166832000000,3.28014],[1166918400000,3.28014],[1167004800000,3.28014],[1167091200000,3.28014],[1167177600000,3.28014],[1167264000000,3.28698],[1167350400000,3.29178],[1167436800000,3.29217]], 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, 3.089545],[1137283200000, 3.089545],[1139961600000, 3.100384],[1142380800000, 3.114919],[1145059200000, 3.149695],[1147651200000, 3.200798],[1150329600000, 3.174617],[1152921600000, 3.189382],[1155600000000, 3.205577],[1158278400000, 3.199353],[1160870400000, 3.198741],[1163548800000, 3.242886],[1166140800000, 3.276835]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });