$(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: 'Курс LTL, грн'}, 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: 'Курс LTL', data: [[1262736000000,3.33988],[1262822400000,3.3186],[1262908800000,3.3186],[1262995200000,3.3186],[1263081600000,3.3186],[1263168000000,3.3186],[1263254400000,3.36208],[1263340800000,3.35452],[1263427200000,3.37588],[1263513600000,3.35736],[1263600000000,3.3309],[1263686400000,3.3309],[1263772800000,3.3309],[1263859200000,3.32974],[1263945600000,3.31066],[1264032000000,3.27658],[1264118400000,3.26265],[1264204800000,3.27846],[1264291200000,3.27846],[1264377600000,3.27846],[1264464000000,3.28201],[1264550400000,3.2654],[1264636800000,3.2614],[1264723200000,3.244],[1264809600000,3.23546],[1264896000000,3.23546],[1264982400000,3.23546],[1265068800000,3.2233],[1265155200000,3.22931],[1265241600000,3.24052],[1265328000000,3.20878],[1265414400000,3.17231],[1265500800000,3.17231],[1265587200000,3.17231],[1265673600000,3.17137],[1265760000000,3.19184],[1265846400000,3.18748],[1265932800000,3.18238],[1266019200000,3.14556],[1266105600000,3.14556],[1266192000000,3.14556],[1266278400000,3.15348],[1266364800000,3.16337],[1266451200000,3.18121],[1266537600000,3.1433],[1266624000000,3.13151],[1266710400000,3.13151],[1266796800000,3.13151],[1266883200000,3.15326],[1266969600000,3.14181],[1267056000000,3.13486],[1267142400000,3.12144],[1267228800000,3.14018],[1267315200000,3.14018],[1267401600000,3.14018],[1267488000000,3.12977],[1267574400000,3.13313],[1267660800000,3.15424],[1267747200000,3.16057],[1267833600000,3.14052],[1267920000000,3.14052],[1268006400000,3.14052],[1268092800000,3.14052],[1268179200000,3.13482],[1268265600000,3.14644],[1268352000000,3.15652],[1268438400000,3.18052],[1268524800000,3.18052],[1268611200000,3.18052],[1268697600000,3.16615],[1268784000000,3.1703],[1268870400000,3.17765],[1268956800000,3.15547],[1269043200000,3.1234],[1269129600000,3.1234],[1269216000000,3.1234],[1269302400000,3.10339],[1269388800000,3.11276],[1269475200000,3.06525],[1269561600000,3.06784],[1269648000000,3.06677],[1269734400000,3.06677],[1269820800000,3.06677],[1269907200000,3.09192],[1269993600000,3.09444],[1270080000000,3.09375],[1270166400000,3.09123],[1270252800000,3.09123],[1270339200000,3.09123],[1270425600000,3.09123],[1270512000000,3.09123],[1270598400000,3.0747],[1270684800000,3.06154],[1270771200000,3.05225],[1270857600000,3.07253],[1270944000000,3.07253],[1271030400000,3.07253],[1271116800000,3.11867],[1271203200000,3.11813],[1271289600000,3.12548],[1271376000000,3.10899],[1271462400000,3.10692],[1271548800000,3.10692],[1271635200000,3.10692],[1271721600000,3.08331],[1271808000000,3.09559],[1271894400000,3.06981],[1271980800000,3.06193],[1272067200000,3.0555],[1272153600000,3.0555],[1272240000000,3.0555],[1272326400000,3.05791],[1272412800000,3.05072],[1272499200000,3.04039],[1272585600000,3.04291],[1272672000000,3.05646],[1272758400000,3.05646],[1272844800000,3.05646],[1272931200000,3.05646],[1273017600000,3.05646],[1273104000000,2.9667],[1273190400000,2.92148],[1273276800000,2.92584],[1273363200000,2.92584],[1273449600000,2.92584],[1273536000000,2.92584],[1273622400000,2.91482],[1273708800000,2.91207],[1273795200000,2.88935],[1273881600000,2.86754],[1273968000000,null],[1274054400000,2.86754],[1274140800000,2.83471],[1274227200000,2.85285],[1274313600000,2.81651],[1274400000000,2.8312],[1274486400000,2.86854],[1274572800000,2.86854],[1274659200000,2.86854],[1274745600000,2.86854],[1274832000000,2.80565],[1274918400000,2.82535],[1275004800000,2.81285],[1275091200000,2.84246],[1275177600000,2.84246],[1275264000000,2.84246],[1275350400000,2.82479],[1275436800000,2.7899],[1275523200000,2.80454],[1275609600000,2.8159],[1275696000000,2.76676],[1275782400000,2.76676],[1275868800000,2.76676],[1275955200000,2.74349],[1276041600000,2.73904],[1276128000000,2.75418],[1276214400000,2.76179],[1276300800000,2.78021],[1276387200000,2.78021],[1276473600000,2.78021],[1276560000000,2.80785],[1276646400000,2.80967],[1276732800000,2.81356],[1276819200000,2.83309],[1276905600000,2.83498],[1276992000000,2.83498],[1277078400000,2.83498],[1277164800000,2.8389],[1277251200000,2.80832],[1277337600000,2.81108],[1277424000000,2.80888],[1277510400000,2.8155],[1277596800000,2.8155],[1277683200000,2.8155],[1277769600000,2.8155],[1277856000000,2.79337],[1277942400000,2.80949],[1278028800000,2.82375],[1278115200000,2.8748],[1278201600000,2.8748],[1278288000000,2.8748],[1278374400000,2.87058],[1278460800000,2.88113],[1278547200000,2.87795],[1278633600000,2.89873],[1278720000000,2.89273],[1278806400000,2.89273],[1278892800000,2.89273],[1278979200000,2.87764],[1279065600000,2.87659],[1279152000000,2.90707],[1279238400000,2.93534],[1279324800000,2.97432],[1279411200000,2.97432],[1279497600000,2.97432],[1279584000000,2.9643],[1279670400000,2.93796],[1279756800000,2.93153],[1279843200000,2.93896],[1279929600000,2.94934],[1280016000000,2.94934],[1280102400000,2.94934],[1280188800000,2.95681],[1280275200000,2.97976],[1280361600000,2.97001],[1280448000000,2.98761],[1280534400000,2.97805],[1280620800000,2.97805],[1280707200000,2.97805],[1280793600000,2.98815],[1280880000000,3.02175],[1280966400000,3.01813],[1281052800000,3.01302],[1281139200000,3.01093],[1281225600000,null],[1281312000000,3.01093],[1281398400000,3.02845],[1281484800000,3.00102],[1281571200000,2.97429],[1281657600000,2.92265],[1281744000000,2.9247],[1281830400000,2.9247],[1281916800000,2.9247],[1282003200000,2.92984],[1282089600000,2.93864],[1282176000000,2.94321],[1282262400000,2.93327],[1282348800000,2.9047],[1282435200000,null],[1282521600000,null],[1282608000000,2.90459],[1282694400000,2.90459],[1282780800000,2.8822],[1282867200000,2.90048],[1282953600000,2.90395],[1283040000000,2.90395],[1283126400000,2.90395],[1283212800000,2.90064],[1283299200000,2.8963],[1283385600000,2.92348],[1283472000000,2.93194],[1283558400000,2.93947],[1283644800000,2.93947],[1283731200000,2.93947],[1283817600000,2.94863],[1283904000000,2.91885],[1283990400000,2.90809],[1284076800000,2.91221],[1284163200000,2.9145],[1284249600000,2.9145],[1284336000000,2.9145],[1284422400000,2.93191],[1284508800000,2.94685],[1284595200000,2.9791],[1284681600000,2.99952],[1284768000000,2.99539],[1284854400000,2.99539],[1284940800000,2.99539],[1285027200000,2.9986],[1285113600000,3.00915],[1285200000000,3.06511],[1285286400000,3.05455],[1285372800000,3.07231],[1285459200000,3.07231],[1285545600000,3.07231],[1285632000000,3.0888],[1285718400000,3.08491],[1285804800000,3.11952],[1285891200000,3.12661],[1285977600000,3.14444],[1286064000000,3.14444],[1286150400000,3.14444],[1286236800000,3.13963],[1286323200000,3.15681],[1286409600000,3.17422],[1286496000000,3.20034],[1286582400000,3.17835],[1286668800000,3.17835],[1286755200000,3.17835],[1286841600000,3.19255],[1286928000000,3.16895],[1287014400000,3.19759],[1287100800000,3.2299],[1287187200000,3.22723],[1287273600000,3.22723],[1287360000000,3.22723],[1287446400000,3.18407],[1287532800000,3.17559],[1287619200000,3.17605],[1287705600000,3.21157],[1287792000000,3.19286],[1287878400000,3.19286],[1287964800000,3.19286],[1288051200000,3.215],[1288137600000,3.18774],[1288224000000,3.16276],[1288310400000,3.17513],[1288396800000,3.17489],[1288483200000,3.17489],[1288569600000,3.17489],[1288656000000,3.1934],[1288742400000,3.21491],[1288828800000,3.2144],[1288915200000,3.26723],[1289001600000,3.22841],[1289088000000,3.22841],[1289174400000,3.22841],[1289260800000,3.19094],[1289347200000,3.19494],[1289433600000,3.15456],[1289520000000,3.14277],[1289606400000,3.14887],[1289692800000,3.14887],[1289779200000,3.14887],[1289865600000,3.13053],[1289952000000,3.1285],[1290038400000,3.09917],[1290124800000,3.13733],[1290211200000,3.14354],[1290297600000,3.14354],[1290384000000,3.14354],[1290470400000,3.13733],[1290556800000,3.10262],[1290643200000,3.06691],[1290729600000,3.06277],[1290816000000,3.04043],[1290902400000,3.04043],[1290988800000,3.04043],[1291075200000,3.02227],[1291161600000,2.98825],[1291248000000,3.01514],[1291334400000,3.0251],[1291420800000,3.04679],[1291507200000,3.04679],[1291593600000,3.04679],[1291680000000,3.06108],[1291766400000,3.07758],[1291852800000,3.03981],[1291939200000,3.04303],[1292025600000,3.05059],[1292112000000,3.05059],[1292198400000,3.05059],[1292284800000,3.05589],[1292371200000,3.09848],[1292457600000,3.08118],[1292544000000,3.0532],[1292630400000,3.05827],[1292716800000,3.05827],[1292803200000,3.05827],[1292889600000,3.03221],[1292976000000,3.03405],[1293062400000,3.02414],[1293148800000,3.01307],[1293235200000,3.02038],[1293321600000,3.02038],[1293408000000,3.02038],[1293494400000,3.02876],[1293580800000,3.04236],[1293667200000,3.02819]], 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, 3.304391],[1263513600000, 3.304391],[1266192000000, 3.167561],[1268611200000, 3.130162],[1271289600000, 3.080569],[1273881600000, 2.903527],[1276560000000, 2.798873],[1279152000000, 2.918607],[1281830400000, 2.949054],[1284508800000, 2.982750],[1287100800000, 3.182354],[1289779200000, 3.143974],[1292371200000, 3.042962]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });