$(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: 'Курс JPY, грн'}, 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: 'Курс JPY', data: [[1168041600000,0.0427526],[1168128000000,0.0427526],[1168214400000,0.0427526],[1168300800000,0.0427526],[1168387200000,0.0423425],[1168473600000,0.0423185],[1168560000000,0.0419885],[1168646400000,0.0419413],[1168732800000,0.0419413],[1168819200000,0.0419413],[1168905600000,0.0418923],[1168992000000,0.0418587],[1169078400000,0.0418558],[1169164800000,0.0416201],[1169251200000,0.0416457],[1169337600000,0.0416457],[1169424000000,0.0416457],[1169510400000,0.0414694],[1169596800000,0.0416732],[1169683200000,0.0415508],[1169769600000,0.0417765],[1169856000000,0.0415736],[1169942400000,0.0415736],[1170028800000,0.0415736],[1170115200000,0.0413767],[1170201600000,0.0414638],[1170288000000,0.0415958],[1170374400000,0.0419197],[1170460800000,0.0417122],[1170547200000,0.0417122],[1170633600000,0.0417122],[1170720000000,0.0418808],[1170806400000,0.0420563],[1170892800000,0.0418428],[1170979200000,0.0416061],[1171065600000,0.0415572],[1171152000000,0.0415572],[1171238400000,0.0415572],[1171324800000,0.0414257],[1171411200000,0.0416236],[1171497600000,0.0416677],[1171584000000,0.0420471],[1171670400000,0.0423952],[1171756800000,0.0423952],[1171843200000,0.0423952],[1171929600000,0.0422372],[1172016000000,0.0420114],[1172102400000,0.0417735],[1172188800000,0.041626],[1172275200000,0.0416233],[1172361600000,null],[1172448000000,0.0416233],[1172534400000,0.0418765],[1172620800000,0.0423716],[1172707200000,0.0426434],[1172793600000,0.0429715],[1172880000000,0.0431896],[1172966400000,0.0431896],[1173052800000,0.0431896],[1173139200000,0.0437747],[1173225600000,0.0433263],[1173312000000,0.043408],[1173398400000,0.043408],[1173484800000,0.043408],[1173571200000,0.043408],[1173657600000,0.043408],[1173744000000,0.0430185],[1173830400000,0.0433054],[1173916800000,0.0433256],[1174003200000,0.0430662],[1174089600000,0.0432407],[1174176000000,0.0432407],[1174262400000,0.0432407],[1174348800000,0.0430173],[1174435200000,0.0430002],[1174521600000,0.042856],[1174608000000,0.0428706],[1174694400000,0.0429629],[1174780800000,0.0429629],[1174867200000,0.0429629],[1174953600000,0.0426541],[1175040000000,0.042684],[1175126400000,0.0431049],[1175212800000,0.043016],[1175299200000,0.042751],[1175385600000,0.042751],[1175472000000,0.042751],[1175558400000,0.0428969],[1175644800000,0.0425521],[1175731200000,0.0424875],[1175817600000,0.042474],[1175904000000,0.042474],[1175990400000,0.042474],[1176076800000,0.042474],[1176163200000,0.042474],[1176249600000,0.0423626],[1176336000000,0.0423506],[1176422400000,0.0423411],[1176508800000,0.0425641],[1176595200000,0.0425641],[1176681600000,0.0425641],[1176768000000,0.0422496],[1176854400000,0.0422857],[1176940800000,0.0426472],[1177027200000,0.0428933],[1177113600000,0.0425583],[1177200000000,0.0425583],[1177286400000,0.0425583],[1177372800000,0.0425473],[1177459200000,0.042499],[1177545600000,0.0425609],[1177632000000,0.0423147],[1177718400000,0.0423305],[1177804800000,0.0423305],[1177891200000,0.0423305],[1177977600000,0.0423305],[1178064000000,0.0423305],[1178150400000,0.0423305],[1178236800000,0.042054],[1178323200000,0.0419755],[1178409600000,0.0419755],[1178496000000,0.0419755],[1178582400000,0.0421014],[1178668800000,0.0421886],[1178755200000,0.0421886],[1178841600000,0.0419448],[1178928000000,0.0421803],[1179014400000,0.0421803],[1179100800000,0.0421803],[1179187200000,0.0419615],[1179273600000,0.0419223],[1179360000000,0.0418899],[1179446400000,0.0416778],[1179532800000,0.0417539],[1179619200000,0.0417539],[1179705600000,0.0417539],[1179792000000,0.04157],[1179878400000,0.0415628],[1179964800000,0.0415774],[1180051200000,0.041613],[1180137600000,0.041515],[1180224000000,0.041515],[1180310400000,0.041515],[1180396800000,0.041515],[1180483200000,0.0415396],[1180569600000,0.0415111],[1180656000000,0.0415368],[1180742400000,0.041421],[1180828800000,0.041421],[1180915200000,0.041421],[1181001600000,0.0414288],[1181088000000,0.0415622],[1181174400000,0.041694],[1181260800000,0.0416224],[1181347200000,0.0415101],[1181433600000,0.0415101],[1181520000000,0.0415101],[1181606400000,null],[1181692800000,0.0414568],[1181779200000,0.0412868],[1181865600000,null],[1181952000000,null],[1182038400000,0.0408927],[1182124800000,0.0408927],[1182211200000,0.0409103],[1182297600000,0.0409073],[1182384000000,null],[1182470400000,0.0408791],[1182556800000,0.0407059],[1182643200000,0.0407059],[1182729600000,0.0407059],[1182816000000,0.0408989],[1182902400000,0.0410019],[1182988800000,0.0412058],[1183075200000,0.0412058],[1183161600000,0.0412058],[1183248000000,0.0412058],[1183334400000,0.0412058],[1183420800000,0.0411733],[1183507200000,0.0412201],[1183593600000,0.0412123],[1183680000000,0.041222],[1183766400000,0.0409738],[1183852800000,0.0409738],[1183939200000,0.0409738],[1184025600000,0.0409124],[1184112000000,0.0411136],[1184198400000,0.0414915],[1184284800000,0.0413501],[1184371200000,0.041261],[1184457600000,0.041261],[1184544000000,0.041261],[1184630400000,0.0414645],[1184716800000,0.0413777],[1184803200000,0.0413452],[1184889600000,0.0413797],[1184976000000,0.0413779],[1185062400000,0.0413779],[1185148800000,0.0413779],[1185235200000,0.0416494],[1185321600000,0.0417753],[1185408000000,0.0419222],[1185494400000,0.0421202],[1185580800000,0.0425225],[1185667200000,0.0425225],[1185753600000,0.0425225],[1185840000000,null],[1185926400000,0.0423133],[1186012800000,0.0426178],[1186099200000,0.0423853],[1186185600000,0.0423638],[1186272000000,0.0423638],[1186358400000,0.0423638],[1186444800000,0.0428419],[1186531200000,0.0425611],[1186617600000,0.0423463],[1186704000000,0.0426183],[1186790400000,0.0429834],[1186876800000,0.0429834],[1186963200000,0.0429834],[1187049600000,0.0426937],[1187136000000,0.0426991],[1187222400000,0.043239],[1187308800000,0.0441904],[1187395200000,0.0444826],[1187481600000,0.0444826],[1187568000000,0.0444826],[1187654400000,0.0438661],[1187740800000,0.0440156],[1187827200000,0.0438705],[1187913600000,0.043314],[1188000000000,0.043314],[1188086400000,0.043314],[1188172800000,0.043314],[1188259200000,0.0434804],[1188345600000,0.0437977],[1188432000000,0.0439906],[1188518400000,0.0436856],[1188604800000,0.0434601],[1188691200000,0.0434601],[1188777600000,0.0434601],[1188864000000,0.0436093],[1188950400000,0.0437255],[1189036800000,0.043676],[1189123200000,0.0438777],[1189209600000,0.0438334],[1189296000000,0.0438334],[1189382400000,0.0438334],[1189468800000,0.0444744],[1189555200000,0.0443781],[1189641600000,0.04434],[1189728000000,0.0439944],[1189814400000,0.0439655],[1189900800000,0.0439655],[1189987200000,0.0439655],[1190073600000,0.0439504],[1190160000000,0.043724],[1190246400000,0.0436179],[1190332800000,0.0438899],[1190419200000,0.0436707],[1190505600000,0.0436707],[1190592000000,0.0436707],[1190678400000,0.0438994],[1190764800000,0.0441797],[1190851200000,null],[1190937600000,null],[1191024000000,0.0437811],[1191110400000,0.0437811],[1191196800000,0.0437811],[1191283200000,0.043622],[1191369600000,0.0436391],[1191456000000,0.0434822],[1191542400000,0.0433107],[1191628800000,0.0433699],[1191715200000,0.0433699],[1191801600000,0.0433699],[1191888000000,0.0429932],[1191974400000,0.0430818],[1192060800000,0.0430216],[1192147200000,0.0429474],[1192233600000,0.0429846],[1192320000000,0.0429846],[1192406400000,0.0429846],[1192492800000,0.0428852],[1192579200000,0.043263],[1192665600000,0.0431286],[1192752000000,0.0437636],[1192838400000,0.0437671],[1192924800000,0.0437671],[1193011200000,0.0437671],[1193097600000,0.0443236],[1193184000000,0.0440261],[1193270400000,0.0441762],[1193356800000,0.0441582],[1193443200000,0.0441576],[1193529600000,0.0441576],[1193616000000,0.0441576],[1193702400000,0.0439998],[1193788800000,0.0439849],[1193875200000,0.0438209],[1193961600000,0.0438007],[1194048000000,0.0438153],[1194134400000,0.0438153],[1194220800000,0.0438153],[1194307200000,0.0442375],[1194393600000,0.0440158],[1194480000000,0.0447679],[1194566400000,0.0446433],[1194652800000,0.045429],[1194739200000,0.045429],[1194825600000,0.045429],[1194912000000,0.0461448],[1194998400000,0.0458284],[1195084800000,0.0454704],[1195171200000,0.0456396],[1195257600000,0.045677],[1195344000000,0.045677],[1195430400000,0.045677],[1195516800000,0.0457994],[1195603200000,0.0458485],[1195689600000,0.0464894],[1195776000000,0.0464499],[1195862400000,0.0467789],[1195948800000,0.0467789],[1196035200000,0.0467789],[1196121600000,0.0465751],[1196208000000,0.0469138],[1196294400000,0.0459649],[1196380800000,0.0458689],[1196467200000,0.0456116],[1196553600000,0.0456116],[1196640000000,0.0456116],[1196726400000,0.0457689],[1196812800000,0.0459945],[1196899200000,0.0457931],[1196985600000,0.0454953],[1197072000000,0.0452794],[1197158400000,0.0452794],[1197244800000,0.0452794],[1197331200000,0.0451747],[1197417600000,0.045113],[1197504000000,0.0453514],[1197590400000,0.0451551],[1197676800000,0.0446798],[1197763200000,0.0446798],[1197849600000,0.0446798],[1197936000000,0.044559],[1198022400000,0.0445428],[1198108800000,0.0446932],[1198195200000,0.0446472],[1198281600000,0.0444779],[1198368000000,0.0444779],[1198454400000,0.0444779],[1198540800000,0.0442678],[1198627200000,0.0442678],[1198713600000,0.0442678],[1198800000000,0.0441017],[1198886400000,0.0446606]], 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.041911],[1168819200000, 0.041911],[1171497600000, 0.041845],[1173916800000, 0.043116],[1176595200000, 0.042507],[1179187200000, 0.041874],[1181865600000, 0.041212],[1184457600000, 0.041452],[1187136000000, 0.043224],[1189814400000, 0.043846],[1192406400000, 0.043562],[1195084800000, 0.045446],[1197676800000, 0.044966]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });