$(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: 'Курс XDR, грн'}, 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: 'Курс XDR', data: [[1262736000000,12.5169],[1262822400000,12.4858],[1262908800000,12.4858],[1262995200000,12.4858],[1263081600000,12.4858],[1263168000000,12.4858],[1263254400000,12.569],[1263340800000,12.5742],[1263427200000,12.6222],[1263513600000,12.5922],[1263600000000,12.5721],[1263686400000,12.5721],[1263772800000,12.5721],[1263859200000,12.5721],[1263945600000,12.555],[1264032000000,12.5002],[1264118400000,12.4556],[1264204800000,12.5006],[1264291200000,12.5006],[1264377600000,12.5006],[1264464000000,12.5146],[1264550400000,12.4878],[1264636800000,12.4928],[1264723200000,12.4545],[1264809600000,12.432],[1264896000000,12.432],[1264982400000,12.432],[1265068800000,12.3921],[1265155200000,12.4078],[1265241600000,12.4321],[1265328000000,12.3615],[1265414400000,12.3322],[1265500800000,12.3322],[1265587200000,12.3322],[1265673600000,12.3215],[1265760000000,12.3354],[1265846400000,12.3657],[1265932800000,12.3497],[1266019200000,12.2658],[1266105600000,12.2658],[1266192000000,12.2658],[1266278400000,12.265],[1266364800000,12.307],[1266451200000,12.3268],[1266537600000,12.2501],[1266624000000,12.1941],[1266710400000,12.1941],[1266796800000,12.1941],[1266883200000,12.2323],[1266969600000,12.2202],[1267056000000,12.2365],[1267142400000,12.2196],[1267228800000,12.2453],[1267315200000,12.2453],[1267401600000,12.2453],[1267488000000,12.2064],[1267574400000,12.2068],[1267660800000,12.2053],[1267747200000,12.2728],[1267833600000,12.2214],[1267920000000,12.2214],[1268006400000,12.2214],[1268092800000,12.2214],[1268179200000,12.1994],[1268265600000,12.2024],[1268352000000,12.2135],[1268438400000,12.2644],[1268524800000,12.2644],[1268611200000,12.2644],[1268697600000,12.2301],[1268784000000,12.2357],[1268870400000,12.2698],[1268956800000,12.238],[1269043200000,12.1658],[1269129600000,12.1658],[1269216000000,12.1658],[1269302400000,12.1248],[1269388800000,12.1147],[1269475200000,12.0277],[1269561600000,12.011],[1269648000000,12.0044],[1269734400000,12.0044],[1269820800000,12.0044],[1269907200000,12.0363],[1269993600000,12.0424],[1270080000000,12.0321],[1270166400000,12.0441],[1270252800000,12.0441],[1270339200000,12.0441],[1270425600000,12.0441],[1270512000000,12.0441],[1270598400000,12.0049],[1270684800000,11.9824],[1270771200000,11.9959],[1270857600000,12.0214],[1270944000000,12.0214],[1271030400000,12.0214],[1271116800000,12.0897],[1271203200000,12.0969],[1271289600000,12.0944],[1271376000000,12.0768],[1271462400000,12.0822],[1271548800000,12.0822],[1271635200000,12.0822],[1271721600000,12.0504],[1271808000000,12.0708],[1271894400000,12.0273],[1271980800000,12.0127],[1272067200000,11.9908],[1272153600000,11.9908],[1272240000000,11.9908],[1272326400000,11.9918],[1272412800000,11.9886],[1272499200000,11.9405],[1272585600000,11.9551],[1272672000000,11.977],[1272758400000,11.977],[1272844800000,11.977],[1272931200000,11.977],[1273017600000,11.977],[1273104000000,11.8381],[1273190400000,11.7965],[1273276800000,11.7966],[1273363200000,11.7966],[1273449600000,11.7966],[1273536000000,11.7966],[1273622400000,11.7639],[1273708800000,11.7601],[1273795200000,11.7275],[1273881600000,11.6776],[1273968000000,null],[1274054400000,11.6776],[1274140800000,11.6195],[1274227200000,11.6452],[1274313600000,11.5872],[1274400000000,11.6415],[1274486400000,11.7225],[1274572800000,11.7225],[1274659200000,11.7225],[1274745600000,11.7225],[1274832000000,11.6285],[1274918400000,11.6589],[1275004800000,11.6603],[1275091200000,11.6842],[1275177600000,11.6842],[1275264000000,11.6842],[1275350400000,11.6842],[1275436800000,11.5943],[1275523200000,11.6179],[1275609600000,11.6127],[1275696000000,11.5798],[1275782400000,11.5798],[1275868800000,11.5798],[1275955200000,11.5187],[1276041600000,11.5011],[1276128000000,11.5208],[1276214400000,11.5539],[1276300800000,11.5753],[1276387200000,11.5753],[1276473600000,11.5753],[1276560000000,11.6118],[1276646400000,11.6249],[1276732800000,11.6349],[1276819200000,11.6689],[1276905600000,11.6776],[1276992000000,11.6776],[1277078400000,11.6776],[1277164800000,11.6737],[1277251200000,11.633],[1277337600000,11.6598],[1277424000000,11.6833],[1277510400000,11.6673],[1277596800000,11.6673],[1277683200000,11.6673],[1277769600000,11.6673],[1277856000000,11.6639],[1277942400000,11.6911],[1278028800000,11.7165],[1278115200000,11.8032],[1278201600000,11.8032],[1278288000000,11.8032],[1278374400000,11.8018],[1278460800000,11.8173],[1278547200000,11.8279],[1278633600000,11.826],[1278720000000,11.8243],[1278806400000,11.8243],[1278892800000,11.8243],[1278979200000,11.7793],[1279065600000,11.7884],[1279152000000,11.8448],[1279238400000,11.8899],[1279324800000,11.9518],[1279411200000,11.9518],[1279497600000,11.9518],[1279584000000,11.9471],[1279670400000,11.9233],[1279756800000,11.8947],[1279843200000,11.9198],[1279929600000,11.9462],[1280016000000,11.9462],[1280102400000,11.9462],[1280188800000,11.9398],[1280275200000,11.9635],[1280361600000,11.9569],[1280448000000,12.0107],[1280534400000,11.9852],[1280620800000,11.9852],[1280707200000,11.9852],[1280793600000,12.0177],[1280880000000,12.1019],[1280966400000,12.0981],[1281052800000,12.0835],[1281139200000,12.0646],[1281225600000,null],[1281312000000,12.0646],[1281398400000,12.1097],[1281484800000,12.0523],[1281571200000,12.0186],[1281657600000,11.9471],[1281744000000,11.9301],[1281830400000,11.9301],[1281916800000,11.9301],[1282003200000,11.9345],[1282089600000,11.9626],[1282176000000,11.9681],[1282262400000,11.9491],[1282348800000,11.8985],[1282435200000,null],[1282521600000,null],[1282608000000,11.898],[1282694400000,11.898],[1282780800000,11.893],[1282867200000,11.9204],[1282953600000,11.9163],[1283040000000,11.9163],[1283126400000,11.9163],[1283212800000,11.9149],[1283299200000,11.9003],[1283385600000,11.9453],[1283472000000,11.9673],[1283558400000,11.983],[1283644800000,11.983],[1283731200000,11.983],[1283817600000,11.983],[1283904000000,11.9647],[1283990400000,11.9579],[1284076800000,11.964],[1284163200000,11.9614],[1284249600000,11.9614],[1284336000000,11.9614],[1284422400000,11.9829],[1284508800000,12.0229],[1284595200000,12.0336],[1284681600000,12.0751],[1284768000000,12.0732],[1284854400000,12.0732],[1284940800000,12.0732],[1285027200000,12.0748],[1285113600000,12.0829],[1285200000000,12.1913],[1285286400000,12.1765],[1285372800000,12.1949],[1285459200000,12.1949],[1285545600000,12.1949],[1285632000000,12.2311],[1285718400000,12.23],[1285804800000,12.2839],[1285891200000,12.3094],[1285977600000,12.3294],[1286064000000,12.3294],[1286150400000,12.3294],[1286236800000,12.3161],[1286323200000,12.3441],[1286409600000,12.3717],[1286496000000,12.4337],[1286582400000,12.4008],[1286668800000,12.4008],[1286755200000,12.4008],[1286841600000,12.4008],[1286928000000,12.3843],[1287014400000,12.4427],[1287100800000,12.4935],[1287187200000,12.5013],[1287273600000,12.5013],[1287360000000,12.5013],[1287446400000,12.4391],[1287532800000,12.4341],[1287619200000,12.4038],[1287705600000,12.4731],[1287792000000,12.4264],[1287878400000,12.4264],[1287964800000,12.4264],[1288051200000,12.4834],[1288137600000,12.454],[1288224000000,12.4019],[1288310400000,12.4177],[1288396800000,12.4344],[1288483200000,12.4344],[1288569600000,12.4344],[1288656000000,12.4895],[1288742400000,12.489],[1288828800000,12.5245],[1288915200000,12.5822],[1289001600000,12.5443],[1289088000000,12.5443],[1289174400000,12.5443],[1289260800000,12.4654],[1289347200000,12.4845],[1289433600000,12.3838],[1289520000000,12.3827],[1289606400000,12.3898],[1289692800000,12.3898],[1289779200000,12.3898],[1289865600000,12.3518],[1289952000000,12.3393],[1290038400000,12.2918],[1290124800000,12.3574],[1290211200000,12.3847],[1290297600000,12.3847],[1290384000000,12.3847],[1290470400000,12.3714],[1290556800000,12.3196],[1290643200000,12.2355],[1290729600000,12.2355],[1290816000000,12.2344],[1290902400000,12.2344],[1290988800000,12.2344],[1291075200000,12.1559],[1291161600000,12.1116],[1291248000000,12.1448],[1291334400000,12.1567],[1291420800000,12.2038],[1291507200000,12.2038],[1291593600000,12.2038],[1291680000000,12.2502],[1291766400000,12.2882],[1291852800000,12.2153],[1291939200000,12.2023],[1292025600000,12.2346],[1292112000000,12.2346],[1292198400000,12.2346],[1292284800000,12.2314],[1292371200000,12.3341],[1292457600000,12.2561],[1292544000000,12.2206],[1292630400000,12.2297],[1292716800000,12.2297],[1292803200000,12.2297],[1292889600000,12.1986],[1292976000000,12.1919],[1293062400000,12.1895],[1293148800000,12.1795],[1293235200000,12.1765],[1293321600000,12.1765],[1293408000000,12.1765],[1293494400000,12.1759],[1293580800000,12.1947],[1293667200000,12.2035]], 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, 12.516066],[1263513600000, 12.516066],[1266192000000, 12.297220],[1268611200000, 12.170052],[1271289600000, 12.030462],[1273881600000, 11.756540],[1276560000000, 11.620833],[1279152000000, 11.874217],[1281830400000, 11.975181],[1284508800000, 12.056841],[1287100800000, 12.414380],[1289779200000, 12.385122],[1292371200000, 12.210969]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });