$(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: [[1168041600000,3.95725],[1168128000000,3.95725],[1168214400000,3.95725],[1168300800000,3.95725],[1168387200000,3.94248],[1168473600000,3.93599],[1168560000000,3.95639],[1168646400000,3.93554],[1168732800000,3.93554],[1168819200000,3.93554],[1168905600000,3.96001],[1168992000000,3.96176],[1169078400000,3.96801],[1169164800000,3.97346],[1169251200000,3.97726],[1169337600000,3.97726],[1169424000000,3.97726],[1169510400000,3.98772],[1169596800000,4.00657],[1169683200000,3.94897],[1169769600000,3.93887],[1169856000000,3.90494],[1169942400000,3.90494],[1170028800000,3.90494],[1170115200000,3.90071],[1170201600000,3.90164],[1170288000000,3.89716],[1170374400000,3.91795],[1170460800000,3.90886],[1170547200000,3.90886],[1170633600000,3.90886],[1170720000000,3.91244],[1170806400000,3.92364],[1170892800000,3.92838],[1170979200000,3.93572],[1171065600000,3.92128],[1171152000000,3.92128],[1171238400000,3.92128],[1171324800000,3.9073],[1171411200000,3.91179],[1171497600000,3.9479],[1171584000000,3.96758],[1171670400000,3.96593],[1171756800000,3.96593],[1171843200000,3.96593],[1171929600000,3.96678],[1172016000000,3.97284],[1172102400000,3.98932],[1172188800000,3.98467],[1172275200000,3.98838],[1172361600000,null],[1172448000000,3.98838],[1172534400000,4.00012],[1172620800000,4.00189],[1172707200000,3.9804],[1172793600000,3.97206],[1172880000000,3.95532],[1172966400000,3.95532],[1173052800000,3.95532],[1173139200000,3.91011],[1173225600000,3.90272],[1173312000000,3.93263],[1173398400000,3.93263],[1173484800000,3.93263],[1173571200000,3.93263],[1173657600000,3.93263],[1173744000000,3.94688],[1173830400000,3.97492],[1173916800000,3.9538],[1174003200000,3.97804],[1174089600000,4.01571],[1174176000000,4.01571],[1174262400000,4.01571],[1174348800000,4.03897],[1174435200000,4.04],[1174521600000,4.04639],[1174608000000,4.07584],[1174694400000,4.07418],[1174780800000,4.07418],[1174867200000,4.07418],[1174953600000,4.07075],[1175040000000,4.08747],[1175126400000,4.07739],[1175212800000,4.08504],[1175299200000,4.08007],[1175385600000,4.08007],[1175472000000,4.08007],[1175558400000,4.12304],[1175644800000,4.11103],[1175731200000,4.10818],[1175817600000,4.13025],[1175904000000,4.13025],[1175990400000,4.13025],[1176076800000,4.13025],[1176163200000,4.13025],[1176249600000,4.16393],[1176336000000,4.16657],[1176422400000,4.17127],[1176508800000,4.20559],[1176595200000,4.20559],[1176681600000,4.20559],[1176768000000,4.21118],[1176854400000,4.2197],[1176940800000,4.20869],[1177027200000,4.20452],[1177113600000,4.21794],[1177200000000,4.21794],[1177286400000,4.21794],[1177372800000,4.20611],[1177459200000,4.17615],[1177545600000,4.20161],[1177632000000,4.18428],[1177718400000,4.19516],[1177804800000,4.19516],[1177891200000,4.19516],[1177977600000,4.19516],[1178064000000,4.19516],[1178150400000,4.19516],[1178236800000,4.16741],[1178323200000,4.13495],[1178409600000,4.13495],[1178496000000,4.13495],[1178582400000,4.17131],[1178668800000,4.18636],[1178755200000,4.18636],[1178841600000,4.20171],[1178928000000,4.19362],[1179014400000,4.19362],[1179100800000,4.19362],[1179187200000,4.20389],[1179273600000,4.1997],[1179360000000,4.19002],[1179446400000,4.15662],[1179532800000,4.14968],[1179619200000,4.14968],[1179705600000,4.14968],[1179792000000,4.13775],[1179878400000,4.15221],[1179964800000,4.17021],[1180051200000,4.15341],[1180137600000,4.1391],[1180224000000,4.1391],[1180310400000,4.1391],[1180396800000,4.1391],[1180483200000,4.14135],[1180569600000,4.1349],[1180656000000,4.1759],[1180742400000,4.18477],[1180828800000,4.18477],[1180915200000,4.18477],[1181001600000,4.2087],[1181088000000,4.23872],[1181174400000,4.25096],[1181260800000,4.27122],[1181347200000,4.24779],[1181433600000,4.24779],[1181520000000,4.24779],[1181606400000,null],[1181692800000,4.25322],[1181779200000,4.23901],[1181865600000,null],[1181952000000,null],[1182038400000,4.22282],[1182124800000,4.22282],[1182211200000,4.24896],[1182297600000,4.26336],[1182384000000,null],[1182470400000,4.27681],[1182556800000,4.28327],[1182643200000,4.28327],[1182729600000,4.28327],[1182816000000,4.28884],[1182902400000,4.28879],[1182988800000,4.25067],[1183075200000,4.25067],[1183161600000,4.25067],[1183248000000,4.25067],[1183334400000,4.25067],[1183420800000,4.32684],[1183507200000,4.31927],[1183593600000,4.33202],[1183680000000,4.34477],[1183766400000,4.32503],[1183852800000,4.32503],[1183939200000,4.32503],[1184025600000,4.34475],[1184112000000,4.34702],[1184198400000,4.35085],[1184284800000,4.36083],[1184371200000,4.38309],[1184457600000,4.38309],[1184544000000,4.38309],[1184630400000,4.41195],[1184716800000,4.41406],[1184803200000,4.43153],[1184889600000,4.43907],[1184976000000,4.44662],[1185062400000,4.44662],[1185148800000,4.44662],[1185235200000,4.46124],[1185321600000,4.46911],[1185408000000,4.46718],[1185494400000,4.45319],[1185580800000,4.35239],[1185667200000,4.35239],[1185753600000,4.35239],[1185840000000,null],[1185926400000,4.33956],[1186012800000,4.29922],[1186099200000,4.32351],[1186185600000,4.32622],[1186272000000,4.32622],[1186358400000,4.32622],[1186444800000,4.32616],[1186531200000,4.3157],[1186617600000,4.34314],[1186704000000,4.31756],[1186790400000,4.25011],[1186876800000,4.25011],[1186963200000,4.25011],[1187049600000,4.25988],[1187136000000,4.24089],[1187222400000,4.15444],[1187308800000,3.96528],[1187395200000,3.94717],[1187481600000,3.94717],[1187568000000,3.94717],[1187654400000,4.05299],[1187740800000,4.05561],[1187827200000,4.06755],[1187913600000,4.14091],[1188000000000,4.14091],[1188086400000,4.14091],[1188172800000,4.14091],[1188259200000,4.19926],[1188345600000,4.16887],[1188432000000,4.11874],[1188518400000,4.12127],[1188604800000,4.14631],[1188691200000,4.14631],[1188777600000,4.14631],[1188864000000,4.14908],[1188950400000,4.16488],[1189036800000,4.14544],[1189123200000,4.16562],[1189209600000,4.17561],[1189296000000,4.17561],[1189382400000,4.17561],[1189468800000,4.15735],[1189555200000,4.17656],[1189641600000,4.22075],[1189728000000,4.23663],[1189814400000,4.24226],[1189900800000,4.24226],[1189987200000,4.24226],[1190073600000,4.23949],[1190160000000,4.2201],[1190246400000,4.30144],[1190332800000,4.36063],[1190419200000,4.34621],[1190505600000,4.34621],[1190592000000,4.34621],[1190678400000,4.38616],[1190764800000,4.35983],[1190851200000,null],[1190937600000,null],[1191024000000,4.45492],[1191110400000,4.45492],[1191196800000,4.45492],[1191283200000,4.48581],[1191369600000,4.47867],[1191456000000,4.49153],[1191542400000,4.46907],[1191628800000,4.50504],[1191715200000,4.50504],[1191801600000,4.50504],[1191888000000,4.53759],[1191974400000,4.51796],[1192060800000,4.53369],[1192147200000,4.56109],[1192233600000,4.55303],[1192320000000,4.55303],[1192406400000,4.55303],[1192492800000,4.58026],[1192579200000,4.486],[1192665600000,4.50978],[1192752000000,4.49794],[1192838400000,4.5289],[1192924800000,4.5289],[1193011200000,4.5289],[1193097600000,4.43786],[1193184000000,4.51359],[1193270400000,4.53872],[1193356800000,4.56969],[1193443200000,4.6167],[1193529600000,4.6167],[1193616000000,4.6167],[1193702400000,4.64315],[1193788800000,4.63764],[1193875200000,4.65943],[1193961600000,4.66122],[1194048000000,4.65845],[1194134400000,4.65845],[1194220800000,4.65845],[1194307200000,4.64094],[1194393600000,4.68062],[1194480000000,4.73452],[1194566400000,4.6926],[1194652800000,4.63635],[1194739200000,4.63635],[1194825600000,4.63635],[1194912000000,4.45773],[1194998400000,4.52715],[1195084800000,4.55206],[1195171200000,4.50088],[1195257600000,4.51171],[1195344000000,4.51171],[1195430400000,4.51171],[1195516800000,4.497],[1195603200000,4.48245],[1195689600000,4.41309],[1195776000000,4.40224],[1195862400000,4.40744],[1195948800000,4.40744],[1196035200000,4.40744],[1196121600000,4.45174],[1196208000000,4.40705],[1196294400000,4.45435],[1196380800000,4.45217],[1196467200000,4.47894],[1196553600000,4.47894],[1196640000000,4.47894],[1196726400000,4.45842],[1196812800000,4.41976],[1196899200000,4.3856],[1196985600000,4.39422],[1197072000000,4.42661],[1197158400000,4.42661],[1197244800000,4.42661],[1197331200000,4.44879],[1197417600000,4.4702],[1197504000000,4.45258],[1197590400000,4.4337],[1197676800000,4.3864],[1197763200000,4.3864],[1197849600000,4.3864],[1197936000000,4.33524],[1198022400000,4.35855],[1198108800000,4.34371],[1198195200000,4.33388],[1198281600000,4.37122],[1198368000000,4.37122],[1198454400000,4.37122],[1198540800000,4.39946],[1198627200000,4.39946],[1198713600000,4.39946],[1198800000000,4.40964],[1198886400000,4.43456]], 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: [[1168819200000, 3.948647],[1168819200000, 3.948647],[1171497600000, 3.945572],[1173916800000, 4.000634],[1176595200000, 4.170791],[1179187200000, 4.165477],[1181865600000, 4.244216],[1184457600000, 4.376547],[1187136000000, 4.187220],[1189814400000, 4.247320],[1192406400000, 4.534063],[1195084800000, 4.543636],[1197676800000, 4.409198]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });