$(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: [[1262736000000,0.0428697],[1262822400000,0.0426156],[1262908800000,0.0426156],[1262995200000,0.0426156],[1263081600000,0.0426156],[1263168000000,0.0426156],[1263254400000,0.0435268],[1263340800000,0.0431892],[1263427200000,0.0436857],[1263513600000,0.0433518],[1263600000000,0.0431069],[1263686400000,0.0431069],[1263772800000,0.0431069],[1263859200000,0.042939],[1263945600000,0.0426627],[1264032000000,0.0420587],[1264118400000,0.0416569],[1264204800000,0.0416141],[1264291200000,0.0416141],[1264377600000,0.0416141],[1264464000000,0.0417882],[1264550400000,0.0413373],[1264636800000,0.0414387],[1264723200000,0.041286],[1264809600000,0.0412001],[1264896000000,0.0412001],[1264982400000,0.0412001],[1265068800000,0.041015],[1265155200000,0.0412587],[1265241600000,0.0414372],[1265328000000,0.0406429],[1265414400000,0.0399611],[1265500800000,0.0399611],[1265587200000,0.0399611],[1265673600000,0.0399785],[1265760000000,0.0405176],[1265846400000,0.0405293],[1265932800000,0.0406215],[1266019200000,0.0401545],[1266105600000,0.0401545],[1266192000000,0.0401545],[1266278400000,0.040122],[1266364800000,0.0401016],[1266451200000,0.0405572],[1266537600000,0.0400221],[1266624000000,0.0398544],[1266710400000,0.0398544],[1266796800000,0.0398544],[1266883200000,0.0403618],[1266969600000,0.0402076],[1267056000000,0.040015],[1267142400000,0.039851],[1267228800000,0.040172],[1267315200000,0.040172],[1267401600000,0.040172],[1267488000000,0.0401057],[1267574400000,0.0405323],[1267660800000,0.0409404],[1267747200000,0.0409486],[1267833600000,0.0406462],[1267920000000,0.0406462],[1268006400000,0.0406462],[1268092800000,0.0406462],[1268179200000,0.0405086],[1268265600000,0.0407091],[1268352000000,0.0408318],[1268438400000,0.0412614],[1268524800000,0.0412614],[1268611200000,0.0412614],[1268697600000,0.0413154],[1268784000000,0.0414339],[1268870400000,0.0418387],[1268956800000,0.0415975],[1269043200000,0.0410525],[1269129600000,0.0410525],[1269216000000,0.0410525],[1269302400000,0.0403896],[1269388800000,0.0406173],[1269475200000,0.0400852],[1269561600000,0.0401647],[1269648000000,0.0399537],[1269734400000,0.0399537],[1269820800000,0.0399537],[1269907200000,0.0401345],[1269993600000,0.0401823],[1270080000000,0.0401961],[1270166400000,0.0403104],[1270252800000,0.0403104],[1270339200000,0.0403104],[1270425600000,0.0403104],[1270512000000,0.0403104],[1270598400000,0.0400193],[1270684800000,0.0397103],[1270771200000,0.0391923],[1270857600000,0.0396295],[1270944000000,0.0396295],[1271030400000,0.0396295],[1271116800000,0.0406024],[1271203200000,0.040692],[1271289600000,0.0410876],[1271376000000,0.0407699],[1271462400000,0.0407196],[1271548800000,0.0407196],[1271635200000,0.0407196],[1271721600000,0.0401163],[1271808000000,0.0403445],[1271894400000,0.0401296],[1271980800000,0.0399706],[1272067200000,0.0398942],[1272153600000,0.0398942],[1272240000000,0.0398942],[1272326400000,0.0400818],[1272412800000,0.0394884],[1272499200000,0.0388953],[1272585600000,0.0391627],[1272672000000,0.0395523],[1272758400000,0.0395523],[1272844800000,0.0395523],[1272931200000,0.0395523],[1273017600000,0.0395523],[1273104000000,0.0370026],[1273190400000,0.0361008],[1273276800000,0.0358748],[1273363200000,0.0358748],[1273449600000,0.0358748],[1273536000000,0.0358748],[1273622400000,0.0364517],[1273708800000,0.0367285],[1273795200000,0.0366171],[1273881600000,0.0358564],[1273968000000,null],[1274054400000,0.0358564],[1274140800000,0.0352303],[1274227200000,0.035512],[1274313600000,0.0347937],[1274400000000,0.0345426],[1274486400000,0.035206],[1274572800000,0.035206],[1274659200000,0.035206],[1274745600000,0.035206],[1274832000000,0.0345507],[1274918400000,0.0351621],[1275004800000,0.0350799],[1275091200000,0.0358283],[1275177600000,0.0358283],[1275264000000,0.0358283],[1275350400000,0.0353988],[1275436800000,0.0348238],[1275523200000,0.0351004],[1275609600000,0.0353298],[1275696000000,0.0330786],[1275782400000,0.0330786],[1275868800000,0.0330786],[1275955200000,0.0331562],[1276041600000,0.0335129],[1276128000000,0.0337461],[1276214400000,0.0338105],[1276300800000,0.0343329],[1276387200000,0.0343329],[1276473600000,0.0343329],[1276560000000,0.034749],[1276646400000,0.0346349],[1276732800000,0.0345632],[1276819200000,0.0350349],[1276905600000,0.0349531],[1276992000000,0.0349531],[1277078400000,0.0349531],[1277164800000,0.0352557],[1277251200000,0.0345775],[1277337600000,0.0346177],[1277424000000,0.0341761],[1277510400000,0.03411],[1277596800000,0.03411],[1277683200000,0.03411],[1277769600000,0.03411],[1277856000000,0.0336343],[1277942400000,0.0339182],[1278028800000,0.0339184],[1278115200000,0.0347431],[1278201600000,0.0347431],[1278288000000,0.0347431],[1278374400000,0.0346314],[1278460800000,0.0349236],[1278547200000,0.0349316],[1278633600000,0.0355841],[1278720000000,0.035641],[1278806400000,0.035641],[1278892800000,0.035641],[1278979200000,0.035624],[1279065600000,0.0357533],[1279152000000,0.0361036],[1279238400000,0.0363358],[1279324800000,0.0365666],[1279411200000,0.0365666],[1279497600000,0.0365666],[1279584000000,0.0353936],[1279670400000,0.0349114],[1279756800000,0.0355281],[1279843200000,0.0358258],[1279929600000,0.0354615],[1280016000000,0.0354615],[1280102400000,0.0354615],[1280188800000,0.0355266],[1280275200000,0.0362603],[1280361600000,0.0363338],[1280448000000,0.0363469],[1280534400000,0.036001],[1280620800000,0.036001],[1280707200000,0.036001],[1280793600000,0.0366322],[1280880000000,0.0370231],[1280966400000,0.0369683],[1281052800000,0.0371974],[1281139200000,0.0373089],[1281225600000,null],[1281312000000,0.0373089],[1281398400000,0.0374413],[1281484800000,0.0371329],[1281571200000,0.0364016],[1281657600000,0.0357303],[1281744000000,0.0359272],[1281830400000,0.0359272],[1281916800000,0.0359272],[1282003200000,0.0361033],[1282089600000,0.0363025],[1282176000000,0.0365065],[1282262400000,0.0365777],[1282348800000,0.0358961],[1282435200000,null],[1282521600000,null],[1282608000000,0.0358947],[1282694400000,0.0358947],[1282780800000,0.0349979],[1282867200000,0.0353093],[1282953600000,0.0352211],[1283040000000,0.0352211],[1283126400000,0.0352211],[1283212800000,0.0353287],[1283299200000,0.034762],[1283385600000,0.0352575],[1283472000000,0.035517],[1283558400000,0.0356745],[1283644800000,0.0356745],[1283731200000,0.0356745],[1283817600000,0.0357605],[1283904000000,0.0351831],[1283990400000,0.0347501],[1284076800000,0.0351878],[1284163200000,0.0354525],[1284249600000,0.0354525],[1284336000000,0.0354525],[1284422400000,0.0356755],[1284508800000,0.0358574],[1284595200000,0.0364994],[1284681600000,0.0367755],[1284768000000,0.0365691],[1284854400000,0.0365691],[1284940800000,0.0365691],[1285027200000,0.0368127],[1285113600000,0.037123],[1285200000000,0.0378445],[1285286400000,0.037553],[1285372800000,0.0380559],[1285459200000,0.0380559],[1285545600000,0.0380559],[1285632000000,0.038545],[1285718400000,0.0383219],[1285804800000,0.0390044],[1285891200000,0.0391498],[1285977600000,0.0396463],[1286064000000,0.0396463],[1286150400000,0.0396463],[1286236800000,0.0398226],[1286323200000,0.0399657],[1286409600000,0.0405429],[1286496000000,0.0404278],[1286582400000,0.0398265],[1286668800000,0.0398265],[1286755200000,0.0398265],[1286841600000,0.0402264],[1286928000000,0.0399553],[1287014400000,0.0403753],[1287100800000,0.0407565],[1287187200000,0.0406411],[1287273600000,0.0406411],[1287360000000,0.0406411],[1287446400000,0.0397425],[1287532800000,0.0395994],[1287619200000,0.0397934],[1287705600000,0.0403967],[1287792000000,0.0400374],[1287878400000,0.0400374],[1287964800000,0.0400374],[1288051200000,0.0405834],[1288137600000,0.0400824],[1288224000000,0.0397047],[1288310400000,0.0401211],[1288396800000,0.0403381],[1288483200000,0.0403381],[1288569600000,0.0403381],[1288656000000,0.0407246],[1288742400000,0.0409988],[1288828800000,0.0408039],[1288915200000,0.0414138],[1289001600000,0.0407258],[1289088000000,0.0407258],[1289174400000,0.0407258],[1289260800000,0.0401226],[1289347200000,0.0402388],[1289433600000,0.0398393],[1289520000000,0.0392397],[1289606400000,0.0393914],[1289692800000,0.0393914],[1289779200000,0.0393914],[1289865600000,0.0390954],[1289952000000,0.0390037],[1290038400000,0.0384769],[1290124800000,0.0393783],[1290211200000,0.0395771],[1290297600000,0.0395771],[1290384000000,0.0395771],[1290470400000,0.0396638],[1290556800000,0.0389129],[1290643200000,0.038426],[1290729600000,0.0381292],[1290816000000,0.0375063],[1290902400000,0.0375063],[1290988800000,0.0375063],[1291075200000,0.0371919],[1291161600000,0.0363073],[1291248000000,0.0371214],[1291334400000,0.0374711],[1291420800000,0.0378375],[1291507200000,0.0378375],[1291593600000,0.0378375],[1291680000000,0.0377272],[1291766400000,0.0382239],[1291852800000,0.0376398],[1291939200000,0.037878],[1292025600000,0.0378616],[1292112000000,0.0378616],[1292198400000,0.0378616],[1292284800000,0.0379082],[1292371200000,0.0385765],[1292457600000,0.0387383],[1292544000000,0.0385169],[1292630400000,0.0387153],[1292716800000,0.0387153],[1292803200000,0.0387153],[1292889600000,0.0380949],[1292976000000,0.0380116],[1293062400000,0.037805],[1293148800000,0.0373649],[1293235200000,0.0373523],[1293321600000,0.0373523],[1293408000000,0.0373523],[1293494400000,0.0375057],[1293580800000,0.0376309],[1293667200000,0.0374221]], 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: [[1263513600000, 0.042363],[1263513600000, 0.042363],[1266192000000, 0.040310],[1268611200000, 0.040706],[1271289600000, 0.040091],[1273881600000, 0.036302],[1276560000000, 0.034322],[1279152000000, 0.035519],[1281830400000, 0.036193],[1284508800000, 0.036456],[1287100800000, 0.040077],[1289779200000, 0.039453],[1292371200000, 0.037843]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });