$(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: [[1136246400000,0.0428905],[1136332800000,0.0428905],[1136419200000,0.0428905],[1136505600000,0.0435068],[1136592000000,0.0435558],[1136678400000,0.0435558],[1136764800000,0.0435558],[1136851200000,0.0435558],[1136937600000,0.0441089],[1137024000000,0.0441359],[1137110400000,0.0444877],[1137196800000,0.0440143],[1137283200000,0.0440143],[1137369600000,0.0440143],[1137456000000,0.0439313],[1137542400000,0.0437971],[1137628800000,0.0438902],[1137715200000,0.0438434],[1137801600000,0.0437969],[1137888000000,0.0437969],[1137974400000,0.0437969],[1138060800000,0.0441745],[1138147200000,0.044125],[1138233600000,0.0439943],[1138320000000,0.0436254],[1138406400000,0.0432299],[1138492800000,0.0432299],[1138579200000,0.0432299],[1138665600000,0.0429707],[1138752000000,null],[1138838400000,null],[1138924800000,null],[1139011200000,null],[1139097600000,null],[1139184000000,0.0425246],[1139270400000,0.0425246],[1139356800000,0.0428092],[1139443200000,0.0426383],[1139529600000,0.0426035],[1139616000000,0.0429413],[1139702400000,0.0429413],[1139788800000,0.0429413],[1139875200000,0.0427748],[1139961600000,0.04305],[1140048000000,0.0429517],[1140134400000,0.0427399],[1140220800000,0.0425575],[1140307200000,0.0425575],[1140393600000,0.0425575],[1140480000000,0.0427019],[1140566400000,0.0424584],[1140652800000,0.0425582],[1140739200000,0.0431676],[1140825600000,0.0431851],[1140912000000,0.0431851],[1140998400000,0.0431851],[1141084800000,0.0434439],[1141171200000,0.043399],[1141257600000,0.0435679],[1141344000000,0.0433944],[1141430400000,0.0433702],[1141516800000,0.0433702],[1141603200000,0.0433702],[1141689600000,0.0430274],[1141776000000,0.0428678],[1141862400000,0.0428678],[1141948800000,0.0429665],[1142035200000,0.0426553],[1142121600000,0.0426553],[1142208000000,0.0426553],[1142294400000,0.0424166],[1142380800000,0.0426986],[1142467200000,0.0429774],[1142553600000,0.0429033],[1142640000000,0.0434963],[1142726400000,0.0434963],[1142812800000,0.0434963],[1142899200000,0.0435803],[1142985600000,0.0433071],[1143072000000,0.0431219],[1143158400000,0.043139],[1143244800000,0.0427102],[1143331200000,0.0427102],[1143417600000,0.0427102],[1143504000000,0.0433295],[1143590400000,0.043252],[1143676800000,0.0428455],[1143763200000,0.0430478],[1143849600000,0.042919],[1143936000000,0.042919],[1144022400000,0.042919],[1144108800000,0.0426687],[1144195200000,0.0429368],[1144281600000,0.0429544],[1144368000000,0.042936],[1144454400000,0.042839],[1144540800000,0.042839],[1144627200000,0.042839],[1144713600000,0.0426616],[1144800000000,0.0425313],[1144886400000,0.0427533],[1144972800000,0.0425667],[1145059200000,0.0425667],[1145145600000,0.0425667],[1145232000000,0.0425667],[1145318400000,0.0425667],[1145404800000,0.0428095],[1145491200000,0.0431171],[1145577600000,0.0429182],[1145664000000,0.0430803],[1145750400000,0.0430803],[1145836800000,0.0430803],[1145923200000,0.0430803],[1146009600000,0.0441533],[1146096000000,0.0439184],[1146182400000,0.0439287],[1146268800000,0.0441844],[1146355200000,0.0441844],[1146441600000,0.0441844],[1146528000000,0.0441844],[1146614400000,0.0441844],[1146700800000,0.0444561],[1146787200000,0.0442763],[1146873600000,0.0443391],[1146960000000,0.0443391],[1147046400000,0.0443391],[1147132800000,0.0443391],[1147219200000,0.0443391],[1147305600000,0.0456813],[1147392000000,0.0454111],[1147478400000,0.0460693],[1147564800000,0.0460693],[1147651200000,0.0460693],[1147737600000,0.0458331],[1147824000000,0.0457977],[1147910400000,0.046177],[1147996800000,0.0454336],[1148083200000,0.0452],[1148169600000,0.0452],[1148256000000,0.0452],[1148342400000,0.0448643],[1148428800000,0.0453349],[1148515200000,0.0451116],[1148601600000,0.0450187],[1148688000000,0.0450347],[1148774400000,0.0450347],[1148860800000,0.0450347],[1148947200000,0.0449821],[1149033600000,0.04501],[1149120000000,0.0450273],[1149206400000,0.0446056],[1149292800000,0.0447581],[1149379200000,0.0447581],[1149465600000,0.0447581],[1149552000000,0.0452357],[1149638400000,0.0448234],[1149724800000,0.0445748],[1149811200000,0.044152],[1149897600000,0.0443175],[1149984000000,0.0443175],[1150070400000,0.0443175],[1150156800000,0.0443175],[1150243200000,0.044043],[1150329600000,0.0438507],[1150416000000,0.0439661],[1150502400000,0.0439361],[1150588800000,0.0439361],[1150675200000,0.0439361],[1150761600000,0.0437218],[1150848000000,0.0438671],[1150934400000,0.0439276],[1151020800000,0.0436755],[1151107200000,0.0433918],[1151193600000,0.0433918],[1151280000000,0.0433918],[1151366400000,0.0434086],[1151452800000,0.0433434],[1151539200000,0.0433434],[1151625600000,0.0433366],[1151712000000,0.0440485],[1151798400000,0.0440485],[1151884800000,0.0440485],[1151971200000,0.0440403],[1152057600000,0.0440708],[1152144000000,0.0440301],[1152230400000,0.0437227],[1152316800000,0.04402],[1152403200000,0.04402],[1152489600000,0.04402],[1152576000000,0.0443601],[1152662400000,0.0441463],[1152748800000,0.043836],[1152835200000,0.0438014],[1152921600000,0.0435628],[1153008000000,0.0435628],[1153094400000,0.0435628],[1153180800000,0.0431829],[1153267200000,0.0431632],[1153353600000,0.0429066],[1153440000000,0.0432334],[1153526400000,0.0435724],[1153612800000,0.0435724],[1153699200000,0.0435724],[1153785600000,0.0433048],[1153872000000,0.0432564],[1153958400000,0.0432117],[1154044800000,0.0436821],[1154131200000,0.0436332],[1154217600000,0.0436332],[1154304000000,0.0436332],[1154390400000,0.0442143],[1154476800000,0.0440056],[1154563200000,0.0440018],[1154649600000,0.0439554],[1154736000000,0.0437489],[1154822400000,0.0437489],[1154908800000,0.0437489],[1154995200000,0.0438848],[1155081600000,0.0438977],[1155168000000,0.0438948],[1155254400000,0.0439831],[1155340800000,0.0435286],[1155427200000,0.0435286],[1155513600000,0.0435286],[1155600000000,0.0432964],[1155686400000,0.0433144],[1155772800000,0.0434463],[1155859200000,0.0437796],[1155945600000,0.0435853],[1156032000000,0.0435853],[1156118400000,0.0435853],[1156204800000,0.0436599],[1156291200000,0.0433737],[1156377600000,0.043397],[1156464000000,0.043397],[1156550400000,0.043397],[1156636800000,0.043397],[1156723200000,0.043397],[1156809600000,0.0431365],[1156896000000,0.0432529],[1156982400000,0.0431309],[1157068800000,0.0431041],[1157155200000,0.0430644],[1157241600000,0.0430644],[1157328000000,0.0430644],[1157414400000,0.0434946],[1157500800000,0.0435714],[1157587200000,0.043292],[1157673600000,0.0434256],[1157760000000,0.0434052],[1157846400000,0.0434052],[1157932800000,0.0434052],[1158019200000,0.0430472],[1158105600000,0.0429329],[1158192000000,0.0428995],[1158278400000,0.0429544],[1158364800000,0.042933],[1158451200000,0.042933],[1158537600000,0.042933],[1158624000000,0.04279],[1158710400000,0.0429425],[1158796800000,0.043049],[1158883200000,0.0431951],[1158969600000,0.0434723],[1159056000000,0.0434723],[1159142400000,0.0434723],[1159228800000,0.0433381],[1159315200000,0.0433672],[1159401600000,0.0430183],[1159488000000,0.0429235],[1159574400000,0.0428104],[1159660800000,0.0428104],[1159747200000,0.0428104],[1159833600000,0.042709],[1159920000000,0.0429213],[1160006400000,0.0427598],[1160092800000,0.042985],[1160179200000,0.0427866],[1160265600000,0.0427866],[1160352000000,0.0427866],[1160438400000,0.0424047],[1160524800000,0.0422197],[1160611200000,0.0422394],[1160697600000,0.0422243],[1160784000000,0.0422968],[1160870400000,0.0422968],[1160956800000,0.0422968],[1161043200000,0.0423796],[1161129600000,0.0425413],[1161216000000,0.0425601],[1161302400000,0.0425497],[1161388800000,0.0426826],[1161475200000,0.0426826],[1161561600000,0.0426826],[1161648000000,0.0423538],[1161734400000,0.042227],[1161820800000,0.0423724],[1161907200000,0.0424851],[1161993600000,0.0426255],[1162080000000,0.0426255],[1162166400000,0.0426255],[1162252800000,0.0430521],[1162339200000,0.0428604],[1162425600000,0.0431673],[1162512000000,0.0431549],[1162598400000,0.0430678],[1162684800000,0.0430678],[1162771200000,0.0430678],[1162857600000,0.0426355],[1162944000000,0.0428362],[1163030400000,0.0429124],[1163116800000,0.0427493],[1163203200000,0.0429736],[1163289600000,0.0429736],[1163376000000,0.0429736],[1163462400000,0.0428289],[1163548800000,0.0429223],[1163635200000,0.0427784],[1163721600000,0.042776],[1163808000000,0.042673],[1163894400000,0.042673],[1163980800000,0.042673],[1164067200000,0.0427836],[1164153600000,0.0427868],[1164240000000,0.043167],[1164326400000,0.0434318],[1164412800000,0.0436337],[1164499200000,0.0436337],[1164585600000,0.0436337],[1164672000000,0.0435009],[1164758400000,0.0433965],[1164844800000,0.0434239],[1164931200000,0.0434862],[1165017600000,0.043495],[1165104000000,0.043495],[1165190400000,0.043495],[1165276800000,0.0436743],[1165363200000,0.0440759],[1165449600000,0.0439105],[1165536000000,0.0439261],[1165622400000,0.0436824],[1165708800000,0.0436824],[1165795200000,0.0436824],[1165881600000,0.0431179],[1165968000000,0.0431665],[1166054400000,0.0431236],[1166140800000,0.0429693],[1166227200000,0.0426892],[1166313600000,0.0426892],[1166400000000,0.0426892],[1166486400000,0.0428468],[1166572800000,0.0427373],[1166659200000,0.0427405],[1166745600000,0.0427006],[1166832000000,0.0426338],[1166918400000,0.0426338],[1167004800000,0.0426338],[1167091200000,0.0426338],[1167177600000,0.0426338],[1167264000000,0.0425708],[1167350400000,0.0424773],[1167436800000,0.042381]], 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: [[1137283200000, 0.043676],[1137283200000, 0.043676],[1139961600000, 0.042826],[1142380800000, 0.043078],[1145059200000, 0.043036],[1147651200000, 0.045050],[1150329600000, 0.044081],[1152921600000, 0.043692],[1155600000000, 0.043606],[1158278400000, 0.043159],[1160870400000, 0.042574],[1163548800000, 0.043039],[1166140800000, 0.043089]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });