$(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: 'Курс HUF, грн'}, 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: 'Курс HUF', data: [[1231200000000,0.03915],[1231286400000,0.0384957],[1231372800000,0.0384957],[1231459200000,0.0385807],[1231545600000,0.0381584],[1231632000000,0.0381584],[1231718400000,0.0381584],[1231804800000,0.0369126],[1231891200000,0.0367686],[1231977600000,0.0365587],[1232064000000,0.0357984],[1232150400000,0.0367683],[1232236800000,null],[1232323200000,0.0367683],[1232409600000,0.0357966],[1232496000000,0.0346721],[1232582400000,0.0349311],[1232668800000,0.0353575],[1232755200000,0.0339905],[1232841600000,0.0339905],[1232928000000,0.0339905],[1233014400000,0.0350454],[1233100800000,0.035553],[1233187200000,0.0358504],[1233273600000,0.0351416],[1233360000000,0.0329956],[1233446400000,0.0329956],[1233532800000,0.0329956],[1233619200000,0.0329727],[1233705600000,0.0330618],[1233792000000,0.0330649],[1233878400000,0.033487],[1233964800000,0.0336737],[1234051200000,0.0336737],[1234137600000,0.0336737],[1234224000000,0.0347904],[1234310400000,0.0347049],[1234396800000,0.0336574],[1234483200000,0.033098],[1234569600000,null],[1234656000000,null],[1234742400000,0.0331088],[1234828800000,0.0324017],[1234915200000,0.0316724],[1235001600000,0.0320392],[1235088000000,0.0325672],[1235174400000,0.0318445],[1235260800000,0.0318445],[1235347200000,0.0318445],[1235433600000,0.0331744],[1235520000000,0.0328624],[1235606400000,0.0328811],[1235692800000,0.0328049],[1235779200000,0.0324032],[1235865600000,0.0324032],[1235952000000,0.0324032],[1236038400000,0.0315895],[1236124800000,0.0316567],[1236211200000,0.03118],[1236297600000,0.0310219],[1236384000000,0.0307951],[1236470400000,0.0307951],[1236556800000,0.0307951],[1236643200000,0.0307951],[1236729600000,null],[1236816000000,0.032789],[1236902400000,0.0325629],[1236988800000,0.0333776],[1237075200000,0.0333776],[1237161600000,0.0333776],[1237248000000,0.0339808],[1237334400000,0.0332533],[1237420800000,0.0335104],[1237507200000,0.0352652],[1237593600000,0.0349669],[1237680000000,0.0349669],[1237766400000,0.0349669],[1237852800000,0.0343241],[1237939200000,0.03457],[1238025600000,0.0346092],[1238112000000,0.0346933],[1238198400000,0.0336339],[1238284800000,0.0336339],[1238371200000,0.0336339],[1238457600000,0.032913],[1238544000000,0.0332506],[1238630400000,0.0334616],[1238716800000,0.0345282],[1238803200000,0.0349728],[1238889600000,0.0349728],[1238976000000,0.0349728],[1239062400000,0.0353106],[1239148800000,0.034388],[1239235200000,0.0343165],[1239321600000,0.0352603],[1239408000000,0.0352603],[1239494400000,0.0352603],[1239580800000,0.0352603],[1239667200000,0.0352603],[1239753600000,0.0353109],[1239840000000,0.0348816],[1239926400000,0.0346387],[1240012800000,0.034217],[1240099200000,0.034217],[1240185600000,0.034217],[1240272000000,0.034217],[1240358400000,0.0331535],[1240444800000,0.0334537],[1240531200000,0.033855],[1240617600000,0.034442],[1240704000000,0.034442],[1240790400000,0.034442],[1240876800000,0.034167],[1240963200000,0.0338025],[1241049600000,0.035321],[1241136000000,0.0352803],[1241222400000,0.0352803],[1241308800000,null],[1241395200000,0.0352803],[1241481600000,0.0352803],[1241568000000,0.0364341],[1241654400000,0.0358883],[1241740800000,0.0372753],[1241827200000,0.0370917],[1241913600000,0.0370917],[1242000000000,0.0370917],[1242086400000,0.0370917],[1242172800000,0.0375745],[1242259200000,0.0369095],[1242345600000,0.0356875],[1242432000000,0.0356032],[1242518400000,0.0356032],[1242604800000,0.0356032],[1242691200000,0.0361933],[1242777600000,0.0372904],[1242864000000,0.0375254],[1242950400000,0.0376688],[1243036800000,0.0382236],[1243123200000,0.0382236],[1243209600000,0.0382236],[1243296000000,0.0380247],[1243382400000,0.037519],[1243468800000,0.0374445],[1243555200000,0.0370733],[1243641600000,0.0380224],[1243728000000,0.0380224],[1243814400000,0.0380224],[1243900800000,0.03855],[1243987200000,0.0384709],[1244073600000,0.0382168],[1244160000000,0.0373711],[1244246400000,0.0373275],[1244332800000,0.0373275],[1244419200000,0.0373275],[1244505600000,0.0373275],[1244592000000,0.0379215],[1244678400000,0.0385794],[1244764800000,0.0379401],[1244851200000,0.038368],[1244937600000,0.038368],[1245024000000,0.038368],[1245110400000,0.0375955],[1245196800000,0.0377539],[1245283200000,0.0371554],[1245369600000,0.0373926],[1245456000000,0.0379668],[1245542400000,0.0379668],[1245628800000,0.0379668],[1245715200000,0.0378521],[1245801600000,0.0378336],[1245888000000,0.0385059],[1245974400000,0.0383765],[1246060800000,0.0390689],[1246147200000,0.0390689],[1246233600000,0.0390689],[1246320000000,0.0390689],[1246406400000,0.0397683],[1246492800000,0.0397206],[1246579200000,0.0399746],[1246665600000,0.0392576],[1246752000000,0.0392576],[1246838400000,0.0392576],[1246924800000,0.0387801],[1247011200000,0.0391526],[1247097600000,0.0381115],[1247184000000,0.0387772],[1247270400000,0.0381934],[1247356800000,0.0381934],[1247443200000,0.0381934],[1247529600000,0.0383332],[1247616000000,0.0386892],[1247702400000,0.0393466],[1247788800000,0.039572],[1247875200000,0.0393179],[1247961600000,0.0393179],[1248048000000,0.0393179],[1248134400000,0.039917],[1248220800000,0.0401599],[1248307200000,0.0400473],[1248393600000,0.0401964],[1248480000000,0.0409114],[1248566400000,0.0409114],[1248652800000,0.0409114],[1248739200000,0.0409515],[1248825600000,0.0408979],[1248912000000,0.0402598],[1248998400000,0.040319],[1249084800000,0.0408396],[1249171200000,0.0408396],[1249257600000,0.0408396],[1249344000000,0.0413775],[1249430400000,0.0413745],[1249516800000,0.0414652],[1249603200000,0.0409872],[1249689600000,0.0405438],[1249776000000,0.0405438],[1249862400000,0.0405438],[1249948800000,0.0406585],[1250035200000,0.0400881],[1250121600000,0.0400831],[1250208000000,0.0412947],[1250294400000,0.0412429],[1250380800000,0.0412429],[1250467200000,0.0412429],[1250553600000,0.040077],[1250640000000,0.0404919],[1250726400000,0.0403597],[1250812800000,0.0413619],[1250899200000,0.042362],[1250985600000,0.042362],[1251072000000,0.042362],[1251158400000,0.042362],[1251244800000,0.0427279],[1251331200000,0.0425861],[1251417600000,0.0424533],[1251504000000,0.0423853],[1251590400000,0.0423853],[1251676800000,0.0423853],[1251763200000,0.0419419],[1251849600000,0.0417415],[1251936000000,0.041085],[1252022400000,0.0417832],[1252108800000,0.0415618],[1252195200000,0.0415618],[1252281600000,0.0415618],[1252368000000,0.0420836],[1252454400000,0.0427119],[1252540800000,0.0428031],[1252627200000,0.0427055],[1252713600000,0.0427008],[1252800000000,0.0427008],[1252886400000,0.0427008],[1252972800000,0.0424463],[1253059200000,0.0429929],[1253145600000,0.0435182],[1253232000000,0.0435282],[1253318400000,0.043416],[1253404800000,0.043416],[1253491200000,0.043416],[1253577600000,0.0430898],[1253664000000,0.0436005],[1253750400000,0.0436335],[1253836800000,0.0437699],[1253923200000,0.0435036],[1254009600000,0.0435036],[1254096000000,0.0435036],[1254182400000,0.0435165],[1254268800000,0.0432341],[1254355200000,0.0434566],[1254441600000,0.0430855],[1254528000000,0.0433431],[1254614400000,0.0433431],[1254700800000,0.0433431],[1254787200000,0.0438086],[1254873600000,0.044161],[1254960000000,0.0439339],[1255046400000,0.0437645],[1255132800000,0.0436613],[1255219200000,0.0436613],[1255305600000,0.0436613],[1255392000000,0.0438922],[1255478400000,0.044274],[1255564800000,0.0445244],[1255651200000,0.0442592],[1255737600000,0.0442434],[1255824000000,0.0442434],[1255910400000,0.0442434],[1255996800000,0.0446258],[1256083200000,0.0451523],[1256169600000,0.0449508],[1256256000000,0.0451546],[1256342400000,0.0451684],[1256428800000,0.0451684],[1256515200000,0.0451684],[1256601600000,0.0449183],[1256688000000,0.0443429],[1256774400000,0.0434021],[1256860800000,0.0433427],[1256947200000,0.0432702],[1257033600000,0.0432702],[1257120000000,0.0432702],[1257206400000,0.0429133],[1257292800000,0.0422121],[1257379200000,0.0426868],[1257465600000,0.0432219],[1257552000000,0.0432254],[1257638400000,0.0432254],[1257724800000,0.0432254],[1257811200000,0.0438977],[1257897600000,0.0439319],[1257984000000,0.0446291],[1258070400000,0.0440071],[1258156800000,0.0442279],[1258243200000,0.0442279],[1258329600000,0.0442279],[1258416000000,0.0447294],[1258502400000,0.0446826],[1258588800000,0.0450084],[1258675200000,0.0444843],[1258761600000,0.0438934],[1258848000000,0.0438934],[1258934400000,0.0438934],[1259020800000,0.0446998],[1259107200000,0.0446861],[1259193600000,0.0450437],[1259280000000,0.0445867],[1259366400000,0.0437203],[1259452800000,0.0437203],[1259539200000,0.0437203],[1259625600000,0.0438151],[1259712000000,0.0442982],[1259798400000,0.0445755],[1259884800000,0.0447606],[1259971200000,0.044699],[1260057600000,0.044699],[1260144000000,0.044699],[1260230400000,0.0436675],[1260316800000,0.0431435],[1260403200000,0.0430911],[1260489600000,0.0432425],[1260576000000,0.043132],[1260662400000,0.043132],[1260748800000,0.043132],[1260835200000,0.0427893],[1260921600000,0.0418399],[1261008000000,0.0418064],[1261094400000,0.0411097],[1261180800000,0.0412438],[1261267200000,0.0412438],[1261353600000,0.0412438],[1261440000000,0.0417124],[1261526400000,0.0414866],[1261612800000,0.0415605],[1261699200000,0.0420234],[1261785600000,0.0420208],[1261872000000,0.0420208],[1261958400000,0.0420208],[1262044800000,0.0419816],[1262131200000,0.0421991]], 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: [[1231977600000, 0.036243],[1231977600000, 0.036243],[1234656000000, 0.032973],[1237075200000, 0.033061],[1239753600000, 0.034508],[1242345600000, 0.036851],[1245024000000, 0.038071],[1247616000000, 0.039549],[1250294400000, 0.041351],[1252972800000, 0.042791],[1255564800000, 0.044115],[1258243200000, 0.043905],[1260835200000, 0.042725]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });