$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1262736000000,5.41812],[1262822400000,5.40877],[1262908800000,5.40877],[1262995200000,5.40877],[1263081600000,5.40877],[1263168000000,5.40877],[1263254400000,5.50171],[1263340800000,5.49349],[1263427200000,5.53162],[1263513600000,5.48124],[1263600000000,5.50284],[1263686400000,5.50284],[1263772800000,5.50284],[1263859200000,5.51305],[1263945600000,5.48252],[1264032000000,5.45617],[1264118400000,5.42173],[1264204800000,5.36996],[1264291200000,5.36996],[1264377600000,5.36996],[1264464000000,5.38369],[1264550400000,5.34323],[1264636800000,5.36084],[1264723200000,5.35979],[1264809600000,5.37268],[1264896000000,5.37268],[1264982400000,5.37268],[1265068800000,5.36487],[1265155200000,5.38135],[1265241600000,5.39457],[1265328000000,5.34327],[1265414400000,5.26983],[1265500800000,5.26983],[1265587200000,5.26983],[1265673600000,5.2516],[1265760000000,5.29846],[1265846400000,5.29351],[1265932800000,5.29344],[1266019200000,5.26747],[1266105600000,5.26747],[1266192000000,5.26747],[1266278400000,5.28277],[1266364800000,5.28959],[1266451200000,5.31506],[1266537600000,5.26011],[1266624000000,5.24471],[1266710400000,5.24471],[1266796800000,5.24471],[1266883200000,5.26453],[1266969600000,5.20314],[1267056000000,5.16464],[1267142400000,5.15828],[1267228800000,5.15913],[1267315200000,5.15913],[1267401600000,5.15913],[1267488000000,5.17576],[1267574400000,5.20275],[1267660800000,5.18964],[1267747200000,5.16705],[1267833600000,5.16337],[1267920000000,5.16337],[1268006400000,5.16337],[1268092800000,5.16337],[1268179200000,5.18039],[1268265600000,5.18991],[1268352000000,5.20231],[1268438400000,5.22491],[1268524800000,5.22491],[1268611200000,5.22491],[1268697600000,5.22515],[1268784000000,5.22652],[1268870400000,5.26958],[1268956800000,5.23431],[1269043200000,5.19083],[1269129600000,5.19083],[1269216000000,5.19083],[1269302400000,5.1309],[1269388800000,5.15158],[1269475200000,5.13498],[1269561600000,5.15583],[1269648000000,5.16005],[1269734400000,5.16005],[1269820800000,5.16005],[1269907200000,5.17212],[1269993600000,5.19093],[1270080000000,5.20774],[1270166400000,5.21136],[1270252800000,5.21136],[1270339200000,5.21136],[1270425600000,5.21136],[1270512000000,5.21136],[1270598400000,5.24444],[1270684800000,5.27515],[1270771200000,5.2673],[1270857600000,5.31265],[1270944000000,5.31265],[1271030400000,5.31265],[1271116800000,5.33129],[1271203200000,5.32537],[1271289600000,5.35247],[1271376000000,5.35664],[1271462400000,5.37238],[1271548800000,5.37238],[1271635200000,5.37238],[1271721600000,5.2984],[1271808000000,5.32719],[1271894400000,5.33923],[1271980800000,5.33412],[1272067200000,5.33828],[1272153600000,5.33828],[1272240000000,5.33828],[1272326400000,5.36857],[1272412800000,5.32561],[1272499200000,5.28593],[1272585600000,5.34061],[1272672000000,5.34157],[1272758400000,5.34157],[1272844800000,5.34157],[1272931200000,5.34157],[1273017600000,5.34157],[1273104000000,5.22464],[1273190400000,5.15552],[1273276800000,5.0707],[1273363200000,5.0707],[1273449600000,5.0707],[1273536000000,5.0707],[1273622400000,5.15563],[1273708800000,5.19574],[1273795200000,5.22048],[1273881600000,5.17214],[1273968000000,null],[1274054400000,5.17214],[1274140800000,5.14087],[1274227200000,5.16263],[1274313600000,5.00815],[1274400000000,4.98118],[1274486400000,4.99319],[1274572800000,4.99319],[1274659200000,4.99319],[1274745600000,4.99319],[1274832000000,4.97705],[1274918400000,5.02699],[1275004800000,5.04399],[1275091200000,5.08547],[1275177600000,5.08547],[1275264000000,5.08547],[1275350400000,5.03792],[1275436800000,4.99428],[1275523200000,5.01294],[1275609600000,5.03327],[1275696000000,4.96832],[1275782400000,4.96832],[1275868800000,4.96832],[1275955200000,4.95695],[1276041600000,4.94114],[1276128000000,4.95707],[1276214400000,4.96042],[1276300800000,5.01279],[1276387200000,5.01279],[1276473600000,5.01279],[1276560000000,5.0387],[1276646400000,5.02238],[1276732800000,5.03585],[1276819200000,5.06635],[1276905600000,5.07444],[1276992000000,5.07444],[1277078400000,5.07444],[1277164800000,5.09653],[1277251200000,5.05952],[1277337600000,5.04502],[1277424000000,4.99023],[1277510400000,5.0007],[1277596800000,5.0007],[1277683200000,5.0007],[1277769600000,5.0007],[1277856000000,4.99661],[1277942400000,5.00031],[1278028800000,4.98662],[1278115200000,5.02791],[1278201600000,5.02791],[1278288000000,5.02791],[1278374400000,5.05174],[1278460800000,5.07835],[1278547200000,5.06162],[1278633600000,5.0987],[1278720000000,5.08866],[1278806400000,5.08866],[1278892800000,5.08866],[1278979200000,5.074],[1279065600000,5.07681],[1279152000000,5.11806],[1279238400000,5.14605],[1279324800000,5.15886],[1279411200000,5.15886],[1279497600000,5.15886],[1279584000000,5.13193],[1279670400000,5.12281],[1279756800000,5.16796],[1279843200000,5.17975],[1279929600000,5.20175],[1280016000000,5.20175],[1280102400000,5.20175],[1280188800000,5.19503],[1280275200000,5.22233],[1280361600000,5.21981],[1280448000000,5.21834],[1280534400000,5.2188],[1280620800000,5.2188],[1280707200000,5.2188],[1280793600000,5.26402],[1280880000000,5.27957],[1280966400000,5.25808],[1281052800000,5.25661],[1281139200000,5.26813],[1281225600000,null],[1281312000000,5.26813],[1281398400000,5.2886],[1281484800000,5.26093],[1281571200000,5.21618],[1281657600000,5.17397],[1281744000000,5.20778],[1281830400000,5.20778],[1281916800000,5.20778],[1282003200000,5.21934],[1282089600000,5.26136],[1282176000000,5.26955],[1282262400000,5.25447],[1282348800000,5.20141],[1282435200000,null],[1282521600000,null],[1282608000000,5.20121],[1282694400000,5.20121],[1282780800000,5.15149],[1282867200000,5.17693],[1282953600000,5.17296],[1283040000000,5.17296],[1283126400000,5.17296],[1283212800000,5.19011],[1283299200000,5.162],[1283385600000,5.1805],[1283472000000,5.21771],[1283558400000,5.25059],[1283644800000,5.25059],[1283731200000,5.25059],[1283817600000,5.26287],[1283904000000,5.23081],[1283990400000,5.20639],[1284076800000,5.22895],[1284163200000,5.25109],[1284249600000,5.25109],[1284336000000,5.25109],[1284422400000,5.28245],[1284508800000,5.2736],[1284595200000,5.30274],[1284681600000,5.29783],[1284768000000,5.27516],[1284854400000,5.27516],[1284940800000,5.27516],[1285027200000,5.29269],[1285113600000,5.30237],[1285200000000,5.33186],[1285286400000,5.31028],[1285372800000,5.3307],[1285459200000,5.3307],[1285545600000,5.3307],[1285632000000,5.36578],[1285718400000,5.37144],[1285804800000,5.43527],[1285891200000,5.45066],[1285977600000,5.46793],[1286064000000,5.46793],[1286150400000,5.46793],[1286236800000,5.47031],[1286323200000,5.48034],[1286409600000,5.57759],[1286496000000,5.5744],[1286582400000,5.54757],[1286668800000,5.54757],[1286755200000,5.54757],[1286841600000,5.60124],[1286928000000,5.56578],[1287014400000,5.59785],[1287100800000,5.64325],[1287187200000,5.6255],[1287273600000,5.6255],[1287360000000,5.6255],[1287446400000,5.56712],[1287532800000,5.54472],[1287619200000,5.53544],[1287705600000,5.57035],[1287792000000,5.54096],[1287878400000,5.54096],[1287964800000,5.54096],[1288051200000,5.59373],[1288137600000,5.56311],[1288224000000,5.50589],[1288310400000,5.51769],[1288396800000,5.51228],[1288483200000,5.51228],[1288569600000,5.51228],[1288656000000,5.54861],[1288742400000,5.5978],[1288828800000,5.61446],[1288915200000,5.68891],[1289001600000,5.66589],[1289088000000,5.66589],[1289174400000,5.66589],[1289260800000,5.61524],[1289347200000,5.62171],[1289433600000,5.58912],[1289520000000,5.55341],[1289606400000,5.54149],[1289692800000,5.54149],[1289779200000,5.54149],[1289865600000,5.47962],[1289952000000,5.45532],[1290038400000,5.43437],[1290124800000,5.48568],[1290211200000,5.48598],[1290297600000,5.48598],[1290384000000,5.48598],[1290470400000,5.49375],[1290556800000,5.37787],[1290643200000,5.36038],[1290729600000,5.37901],[1290816000000,5.32704],[1290902400000,5.32704],[1290988800000,5.32704],[1291075200000,5.28503],[1291161600000,5.25213],[1291248000000,5.30887],[1291334400000,5.32912],[1291420800000,5.30963],[1291507200000,5.30963],[1291593600000,5.30963],[1291680000000,5.35914],[1291766400000,5.39021],[1291852800000,5.31839],[1291939200000,5.2844],[1292025600000,5.30714],[1292112000000,5.30714],[1292198400000,5.30714],[1292284800000,5.28361],[1292371200000,5.2973],[1292457600000,5.24668],[1292544000000,5.21292],[1292630400000,5.18364],[1292716800000,5.18364],[1292803200000,5.18364],[1292889600000,5.11461],[1292976000000,5.11548],[1293062400000,5.12982],[1293148800000,5.12438],[1293235200000,5.14011],[1293321600000,5.14011],[1293408000000,5.14011],[1293494400000,5.13741],[1293580800000,5.10828],[1293667200000,5.08918]], 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, 5.429030],[1263513600000, 5.429030],[1266192000000, 5.271292],[1268611200000, 5.185151],[1271289600000, 5.303559],[1273881600000, 5.128566],[1276560000000, 5.013821],[1279152000000, 5.122600],[1281830400000, 5.222898],[1284508800000, 5.279271],[1287100800000, 5.546127],[1289779200000, 5.505126],[1292371200000, 5.227327]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });