$(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: 'Курс RUB, грн'}, 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: 'Курс RUB', data: [[1168041600000,0.19179],[1168128000000,0.19179],[1168214400000,0.19179],[1168300800000,0.19179],[1168387200000,0.19095],[1168473600000,0.19064],[1168560000000,0.19034],[1168646400000,0.19001],[1168732800000,0.19001],[1168819200000,0.19001],[1168905600000,0.1901],[1168992000000,0.19022],[1169078400000,0.1901],[1169164800000,0.19032],[1169251200000,0.19051],[1169337600000,0.19051],[1169424000000,0.19051],[1169510400000,0.19041],[1169596800000,0.19039],[1169683200000,0.19065],[1169769600000,0.19055],[1169856000000,0.19015],[1169942400000,0.19015],[1170028800000,0.19015],[1170115200000,0.19003],[1170201600000,0.19033],[1170288000000,0.19022],[1170374400000,0.19065],[1170460800000,0.19071],[1170547200000,0.19071],[1170633600000,0.19071],[1170720000000,0.19036],[1170806400000,0.19018],[1170892800000,0.19054],[1170979200000,0.19133],[1171065600000,0.19167],[1171152000000,0.19167],[1171238400000,0.19167],[1171324800000,0.19171],[1171411200000,0.19146],[1171497600000,0.19197],[1171584000000,0.19252],[1171670400000,0.19249],[1171756800000,0.19249],[1171843200000,0.19249],[1171929600000,0.19265],[1172016000000,0.19277],[1172102400000,0.19277],[1172188800000,0.1924],[1172275200000,0.1924],[1172361600000,null],[1172448000000,0.1924],[1172534400000,0.19295],[1172620800000,0.19304],[1172707200000,0.19313],[1172793600000,0.19322],[1172880000000,0.19294],[1172966400000,0.19294],[1173052800000,0.19294],[1173139200000,0.19264],[1173225600000,0.19243],[1173312000000,0.19249],[1173398400000,0.19249],[1173484800000,0.19249],[1173571200000,0.19249],[1173657600000,0.19249],[1173744000000,0.19254],[1173830400000,0.19284],[1173916800000,0.19312],[1174003200000,0.19326],[1174089600000,0.19388],[1174176000000,0.19388],[1174262400000,0.19388],[1174348800000,0.19392],[1174435200000,0.19392],[1174521600000,0.19398],[1174608000000,0.19445],[1174694400000,0.19415],[1174780800000,0.19415],[1174867200000,0.19415],[1174953600000,0.19366],[1175040000000,0.1941],[1175126400000,0.19426],[1175212800000,0.19408],[1175299200000,0.19415],[1175385600000,0.19415],[1175472000000,0.19415],[1175558400000,0.19427],[1175644800000,0.19435],[1175731200000,0.19416],[1175817600000,0.19433],[1175904000000,0.19479],[1175990400000,0.19479],[1176076800000,0.19479],[1176163200000,0.19479],[1176249600000,0.19482],[1176336000000,0.19484],[1176422400000,0.19525],[1176508800000,0.19552],[1176595200000,0.19552],[1176681600000,0.19552],[1176768000000,0.19576],[1176854400000,0.19574],[1176940800000,0.19614],[1177027200000,0.196],[1177113600000,0.19631],[1177200000000,0.19631],[1177286400000,0.19631],[1177372800000,0.19603],[1177459200000,0.19592],[1177545600000,0.19654],[1177632000000,0.19655],[1177718400000,0.19616],[1177804800000,0.19616],[1177891200000,0.19616],[1177977600000,0.19616],[1178064000000,0.19616],[1178150400000,0.19616],[1178236800000,0.19628],[1178323200000,0.19597],[1178409600000,0.19597],[1178496000000,0.19597],[1178582400000,0.19623],[1178668800000,0.19624],[1178755200000,0.19624],[1178841600000,0.19591],[1178928000000,0.19529],[1179014400000,0.19529],[1179100800000,0.19529],[1179187200000,0.19569],[1179273600000,0.19579],[1179360000000,0.19621],[1179446400000,0.19568],[1179532800000,0.19536],[1179619200000,0.19536],[1179705600000,0.19536],[1179792000000,0.19544],[1179878400000,0.19511],[1179964800000,0.19501],[1180051200000,0.19498],[1180137600000,0.19487],[1180224000000,0.19487],[1180310400000,0.19487],[1180396800000,0.19487],[1180483200000,0.19496],[1180569600000,0.19496],[1180656000000,0.19495],[1180742400000,0.19499],[1180828800000,0.19499],[1180915200000,0.19499],[1181001600000,0.19503],[1181088000000,0.19536],[1181174400000,0.1956],[1181260800000,0.19541],[1181347200000,0.19479],[1181433600000,0.19479],[1181520000000,0.19479],[1181606400000,null],[1181692800000,0.19437],[1181779200000,0.19392],[1181865600000,null],[1181952000000,null],[1182038400000,0.19399],[1182124800000,0.19399],[1182211200000,0.19456],[1182297600000,0.19478],[1182384000000,null],[1182470400000,0.19446],[1182556800000,0.19471],[1182643200000,0.19471],[1182729600000,0.19471],[1182816000000,0.19497],[1182902400000,0.1959],[1182988800000,0.19538],[1183075200000,0.19538],[1183161600000,0.19538],[1183248000000,0.19538],[1183334400000,0.19538],[1183420800000,0.19628],[1183507200000,0.19682],[1183593600000,0.19678],[1183680000000,0.1967],[1183766400000,0.19627],[1183852800000,0.19627],[1183939200000,0.19627],[1184025600000,0.19649],[1184112000000,0.19682],[1184198400000,0.19776],[1184284800000,0.19791],[1184371200000,0.19809],[1184457600000,0.19809],[1184544000000,0.19809],[1184630400000,0.19825],[1184716800000,0.19838],[1184803200000,0.19851],[1184889600000,0.19865],[1184976000000,0.19871],[1185062400000,0.19871],[1185148800000,0.19871],[1185235200000,0.19893],[1185321600000,0.19885],[1185408000000,0.19872],[1185494400000,0.19805],[1185580800000,0.19807],[1185667200000,0.19807],[1185753600000,0.19807],[1185840000000,null],[1185926400000,0.19769],[1186012800000,0.19726],[1186099200000,0.19731],[1186185600000,0.19761],[1186272000000,0.19761],[1186358400000,0.19761],[1186444800000,0.19841],[1186531200000,0.19827],[1186617600000,0.19817],[1186704000000,0.19926],[1186790400000,0.19798],[1186876800000,0.19798],[1186963200000,0.19798],[1187049600000,0.1983],[1187136000000,0.19779],[1187222400000,0.19698],[1187308800000,0.19621],[1187395200000,0.19587],[1187481600000,0.19587],[1187568000000,0.19587],[1187654400000,0.19619],[1187740800000,0.19541],[1187827200000,0.19543],[1187913600000,0.19642],[1188000000000,0.19642],[1188086400000,0.19642],[1188172800000,0.19642],[1188259200000,0.19685],[1188345600000,0.19669],[1188432000000,0.19602],[1188518400000,0.19689],[1188604800000,0.19706],[1188691200000,0.19706],[1188777600000,0.19706],[1188864000000,0.19735],[1188950400000,0.19728],[1189036800000,0.1965],[1189123200000,0.19677],[1189209600000,0.19679],[1189296000000,0.19679],[1189382400000,0.19679],[1189468800000,0.19749],[1189555200000,0.19792],[1189641600000,0.19878],[1189728000000,0.19907],[1189814400000,0.19927],[1189900800000,0.19927],[1189987200000,0.19927],[1190073600000,0.19938],[1190160000000,0.19917],[1190246400000,0.2005],[1190332800000,0.20099],[1190419200000,0.20156],[1190505600000,0.20156],[1190592000000,0.20156],[1190678400000,0.20195],[1190764800000,0.20175],[1190851200000,null],[1190937600000,null],[1191024000000,0.20241],[1191110400000,0.20241],[1191196800000,0.20241],[1191283200000,0.20299],[1191369600000,0.20274],[1191456000000,0.20257],[1191542400000,0.20191],[1191628800000,0.20215],[1191715200000,0.20215],[1191801600000,0.20215],[1191888000000,0.20216],[1191974400000,0.20152],[1192060800000,0.20213],[1192147200000,0.20265],[1192233600000,0.20264],[1192320000000,0.20264],[1192406400000,0.20264],[1192492800000,0.20262],[1192579200000,0.2028],[1192665600000,0.20259],[1192752000000,0.20302],[1192838400000,0.20322],[1192924800000,0.20322],[1193011200000,0.20322],[1193097600000,0.20357],[1193184000000,0.20263],[1193270400000,0.20288],[1193356800000,0.20321],[1193443200000,0.20386],[1193529600000,0.20386],[1193616000000,0.20386],[1193702400000,0.20447],[1193788800000,0.20426],[1193875200000,0.20468],[1193961600000,0.20458],[1194048000000,0.20472],[1194134400000,0.20472],[1194220800000,0.20472],[1194307200000,0.20472],[1194393600000,0.20509],[1194480000000,0.20602],[1194566400000,0.20627],[1194652800000,0.20658],[1194739200000,0.20658],[1194825600000,0.20658],[1194912000000,0.20617],[1194998400000,0.20588],[1195084800000,0.20619],[1195171200000,0.20644],[1195257600000,0.20599],[1195344000000,0.20599],[1195430400000,0.20599],[1195516800000,0.20614],[1195603200000,0.20669],[1195689600000,0.20749],[1195776000000,0.20767],[1195862400000,0.20812],[1195948800000,0.20812],[1196035200000,0.20812],[1196121600000,0.20773],[1196208000000,0.20772],[1196294400000,0.20729],[1196380800000,0.20739],[1196467200000,0.20682],[1196553600000,0.20682],[1196640000000,0.20682],[1196726400000,0.20649],[1196812800000,0.20635],[1196899200000,0.20677],[1196985600000,0.2057],[1197072000000,0.20587],[1197158400000,0.20587],[1197244800000,0.20587],[1197331200000,0.20622],[1197417600000,0.20682],[1197504000000,0.2066],[1197590400000,0.20672],[1197676800000,0.20605],[1197763200000,0.20605],[1197849600000,0.20605],[1197936000000,0.2044],[1198022400000,0.20426],[1198108800000,0.20422],[1198195200000,0.20402],[1198281600000,0.20426],[1198368000000,0.20426],[1198454400000,0.20426],[1198540800000,0.2042],[1198627200000,0.20429],[1198713600000,0.20444],[1198800000000,0.20496],[1198886400000,0.20579]], 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, 0.190546],[1168819200000, 0.190546],[1171497600000, 0.191738],[1173916800000, 0.193389],[1176595200000, 0.195404],[1179187200000, 0.195566],[1181865600000, 0.194881],[1184457600000, 0.197603],[1187136000000, 0.197071],[1189814400000, 0.199063],[1192406400000, 0.202863],[1195084800000, 0.206346],[1197676800000, 0.205560]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });