$(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: [[1231200000000,5.00461],[1231286400000,5.06795],[1231372800000,5.06795],[1231459200000,4.93834],[1231545600000,4.96732],[1231632000000,4.96732],[1231718400000,4.96732],[1231804800000,4.88462],[1231891200000,4.80937],[1231977600000,4.81063],[1232064000000,4.75324],[1232150400000,4.78972],[1232236800000,null],[1232323200000,4.78972],[1232409600000,4.66287],[1232496000000,4.59675],[1232582400000,4.63328],[1232668800000,4.66005],[1232755200000,4.59672],[1232841600000,4.59672],[1232928000000,4.59672],[1233014400000,4.68909],[1233100800000,4.74528],[1233187200000,4.76934],[1233273600000,4.75551],[1233360000000,4.66146],[1233446400000,4.66146],[1233532800000,4.66146],[1233619200000,4.63562],[1233705600000,4.68054],[1233792000000,4.68343],[1233878400000,4.69681],[1233964800000,4.71635],[1234051200000,4.71635],[1234137600000,4.71635],[1234224000000,4.77506],[1234310400000,4.75683],[1234396800000,4.69431],[1234483200000,4.65029],[1234569600000,null],[1234656000000,null],[1234742400000,4.67284],[1234828800000,4.62587],[1234915200000,4.58682],[1235001600000,4.54537],[1235088000000,4.57977],[1235174400000,4.49158],[1235260800000,4.49158],[1235347200000,4.49158],[1235433600000,4.57241],[1235520000000,4.53403],[1235606400000,4.56013],[1235692800000,4.56077],[1235779200000,4.51613],[1235865600000,4.51613],[1235952000000,4.51613],[1236038400000,4.45886],[1236124800000,4.45535],[1236211200000,4.45336],[1236297600000,4.37833],[1236384000000,4.30316],[1236470400000,4.30316],[1236556800000,4.30316],[1236643200000,4.30316],[1236729600000,null],[1236816000000,4.4468],[1236902400000,4.41669],[1236988800000,4.51019],[1237075200000,4.51019],[1237161600000,4.51019],[1237248000000,4.55084],[1237334400000,4.50696],[1237420800000,4.50158],[1237507200000,4.56748],[1237593600000,4.56135],[1237680000000,4.56135],[1237766400000,4.56135],[1237852800000,4.60424],[1237939200000,4.63992],[1238025600000,4.63174],[1238112000000,4.64629],[1238198400000,4.60676],[1238284800000,4.60676],[1238371200000,4.60676],[1238457600000,4.54483],[1238544000000,4.61334],[1238630400000,4.6825],[1238716800000,4.75968],[1238803200000,4.81991],[1238889600000,4.81991],[1238976000000,4.81991],[1239062400000,4.89492],[1239148800000,4.77378],[1239235200000,4.81855],[1239321600000,4.89005],[1239408000000,4.89005],[1239494400000,4.89005],[1239580800000,4.89005],[1239667200000,4.89005],[1239753600000,4.90148],[1239840000000,4.79312],[1239926400000,4.80104],[1240012800000,4.77611],[1240099200000,4.77611],[1240185600000,4.77611],[1240272000000,4.77611],[1240358400000,4.62909],[1240444800000,4.6773],[1240531200000,4.70656],[1240617600000,4.76952],[1240704000000,4.76952],[1240790400000,4.76952],[1240876800000,4.7325],[1240963200000,4.6984],[1241049600000,4.82241],[1241136000000,4.83412],[1241222400000,4.83412],[1241308800000,null],[1241395200000,4.83412],[1241481600000,4.83412],[1241568000000,4.9337],[1241654400000,4.90107],[1241740800000,5.00478],[1241827200000,4.94514],[1241913600000,4.94514],[1242000000000,4.94514],[1242086400000,4.94514],[1242172800000,4.90656],[1242259200000,4.88746],[1242345600000,4.82467],[1242432000000,4.84896],[1242518400000,4.84896],[1242604800000,4.84896],[1242691200000,4.90173],[1242777600000,4.95791],[1242864000000,4.96592],[1242950400000,4.95354],[1243036800000,4.95671],[1243123200000,4.95671],[1243209600000,4.95671],[1243296000000,4.92328],[1243382400000,4.88116],[1243468800000,4.84855],[1243555200000,4.84804],[1243641600000,4.94114],[1243728000000,4.94114],[1243814400000,4.94114],[1243900800000,4.98279],[1243987200000,4.97601],[1244073600000,4.97127],[1244160000000,4.92529],[1244246400000,4.94247],[1244332800000,4.94247],[1244419200000,4.94247],[1244505600000,4.94247],[1244592000000,4.90531],[1244678400000,4.9459],[1244764800000,4.92168],[1244851200000,4.95031],[1244937600000,4.95031],[1245024000000,4.95031],[1245110400000,4.91734],[1245196800000,4.93223],[1245283200000,4.88746],[1245369600000,4.85905],[1245456000000,4.9033],[1245542400000,4.9033],[1245628800000,4.9033],[1245715200000,4.87085],[1245801600000,4.84816],[1245888000000,4.89945],[1245974400000,4.90255],[1246060800000,4.96913],[1246147200000,4.96913],[1246233600000,4.96913],[1246320000000,4.96913],[1246406400000,4.99634],[1246492800000,4.99496],[1246579200000,4.99381],[1246665600000,4.98122],[1246752000000,4.98122],[1246838400000,4.98122],[1246924800000,4.92763],[1247011200000,4.95369],[1247097600000,4.90164],[1247184000000,4.93121],[1247270400000,4.89863],[1247356800000,4.89863],[1247443200000,4.89863],[1247529600000,4.90996],[1247616000000,4.95362],[1247702400000,4.97177],[1247788800000,5.00511],[1247875200000,5.00858],[1247961600000,5.00858],[1248048000000,5.00858],[1248134400000,5.07234],[1248220800000,5.10084],[1248307200000,5.1183],[1248393600000,5.1481],[1248480000000,5.16899],[1248566400000,5.16899],[1248652800000,5.16899],[1248739200000,5.19601],[1248825600000,5.21258],[1248912000000,5.17763],[1248998400000,5.18575],[1249084800000,5.21561],[1249171200000,5.21561],[1249257600000,5.21561],[1249344000000,5.24623],[1249430400000,5.23876],[1249516800000,5.26724],[1249603200000,5.21302],[1249689600000,5.19265],[1249776000000,5.19265],[1249862400000,5.19265],[1249948800000,5.23185],[1250035200000,5.15809],[1250121600000,5.15669],[1250208000000,5.26009],[1250294400000,5.24697],[1250380800000,5.24697],[1250467200000,5.24697],[1250553600000,5.17571],[1250640000000,5.22826],[1250726400000,5.20324],[1250812800000,5.28459],[1250899200000,5.33578],[1250985600000,5.33578],[1251072000000,5.33578],[1251158400000,5.33578],[1251244800000,5.34243],[1251331200000,5.30938],[1251417600000,5.31879],[1251504000000,5.32946],[1251590400000,5.32946],[1251676800000,5.32946],[1251763200000,5.30815],[1251849600000,5.29853],[1251936000000,5.2783],[1252022400000,5.31185],[1252108800000,5.32328],[1252195200000,5.32328],[1252281600000,5.32328],[1252368000000,5.36017],[1252454400000,5.37803],[1252540800000,5.36027],[1252627200000,5.30661],[1252713600000,5.33794],[1252800000000,5.33794],[1252886400000,5.33794],[1252972800000,5.32846],[1253059200000,5.36933],[1253145600000,5.41275],[1253232000000,5.44072],[1253318400000,5.42785],[1253404800000,5.42785],[1253491200000,5.42785],[1253577600000,5.3652],[1253664000000,5.40812],[1253750400000,5.40033],[1253836800000,5.40917],[1253923200000,5.39326],[1254009600000,5.39326],[1254096000000,5.39326],[1254182400000,5.36613],[1254268800000,5.37535],[1254355200000,5.39259],[1254441600000,5.35369],[1254528000000,5.33988],[1254614400000,5.33988],[1254700800000,5.33988],[1254787200000,5.39016],[1254873600000,5.45562],[1254960000000,5.44273],[1255046400000,5.47969],[1255132800000,5.46574],[1255219200000,5.46574],[1255305600000,5.46574],[1255392000000,5.47662],[1255478400000,5.49419],[1255564800000,5.52391],[1255651200000,5.51184],[1255737600000,5.44404],[1255824000000,5.44404],[1255910400000,5.44404],[1255996800000,5.46676],[1256083200000,5.49104],[1256169600000,5.45005],[1256256000000,5.44805],[1256342400000,5.44782],[1256428800000,5.44782],[1256515200000,5.44782],[1256601600000,5.41168],[1256688000000,5.36799],[1256774400000,5.33539],[1256860800000,5.34224],[1256947200000,5.35036],[1257033600000,5.35036],[1257120000000,5.35036],[1257206400000,5.32749],[1257292800000,5.31135],[1257379200000,5.35469],[1257465600000,5.38394],[1257552000000,5.38519],[1257638400000,5.38519],[1257724800000,5.38519],[1257811200000,5.41505],[1257897600000,5.40785],[1257984000000,5.43817],[1258070400000,5.40378],[1258156800000,5.39648],[1258243200000,5.39648],[1258329600000,5.39648],[1258416000000,5.41462],[1258502400000,5.39028],[1258588800000,5.39593],[1258675200000,5.35779],[1258761600000,5.33303],[1258848000000,5.33303],[1258934400000,5.33303],[1259020800000,5.33832],[1259107200000,5.33701],[1259193600000,5.36878],[1259280000000,5.27621],[1259366400000,5.21503],[1259452800000,5.21503],[1259539200000,5.21503],[1259625600000,5.22196],[1259712000000,5.31415],[1259798400000,5.33006],[1259884800000,5.39012],[1259971200000,5.38678],[1260057600000,5.38678],[1260144000000,5.38678],[1260230400000,5.33409],[1260316800000,5.30409],[1260403200000,5.31929],[1260489600000,5.34247],[1260576000000,5.34056],[1260662400000,5.34056],[1260748800000,5.34056],[1260835200000,5.30772],[1260921600000,5.27184],[1261008000000,5.28323],[1261094400000,5.24591],[1261180800000,5.23915],[1261267200000,5.23915],[1261353600000,5.23915],[1261440000000,5.23081],[1261526400000,5.22017],[1261612800000,5.22178],[1261699200000,5.26194],[1261785600000,5.26161],[1261872000000,5.26161],[1261958400000,5.26161],[1262044800000,5.26867],[1262131200000,5.28584]], 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, 4.791276],[1231977600000, 4.791276],[1234656000000, 4.625913],[1237075200000, 4.502770],[1239753600000, 4.787588],[1242345600000, 4.905158],[1245024000000, 4.929790],[1247616000000, 5.029791],[1250294400000, 5.255858],[1252972800000, 5.364149],[1255564800000, 5.428293],[1258243200000, 5.353704],[1260835200000, 5.294093]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });