$(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: 'Курс AUD, грн'}, 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: 'Курс AUD', data: [[1231200000000,5.45007],[1231286400000,5.48173],[1231372800000,5.48173],[1231459200000,5.41669],[1231545600000,5.43941],[1231632000000,5.43941],[1231718400000,5.43941],[1231804800000,5.29489],[1231891200000,5.13824],[1231977600000,5.13087],[1232064000000,5.08399],[1232150400000,5.21029],[1232236800000,null],[1232323200000,5.21029],[1232409600000,5.17126],[1232496000000,5.06363],[1232582400000,4.98606],[1232668800000,5.04959],[1232755200000,4.9668],[1232841600000,4.9668],[1232928000000,4.9668],[1233014400000,5.05856],[1233100800000,5.10158],[1233187200000,5.15276],[1233273600000,5.06242],[1233360000000,4.90595],[1233446400000,4.90595],[1233532800000,4.90595],[1233619200000,4.83571],[1233705600000,4.91907],[1233792000000,4.93345],[1233878400000,4.99612],[1233964800000,5.07699],[1234051200000,5.07699],[1234137600000,5.07699],[1234224000000,5.20131],[1234310400000,5.1467],[1234396800000,5.04546],[1234483200000,4.97954],[1234569600000,null],[1234656000000,null],[1234742400000,5.08849],[1234828800000,5.0092],[1234915200000,4.92566],[1235001600000,4.91682],[1235088000000,4.99201],[1235174400000,4.90989],[1235260800000,4.90989],[1235347200000,4.90989],[1235433600000,4.97801],[1235520000000,4.96414],[1235606400000,5.0049],[1235692800000,5.02406],[1235779200000,4.89462],[1235865600000,4.89462],[1235952000000,4.89462],[1236038400000,4.88143],[1236124800000,4.95109],[1236211200000,4.93988],[1236297600000,4.93912],[1236384000000,4.92679],[1236470400000,4.92679],[1236556800000,4.92679],[1236643200000,4.92679],[1236729600000,null],[1236816000000,5.00851],[1236902400000,4.97455],[1236988800000,5.07319],[1237075200000,5.07319],[1237161600000,5.07319],[1237248000000,5.10307],[1237334400000,5.07814],[1237420800000,5.09582],[1237507200000,5.3243],[1237593600000,5.29984],[1237680000000,5.29984],[1237766400000,5.29984],[1237852800000,5.36054],[1237939200000,5.37738],[1238025600000,5.38083],[1238112000000,5.41495],[1238198400000,5.32353],[1238284800000,5.32353],[1238371200000,5.32353],[1238457600000,5.24018],[1238544000000,5.33262],[1238630400000,5.34533],[1238716800000,5.4859],[1238803200000,5.49474],[1238889600000,5.49474],[1238976000000,5.49474],[1239062400000,5.48271],[1239148800000,5.45357],[1239235200000,5.46442],[1239321600000,5.49621],[1239408000000,5.49621],[1239494400000,5.49621],[1239580800000,5.49621],[1239667200000,5.49621],[1239753600000,5.6103],[1239840000000,5.52703],[1239926400000,5.54787],[1240012800000,5.5474],[1240099200000,5.5474],[1240185600000,5.5474],[1240272000000,5.5474],[1240358400000,5.37989],[1240444800000,5.42689],[1240531200000,5.48978],[1240617600000,5.5367],[1240704000000,5.5367],[1240790400000,5.5367],[1240876800000,5.49342],[1240963200000,5.40427],[1241049600000,5.54129],[1241136000000,5.63306],[1241222400000,5.63306],[1241308800000,null],[1241395200000,5.63306],[1241481600000,5.63306],[1241568000000,5.73414],[1241654400000,5.72525],[1241740800000,5.86115],[1241827200000,5.8198],[1241913600000,5.8198],[1242000000000,5.8198],[1242086400000,5.8198],[1242172800000,5.86573],[1242259200000,5.80876],[1242345600000,5.70784],[1242432000000,5.74847],[1242518400000,5.74847],[1242604800000,5.74847],[1242691200000,5.78551],[1242777600000,5.90641],[1242864000000,5.90566],[1242950400000,5.87209],[1243036800000,5.9674],[1243123200000,5.9674],[1243209600000,5.9674],[1243296000000,5.95277],[1243382400000,5.90367],[1243468800000,5.95914],[1243555200000,5.94638],[1243641600000,6.07807],[1243728000000,6.07807],[1243814400000,6.07807],[1243900800000,6.16575],[1243987200000,6.21295],[1244073600000,6.20853],[1244160000000,6.05079],[1244246400000,6.12938],[1244332800000,6.12938],[1244419200000,6.12938],[1244505600000,6.12938],[1244592000000,6.04572],[1244678400000,6.17221],[1244764800000,6.17748],[1244851200000,6.17734],[1244937600000,6.17734],[1245024000000,6.17734],[1245110400000,6.09881],[1245196800000,6.10265],[1245283200000,6.01591],[1245369600000,6.04942],[1245456000000,6.13998],[1245542400000,6.13998],[1245628800000,6.13998],[1245715200000,6.05416],[1245801600000,5.99571],[1245888000000,6.08847],[1245974400000,6.08082],[1246060800000,6.16124],[1246147200000,6.16124],[1246233600000,6.16124],[1246320000000,6.16124],[1246406400000,6.22103],[1246492800000,6.15879],[1246579200000,6.12336],[1246665600000,6.09597],[1246752000000,6.09597],[1246838400000,6.09597],[1246924800000,6.02903],[1247011200000,6.11788],[1247097600000,5.97858],[1247184000000,5.98045],[1247270400000,5.90785],[1247356800000,5.90785],[1247443200000,5.90785],[1247529600000,5.91621],[1247616000000,6.03205],[1247702400000,6.12584],[1247788800000,6.14039],[1247875200000,6.11825],[1247961600000,6.11825],[1248048000000,6.11825],[1248134400000,6.22122],[1248220800000,6.24807],[1248307200000,6.23022],[1248393600000,6.27514],[1248480000000,6.26346],[1248566400000,6.26346],[1248652800000,6.26346],[1248739200000,6.33258],[1248825600000,6.38478],[1248912000000,6.30667],[1248998400000,6.34785],[1249084800000,6.38042],[1249171200000,6.38042],[1249257600000,6.38042],[1249344000000,6.45946],[1249430400000,6.4554],[1249516800000,6.48197],[1249603200000,6.48153],[1249689600000,6.44505],[1249776000000,6.44505],[1249862400000,6.44505],[1249948800000,6.48105],[1250035200000,6.45332],[1250121600000,6.37563],[1250208000000,6.54164],[1250294400000,6.55445],[1250380800000,6.55445],[1250467200000,6.55445],[1250553600000,6.38302],[1250640000000,6.45041],[1250726400000,6.42444],[1250812800000,6.5579],[1250899200000,6.61628],[1250985600000,6.61628],[1251072000000,6.61628],[1251158400000,6.61628],[1251244800000,6.68854],[1251331200000,6.64237],[1251417600000,6.66552],[1251504000000,6.75222],[1251590400000,6.75222],[1251676800000,6.75222],[1251763200000,6.67285],[1251849600000,6.68143],[1251936000000,6.6355],[1252022400000,6.71861],[1252108800000,6.74104],[1252195200000,6.74104],[1252281600000,6.74104],[1252368000000,6.84072],[1252454400000,6.90165],[1252540800000,6.89614],[1252627200000,6.85403],[1252713600000,6.90289],[1252800000000,6.90289],[1252886400000,6.90289],[1252972800000,6.86452],[1253059200000,6.87371],[1253145600000,6.97201],[1253232000000,6.98521],[1253318400000,6.95261],[1253404800000,6.95261],[1253491200000,6.95261],[1253577600000,6.89685],[1253664000000,6.99329],[1253750400000,7.00133],[1253836800000,7.005],[1253923200000,6.92896],[1254009600000,6.92896],[1254096000000,6.92896],[1254182400000,6.94112],[1254268800000,6.98247],[1254355200000,7.0621],[1254441600000,7.0405],[1254528000000,6.91539],[1254614400000,6.91539],[1254700800000,6.91539],[1254787200000,7.00498],[1254873600000,7.11495],[1254960000000,7.12808],[1255046400000,7.23428],[1255132800000,7.25365],[1255219200000,7.25365],[1255305600000,7.25365],[1255392000000,7.26058],[1255478400000,7.28255],[1255564800000,7.2901],[1255651200000,7.31557],[1255737600000,7.30931],[1255824000000,7.30931],[1255910400000,7.30931],[1255996800000,7.33657],[1256083200000,7.41074],[1256169600000,7.37333],[1256256000000,7.39606],[1256342400000,7.39944],[1256428800000,7.39944],[1256515200000,7.39944],[1256601600000,7.3915],[1256688000000,7.35262],[1256774400000,7.25132],[1256860800000,7.26862],[1256947200000,7.26904],[1257033600000,7.26904],[1257120000000,7.26904],[1257206400000,7.23713],[1257292800000,7.18251],[1257379200000,7.26832],[1257465600000,7.28158],[1257552000000,7.31703],[1257638400000,7.31703],[1257724800000,7.31703],[1257811200000,7.41755],[1257897600000,7.40653],[1257984000000,7.44888],[1258070400000,7.42876],[1258156800000,7.42147],[1258243200000,7.42147],[1258329600000,7.42147],[1258416000000,7.47436],[1258502400000,7.41782],[1258588800000,7.45787],[1258675200000,7.33375],[1258761600000,7.26252],[1258848000000,7.26252],[1258934400000,7.26252],[1259020800000,7.3769],[1259107200000,7.35833],[1259193600000,7.41794],[1259280000000,7.31818],[1259366400000,7.21264],[1259452800000,7.21264],[1259539200000,7.21264],[1259625600000,7.29399],[1259712000000,7.36345],[1259798400000,7.41463],[1259884800000,7.42251],[1259971200000,7.39916],[1260057600000,7.39916],[1260144000000,7.39916],[1260230400000,7.25582],[1260316800000,7.2606],[1260403200000,7.27066],[1260489600000,7.31872],[1260576000000,7.32783],[1260662400000,7.32783],[1260748800000,7.32783],[1260835200000,7.27346],[1260921600000,7.22447],[1261008000000,7.17264],[1261094400000,7.05858],[1261180800000,7.07266],[1261267200000,7.07266],[1261353600000,7.07266],[1261440000000,7.06391],[1261526400000,6.99855],[1261612800000,6.99147],[1261699200000,7.03906],[1261785600000,7.03862],[1261872000000,7.03862],[1261958400000,7.03862],[1262044800000,7.07285],[1262131200000,7.15722]], 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, 5.186769],[1231977600000, 5.186769],[1234656000000, 4.985686],[1237075200000, 5.121861],[1239753600000, 5.491676],[1242345600000, 5.834990],[1245024000000, 6.123730],[1247616000000, 6.139571],[1250294400000, 6.529152],[1252972800000, 6.876432],[1255564800000, 7.239255],[1258243200000, 7.333516],[1260835200000, 7.203448]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });