$(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: [[1231200000000,0.0824709],[1231286400000,0.0815769],[1231372800000,0.0815769],[1231459200000,0.084326],[1231545600000,0.0847],[1231632000000,0.0847],[1231718400000,0.0847],[1231804800000,0.0856024],[1231891200000,0.0861459],[1231977600000,0.0862078],[1232064000000,0.086137],[1232150400000,0.0850712],[1232236800000,null],[1232323200000,0.0850712],[1232409600000,0.0851808],[1232496000000,0.0851677],[1232582400000,0.0856145],[1232668800000,0.0869515],[1232755200000,0.0866885],[1232841600000,0.0866885],[1232928000000,0.0866885],[1233014400000,0.0863607],[1233100800000,0.0862657],[1233187200000,0.0861112],[1233273600000,0.0855041],[1233360000000,0.0858264],[1233446400000,0.0858264],[1233532800000,0.0858264],[1233619200000,0.0861557],[1233705600000,0.0860175],[1233792000000,0.0863656],[1233878400000,0.0858687],[1233964800000,0.0844295],[1234051200000,0.0844295],[1234137600000,0.0844295],[1234224000000,0.0840211],[1234310400000,0.0843364],[1234396800000,0.085513],[1234483200000,0.085583],[1234569600000,null],[1234656000000,null],[1234742400000,0.0839673],[1234828800000,0.0837727],[1234915200000,0.0837193],[1235001600000,0.0830174],[1235088000000,0.0822157],[1235174400000,0.0817322],[1235260800000,0.0817322],[1235347200000,0.0817322],[1235433600000,0.0813813],[1235520000000,0.0802901],[1235606400000,0.0796069],[1235692800000,0.0785298],[1235779200000,0.0790058],[1235865600000,0.0790058],[1235952000000,0.0790058],[1236038400000,0.0791619],[1236124800000,0.0785632],[1236211200000,0.0775435],[1236297600000,0.0775186],[1236384000000,0.0795451],[1236470400000,0.0795451],[1236556800000,0.0795451],[1236643200000,0.0795451],[1236729600000,null],[1236816000000,0.0785418],[1236902400000,0.0791805],[1236988800000,0.0782244],[1237075200000,0.0782244],[1237161600000,0.0782244],[1237248000000,0.0781444],[1237334400000,0.0777934],[1237420800000,0.0784093],[1237507200000,0.0811805],[1237593600000,0.0803321],[1237680000000,0.0803321],[1237766400000,0.0803321],[1237852800000,0.0796191],[1237939200000,0.078387],[1238025600000,0.0785721],[1238112000000,0.078406],[1238198400000,0.0788019],[1238284800000,0.0788019],[1238371200000,0.0788019],[1238457600000,0.0794076],[1238544000000,0.0781212],[1238630400000,0.0779415],[1238716800000,0.0772538],[1238803200000,0.0770976],[1238889600000,0.0770976],[1238976000000,0.0770976],[1239062400000,0.0763999],[1239148800000,0.076855],[1239235200000,0.0769651],[1239321600000,0.0768148],[1239408000000,0.0768148],[1239494400000,0.0768148],[1239580800000,0.0768148],[1239667200000,0.0768148],[1239753600000,0.0771104],[1239840000000,0.0776068],[1239926400000,0.0778615],[1240012800000,0.0775404],[1240099200000,0.0775404],[1240185600000,0.0775404],[1240272000000,0.0775404],[1240358400000,0.0785179],[1240444800000,0.0785904],[1240531200000,0.0783326],[1240617600000,0.0794126],[1240704000000,0.0794126],[1240790400000,0.0794126],[1240876800000,0.0796897],[1240963200000,0.0799795],[1241049600000,0.0794742],[1241136000000,0.0784237],[1241222400000,0.0784237],[1241308800000,null],[1241395200000,0.0784237],[1241481600000,0.0784237],[1241568000000,0.0778363],[1241654400000,0.0782034],[1241740800000,0.077685],[1241827200000,0.0772511],[1241913600000,0.0772511],[1242000000000,0.0772511],[1242086400000,0.0772511],[1242172800000,0.0788188],[1242259200000,0.0793568],[1242345600000,0.0798992],[1242432000000,0.0800774],[1242518400000,0.0800774],[1242604800000,0.0800774],[1242691200000,0.0795507],[1242777600000,0.079241],[1242864000000,0.0795547],[1242950400000,0.08016],[1243036800000,0.0809761],[1243123200000,0.0809761],[1243209600000,0.0809761],[1243296000000,0.0800911],[1243382400000,0.0802401],[1243468800000,0.0799454],[1243555200000,0.0785579],[1243641600000,0.0794303],[1243728000000,0.0794303],[1243814400000,0.0794303],[1243900800000,0.0802293],[1243987200000,0.079633],[1244073600000,0.0793041],[1244160000000,0.0787064],[1244246400000,0.0784943],[1244332800000,0.0784943],[1244419200000,0.0784943],[1244505600000,0.0784943],[1244592000000,0.0776531],[1244678400000,0.0777485],[1244764800000,0.077377],[1244851200000,0.0774919],[1244937600000,0.0774919],[1245024000000,0.0774919],[1245110400000,0.0774676],[1245196800000,0.0784407],[1245283200000,0.0791169],[1245369600000,0.0793847],[1245456000000,0.0786986],[1245542400000,0.0786986],[1245628800000,0.0786986],[1245715200000,0.079284],[1245801600000,0.0796973],[1245888000000,0.0799507],[1245974400000,0.0791583],[1246060800000,0.0799678],[1246147200000,0.0799678],[1246233600000,0.0799678],[1246320000000,0.0799678],[1246406400000,0.0796921],[1246492800000,0.0788738],[1246579200000,0.0789348],[1246665600000,0.0796579],[1246752000000,0.0796579],[1246838400000,0.0796579],[1246924800000,0.0801428],[1247011200000,0.0800576],[1247097600000,0.0808947],[1247184000000,0.0819972],[1247270400000,0.0826666],[1247356800000,0.0826666],[1247443200000,0.0826666],[1247529600000,0.0825785],[1247616000000,0.0818636],[1247702400000,0.0817166],[1247788800000,0.0813996],[1247875200000,0.0816369],[1247961600000,0.0816369],[1248048000000,0.0816369],[1248134400000,0.0810276],[1248220800000,0.0812482],[1248307200000,0.0820805],[1248393600000,0.0812313],[1248480000000,0.0808372],[1248566400000,0.0808372],[1248652800000,0.0808372],[1248739200000,0.0809306],[1248825600000,0.0813368],[1248912000000,0.0811301],[1248998400000,0.0807977],[1249084800000,0.0804329],[1249171200000,0.0804329],[1249257600000,0.0804329],[1249344000000,0.0809215],[1249430400000,0.0811119],[1249516800000,0.0805882],[1249603200000,0.0805624],[1249689600000,0.0807973],[1249776000000,0.0807973],[1249862400000,0.0807973],[1249948800000,0.0793402],[1250035200000,0.0800764],[1250121600000,0.0807743],[1250208000000,0.0805384],[1250294400000,0.0818714],[1250380800000,0.0818714],[1250467200000,0.0818714],[1250553600000,0.082623],[1250640000000,0.0823182],[1250726400000,0.0835541],[1250812800000,0.0837354],[1250899200000,0.0847904],[1250985600000,0.0847904],[1251072000000,0.0847904],[1251158400000,0.0847904],[1251244800000,0.0844623],[1251331200000,0.0848742],[1251417600000,0.0853133],[1251504000000,0.0851607],[1251590400000,0.0851607],[1251676800000,0.0851607],[1251763200000,0.0856642],[1251849600000,0.0857164],[1251936000000,0.086262],[1252022400000,0.0864082],[1252108800000,0.0860889],[1252195200000,0.0860889],[1252281600000,0.0860889],[1252368000000,0.0859284],[1252454400000,0.0866516],[1252540800000,0.0865603],[1252627200000,0.0868269],[1252713600000,0.0880064],[1252800000000,0.0880064],[1252886400000,0.0880064],[1252972800000,0.0880143],[1253059200000,0.0877603],[1253145600000,0.0885593],[1253232000000,0.0876556],[1253318400000,0.087751],[1253404800000,0.087751],[1253491200000,0.087751],[1253577600000,0.0866408],[1253664000000,0.0876012],[1253750400000,0.0877034],[1253836800000,0.088341],[1253923200000,0.0885887],[1254009600000,0.0885887],[1254096000000,0.0885887],[1254182400000,0.089475],[1254268800000,0.0890211],[1254355200000,0.0894198],[1254441600000,0.0890372],[1254528000000,0.0896047],[1254614400000,0.0896047],[1254700800000,0.0896047],[1254787200000,0.0890908],[1254873600000,0.0898737],[1254960000000,0.0900665],[1255046400000,0.0906421],[1255132800000,0.0901064],[1255219200000,0.0901064],[1255305600000,0.0901064],[1255392000000,0.0889297],[1255478400000,0.0894634],[1255564800000,0.0892258],[1255651200000,0.0884722],[1255737600000,0.0873938],[1255824000000,0.0873938],[1255910400000,0.0873938],[1255996800000,0.087643],[1256083200000,0.0881492],[1256169600000,0.08781],[1256256000000,0.08771],[1256342400000,0.0870696],[1256428800000,0.0870696],[1256515200000,0.0870696],[1256601600000,0.0869969],[1256688000000,0.0869951],[1256774400000,0.0878542],[1256860800000,0.0875483],[1256947200000,0.0878482],[1257033600000,0.0878482],[1257120000000,0.0878482],[1257206400000,0.0888542],[1257292800000,0.088797],[1257379200000,0.0880912],[1257465600000,0.0887127],[1257552000000,0.0881508],[1257638400000,0.0881508],[1257724800000,0.0881508],[1257811200000,0.0888114],[1257897600000,0.0888992],[1257984000000,0.0889443],[1258070400000,0.0888332],[1258156800000,0.0890454],[1258243200000,0.0890454],[1258329600000,0.0890454],[1258416000000,0.0892551],[1258502400000,0.0895267],[1258588800000,0.0896018],[1258675200000,0.0899321],[1258761600000,0.089764],[1258848000000,0.089764],[1258934400000,0.089764],[1259020800000,0.0899003],[1259107200000,0.0902182],[1259193600000,0.0911717],[1259280000000,0.0920288],[1259366400000,0.092151],[1259452800000,0.092151],[1259539200000,0.092151],[1259625600000,0.0924718],[1259712000000,0.0919167],[1259798400000,0.0916584],[1259884800000,0.0907177],[1259971200000,0.0903989],[1260057600000,0.0903989],[1260144000000,0.0903989],[1260230400000,0.0886066],[1260316800000,0.0902272],[1260403200000,0.0907895],[1260489600000,0.0904723],[1260576000000,0.0898362],[1260662400000,0.0898362],[1260748800000,0.0898362],[1260835200000,0.0902291],[1260921600000,0.0890326],[1261008000000,0.0888493],[1261094400000,0.0884302],[1261180800000,0.0881137],[1261267200000,0.0881137],[1261353600000,0.0881137],[1261440000000,0.0880192],[1261526400000,0.086975],[1261612800000,0.0868661],[1261699200000,0.0870678],[1261785600000,0.0870624],[1261872000000,0.0870624],[1261958400000,0.0870624],[1262044800000,0.0870134],[1262131200000,0.0868388]], 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, 0.085253],[1231977600000, 0.085253],[1234656000000, 0.083443],[1237075200000, 0.078957],[1239753600000, 0.077816],[1242345600000, 0.079129],[1245024000000, 0.078833],[1247616000000, 0.081043],[1250294400000, 0.082411],[1252972800000, 0.087403],[1255564800000, 0.088558],[1258243200000, 0.089487],[1260835200000, 0.088997]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });