$(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: [[1104883200000,0.0428905],[1104969600000,0.0508045],[1105056000000,0.0505682],[1105142400000,null],[1105228800000,0.0505682],[1105315200000,null],[1105401600000,0.0507994],[1105488000000,0.0510029],[1105574400000,0.0514503],[1105660800000,0.0517219],[1105747200000,0.0516983],[1105833600000,0.0516983],[1105920000000,0.0516983],[1106006400000,0.0519843],[1106092800000,0.0516673],[1106179200000,0.0515051],[1106265600000,0.0515051],[1106352000000,0.0510835],[1106438400000,0.0510835],[1106524800000,0.0510835],[1106611200000,null],[1106697600000,0.0512317],[1106784000000,0.0512976],[1106870400000,0.0512612],[1106956800000,0.05133],[1107043200000,0.05133],[1107129600000,0.0512253],[1107216000000,0.0512253],[1107302400000,0.0511153],[1107388800000,0.0511802],[1107475200000,0.0508501],[1107561600000,0.0509913],[1107648000000,0.0509913],[1107734400000,0.0509913],[1107820800000,0.0508133],[1107907200000,0.0501672],[1107993600000,0.0501565],[1108080000000,0.0498046],[1108166400000,0.0500505],[1108252800000,0.0500505],[1108339200000,0.0500505],[1108425600000,0.0504532],[1108512000000,0.0505622],[1108598400000,0.0504381],[1108684800000,0.0501492],[1108771200000,0.0502034],[1108857600000,0.0502034],[1108944000000,0.0502034],[1109030400000,0.0502176],[1109116800000,0.050874],[1109203200000,0.0505338],[1109289600000,0.0505247],[1109376000000,0.0502821],[1109462400000,0.0502821],[1109548800000,0.0502821],[1109635200000,0.0508902],[1109721600000,0.0507824],[1109808000000,0.0505108],[1109894400000,0.0505295],[1109980800000,0.0502301],[1110067200000,0.0502301],[1110153600000,0.0502301],[1110240000000,0.0502301],[1110326400000,0.0502301],[1110412800000,0.0507978],[1110499200000,0.050873],[1110585600000,0.0508707],[1110672000000,0.0508707],[1110758400000,0.0508707],[1110844800000,0.0505305],[1110931200000,0.050701],[1111017600000,0.0508093],[1111104000000,0.0506798],[1111190400000,0.0504493],[1111276800000,0.0504493],[1111363200000,0.0504493],[1111449600000,null],[1111536000000,0.0503476],[1111622400000,0.0500468],[1111708800000,0.0496446],[1111795200000,0.0496446],[1111881600000,0.0496446],[1111968000000,0.0496446],[1112054400000,0.0496446],[1112140800000,0.0492467],[1112227200000,0.0491263],[1112313600000,0.0494494],[1112400000000,0.0492064],[1112486400000,0.0492064],[1112572800000,0.0492064],[1112659200000,0.0488726],[1112745600000,0.0486027],[1112832000000,0.0485413],[1112918400000,0.048745],[1113004800000,0.0484412],[1113091200000,0.0484412],[1113177600000,0.0484412],[1113264000000,0.0489011],[1113350400000,0.0488573],[1113436800000,0.049006],[1113523200000,0.0486021],[1113609600000,0.0484354],[1113696000000,0.0484354],[1113782400000,0.0484354],[1113868800000,0.0484869],[1113955200000,0.0483368],[1114041600000,0.0472383],[1114128000000,0.0470114],[1114214400000,0.0475236],[1114300800000,0.0475236],[1114387200000,0.0475236],[1114473600000,0.0476865],[1114560000000,0.0476618],[1114646400000,0.0475035],[1114732800000,0.0476983],[1114819200000,0.0480276],[1114905600000,0.0480276],[1114992000000,0.0480276],[1115078400000,0.0480276],[1115164800000,0.0480276],[1115251200000,0.0483786],[1115337600000,0.0483573],[1115424000000,0.048178],[1115510400000,0.048178],[1115596800000,0.048178],[1115683200000,0.048178],[1115769600000,0.0477791],[1115856000000,0.0479396],[1115942400000,0.0475406],[1116028800000,0.0471943],[1116115200000,0.0471943],[1116201600000,0.0471943],[1116288000000,0.046974],[1116374400000,0.0470866],[1116460800000,0.0470585],[1116547200000,0.0470743],[1116633600000,0.0468196],[1116720000000,0.0468196],[1116806400000,0.0468196],[1116892800000,0.0467829],[1116979200000,0.047061],[1117065600000,0.0468841],[1117152000000,0.0466449],[1117238400000,0.0468563],[1117324800000,0.0468563],[1117411200000,0.0468563],[1117497600000,0.0467654],[1117584000000,0.0466558],[1117670400000,0.0465316],[1117756800000,0.046707],[1117843200000,0.0468589],[1117929600000,0.0468589],[1118016000000,0.0468589],[1118102400000,0.0471964],[1118188800000,0.0473581],[1118275200000,0.0473064],[1118361600000,0.0470946],[1118448000000,0.0470382],[1118534400000,0.0470382],[1118620800000,0.0470382],[1118707200000,0.0462831],[1118793600000,0.0462601],[1118880000000,0.0461978],[1118966400000,null],[1119052800000,0.0464669],[1119139200000,0.0464669],[1119225600000,0.0464669],[1119312000000,null],[1119398400000,0.0462368],[1119484800000,0.0464535],[1119571200000,0.0466027],[1119657600000,0.0462966],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.0458039],[1120176000000,null],[1120262400000,0.0455153],[1120348800000,0.0455153],[1120435200000,0.0455153],[1120521600000,0.0453186],[1120608000000,0.0451541],[1120694400000,0.0452002],[1120780800000,0.0452652],[1120867200000,0.0449602],[1120953600000,0.0449602],[1121040000000,0.0449602],[1121126400000,0.0451565],[1121212800000,0.0454438],[1121299200000,0.045397],[1121385600000,0.045104],[1121472000000,0.0450898],[1121558400000,0.0450898],[1121644800000,0.0450898],[1121731200000,0.0450388],[1121817600000,0.0447791],[1121904000000,0.0446778],[1121990400000,0.0455176],[1122076800000,0.0454305],[1122163200000,0.0454305],[1122249600000,0.0454305],[1122336000000,0.0451755],[1122422400000,0.0449869],[1122508800000,0.0448781],[1122595200000,0.0449301],[1122681600000,0.0449339],[1122768000000,0.0449339],[1122854400000,0.0449339],[1122940800000,0.0451496],[1123027200000,0.0453413],[1123113600000,0.0454319],[1123200000000,0.0453003],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.0450471],[1123718400000,0.0454904],[1123804800000,0.0457465],[1123891200000,0.0461472],[1123977600000,0.0461472],[1124064000000,0.0461472],[1124150400000,0.0461035],[1124236800000,0.0461863],[1124323200000,0.0460473],[1124409600000,0.0457467],[1124496000000,0.0457395],[1124582400000,0.0457395],[1124668800000,0.0457395],[1124755200000,0.0461185],[1124841600000,0.0458931],[1124928000000,0.0458931],[1125014400000,0.0458996],[1125100800000,0.0460612],[1125187200000,0.0460612],[1125273600000,0.0460612],[1125360000000,0.0457227],[1125446400000,0.0452942],[1125532800000,0.0452741],[1125619200000,0.0456805],[1125705600000,0.0460061],[1125792000000,0.0460061],[1125878400000,0.0460061],[1125964800000,0.0463215],[1126051200000,0.0460981],[1126137600000,0.0459061],[1126224000000,0.045721],[1126310400000,0.0458873],[1126396800000,0.0458873],[1126483200000,0.0458873],[1126569600000,null],[1126656000000,null],[1126742400000,0.0459206],[1126828800000,null],[1126915200000,null],[1127001600000,0.0455348],[1127088000000,0.0455348],[1127174400000,0.0453048],[1127260800000,0.0453206],[1127347200000,0.045411],[1127433600000,0.0454273],[1127520000000,0.0453068],[1127606400000,0.0453068],[1127692800000,0.0453068],[1127779200000,0.044935],[1127865600000,0.0445741],[1127952000000,0.0446699],[1128038400000,0.0448191],[1128124800000,0.0446327],[1128211200000,0.0446327],[1128297600000,0.0446327],[1128384000000,0.0442872],[1128470400000,0.0441856],[1128556800000,0.0443425],[1128643200000,0.0443613],[1128729600000,0.044498],[1128816000000,0.044498],[1128902400000,0.044498],[1128988800000,0.0442672],[1129075200000,0.0442436],[1129161600000,0.0441053],[1129248000000,0.0439865],[1129334400000,0.0440146],[1129420800000,0.0440146],[1129507200000,0.0440146],[1129593600000,0.0439936],[1129680000000,0.0435909],[1129766400000,0.0437079],[1129852800000,0.0436809],[1129939200000,0.0436816],[1130025600000,0.0436816],[1130112000000,0.0436816],[1130198400000,0.0436607],[1130284800000,0.0437281],[1130371200000,0.0436013],[1130457600000,0.043789],[1130544000000,0.0437741],[1130630400000,0.0437741],[1130716800000,0.0437741],[1130803200000,0.0434805],[1130889600000,0.0433084],[1130976000000,0.0431767],[1131062400000,0.0431991],[1131148800000,0.0428847],[1131235200000,0.0428847],[1131321600000,0.0428847],[1131408000000,0.0428867],[1131494400000,0.0428969],[1131580800000,0.0430541],[1131667200000,0.0429146],[1131753600000,0.0427701],[1131840000000,0.0427701],[1131926400000,0.0427701],[1132012800000,0.0425361],[1132099200000,0.0423538],[1132185600000,0.0423019],[1132272000000,0.0425332],[1132358400000,0.0423486],[1132444800000,0.0423486],[1132531200000,0.0423486],[1132617600000,0.0424796],[1132704000000,0.0422918],[1132790400000,0.0425446],[1132876800000,0.0424939],[1132963200000,0.0422979],[1133049600000,0.0422979],[1133136000000,0.0422979],[1133222400000,0.0421799],[1133308800000,0.0423665],[1133395200000,0.0422113],[1133481600000,0.0420118],[1133568000000,0.0417868],[1133654400000,0.0417868],[1133740800000,0.0417868],[1133827200000,0.0417915],[1133913600000,0.0417163],[1134000000000,0.0417388],[1134086400000,0.0418899],[1134172800000,0.0419085],[1134259200000,0.0419085],[1134345600000,0.0419085],[1134432000000,0.0419777],[1134518400000,0.0419748],[1134604800000,0.0426781],[1134691200000,0.0435059],[1134777600000,0.0434478],[1134864000000,0.0434478],[1134950400000,0.0434478],[1135036800000,0.0434386],[1135123200000,0.0433214],[1135209600000,0.0430763],[1135296000000,0.0429999],[1135382400000,0.0432904],[1135468800000,0.0432904],[1135555200000,0.0432904],[1135641600000,0.0432904],[1135728000000,0.0431806],[1135814400000,0.0431028],[1135900800000,0.0428288]], 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: [[1105747200000, 0.050937],[1105747200000, 0.050937],[1108425600000, 0.050487],[1110844800000, 0.050307],[1113523200000, 0.048335],[1116115200000, 0.047412],[1118793600000, 0.046670],[1121385600000, 0.045163],[1124064000000, 0.045748],[1126742400000, 0.045541],[1129334400000, 0.044043],[1132012800000, 0.042663],[1134604800000, 0.042601]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });