$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1104883200000,0.205431],[1104969600000,0.230556],[1105056000000,0.229765],[1105142400000,null],[1105228800000,0.229765],[1105315200000,null],[1105401600000,0.229819],[1105488000000,0.230376],[1105574400000,0.228636],[1105660800000,0.230978],[1105747200000,0.228688],[1105833600000,0.228688],[1105920000000,0.228688],[1106006400000,0.228508],[1106092800000,0.228045],[1106179200000,0.225908],[1106265600000,0.225908],[1106352000000,0.22638],[1106438400000,0.22638],[1106524800000,0.22638],[1106611200000,null],[1106697600000,0.229483],[1106784000000,0.22978],[1106870400000,0.228752],[1106956800000,0.228754],[1107043200000,0.228754],[1107129600000,0.229375],[1107216000000,0.229375],[1107302400000,0.230077],[1107388800000,0.230209],[1107475200000,0.229244],[1107561600000,0.229251],[1107648000000,0.229251],[1107734400000,0.229251],[1107820800000,0.227311],[1107907200000,0.225871],[1107993600000,0.225981],[1108080000000,0.225789],[1108166400000,0.226588],[1108252800000,0.226588],[1108339200000,0.226588],[1108425600000,0.228532],[1108512000000,0.229304],[1108598400000,0.229859],[1108684800000,0.230467],[1108771200000,0.231141],[1108857600000,0.231141],[1108944000000,0.231141],[1109030400000,0.2312],[1109116800000,0.234247],[1109203200000,0.23372],[1109289600000,0.235314],[1109376000000,0.234705],[1109462400000,0.234705],[1109548800000,0.234705],[1109635200000,0.236186],[1109721600000,0.236345],[1109808000000,0.234145],[1109894400000,0.235406],[1109980800000,0.234226],[1110067200000,0.234226],[1110153600000,0.234226],[1110240000000,0.234226],[1110326400000,0.234226],[1110412800000,0.241043],[1110499200000,0.240751],[1110585600000,0.241056],[1110672000000,0.241056],[1110758400000,0.241056],[1110844800000,0.23908],[1110931200000,0.239155],[1111017600000,0.237161],[1111104000000,0.236206],[1111190400000,0.236196],[1111276800000,0.236196],[1111363200000,0.236196],[1111449600000,null],[1111536000000,0.233092],[1111622400000,0.229119],[1111708800000,0.227794],[1111795200000,0.227794],[1111881600000,0.227794],[1111968000000,0.227794],[1112054400000,0.227794],[1112140800000,0.225992],[1112227200000,0.227188],[1112313600000,0.228535],[1112400000000,0.227869],[1112486400000,0.227869],[1112572800000,0.227869],[1112659200000,0.226585],[1112745600000,0.225489],[1112832000000,0.226454],[1112918400000,0.227535],[1113004800000,0.225601],[1113091200000,0.225601],[1113177600000,0.225601],[1113264000000,0.228599],[1113350400000,0.228768],[1113436800000,0.227254],[1113523200000,0.224884],[1113609600000,0.22383],[1113696000000,0.22383],[1113782400000,0.22383],[1113868800000,0.224206],[1113955200000,0.221661],[1114041600000,0.218167],[1114128000000,0.218383],[1114214400000,0.218108],[1114300800000,0.218108],[1114387200000,0.218108],[1114473600000,0.215708],[1114560000000,0.216729],[1114646400000,0.215868],[1114732800000,0.213533],[1114819200000,0.214541],[1114905600000,0.214541],[1114992000000,0.214541],[1115078400000,0.214541],[1115164800000,0.214541],[1115251200000,0.216972],[1115337600000,0.218343],[1115424000000,0.218677],[1115510400000,0.218677],[1115596800000,0.218677],[1115683200000,0.218677],[1115769600000,0.216124],[1115856000000,0.216486],[1115942400000,0.215481],[1116028800000,0.212689],[1116115200000,0.212689],[1116201600000,0.212689],[1116288000000,0.211278],[1116374400000,0.210809],[1116460800000,0.210572],[1116547200000,0.211363],[1116633600000,0.210534],[1116720000000,0.210534],[1116806400000,0.210534],[1116892800000,0.208761],[1116979200000,0.20993],[1117065600000,0.207714],[1117152000000,0.207382],[1117238400000,0.207703],[1117324800000,0.207703],[1117411200000,0.207703],[1117497600000,0.206659],[1117584000000,0.205029],[1117670400000,0.203297],[1117756800000,0.204215],[1117843200000,0.205876],[1117929600000,0.205876],[1118016000000,0.205876],[1118102400000,0.205666],[1118188800000,0.206363],[1118275200000,0.207011],[1118361600000,0.205747],[1118448000000,0.206038],[1118534400000,0.206038],[1118620800000,0.206038],[1118707200000,0.203258],[1118793600000,0.203714],[1118880000000,0.203716],[1118966400000,null],[1119052800000,0.205986],[1119139200000,0.205986],[1119225600000,0.205986],[1119312000000,null],[1119398400000,0.204343],[1119484800000,0.204952],[1119571200000,0.204732],[1119657600000,0.204003],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.202907],[1120176000000,null],[1120262400000,0.203734],[1120348800000,0.203734],[1120435200000,0.203734],[1120521600000,0.200327],[1120608000000,0.199736],[1120694400000,0.200447],[1120780800000,0.199626],[1120867200000,0.198938],[1120953600000,0.198938],[1121040000000,0.198938],[1121126400000,0.201188],[1121212800000,0.203565],[1121299200000,0.203362],[1121385600000,0.201682],[1121472000000,0.201809],[1121558400000,0.201809],[1121644800000,0.201809],[1121731200000,0.202046],[1121817600000,0.200255],[1121904000000,0.201556],[1121990400000,0.203992],[1122076800000,0.203],[1122163200000,0.203],[1122249600000,0.203],[1122336000000,0.201809],[1122422400000,0.20016],[1122508800000,0.200217],[1122595200000,0.202428],[1122681600000,0.202553],[1122768000000,0.202553],[1122854400000,0.202553],[1122940800000,0.205187],[1123027200000,0.205619],[1123113600000,0.208268],[1123200000000,0.208133],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.211958],[1123718400000,0.212873],[1123804800000,0.213304],[1123891200000,0.213479],[1123977600000,0.213479],[1124064000000,0.213479],[1124150400000,0.212417],[1124236800000,0.21183],[1124323200000,0.210891],[1124409600000,0.20971],[1124496000000,0.209195],[1124582400000,0.209195],[1124668800000,0.209195],[1124755200000,0.209712],[1124841600000,0.208255],[1124928000000,0.208255],[1125014400000,0.208679],[1125100800000,0.209726],[1125187200000,0.209726],[1125273600000,0.209726],[1125360000000,0.20954],[1125446400000,0.208057],[1125532800000,0.208333],[1125619200000,0.213222],[1125705600000,0.216261],[1125792000000,0.216261],[1125878400000,0.216261],[1125964800000,0.217898],[1126051200000,0.216332],[1126137600000,0.214959],[1126224000000,0.214969],[1126310400000,0.214932],[1126396800000,0.214932],[1126483200000,0.214932],[1126569600000,null],[1126656000000,null],[1126742400000,0.212659],[1126828800000,null],[1126915200000,null],[1127001600000,0.212662],[1127088000000,0.212662],[1127174400000,0.210118],[1127260800000,0.209031],[1127347200000,0.210037],[1127433600000,0.209578],[1127520000000,0.20743],[1127606400000,0.20743],[1127692800000,0.20743],[1127779200000,0.205829],[1127865600000,0.206342],[1127952000000,0.205938],[1128038400000,0.205735],[1128124800000,0.205773],[1128211200000,0.205773],[1128297600000,0.205773],[1128384000000,0.203607],[1128470400000,0.203617],[1128556800000,0.203956],[1128643200000,0.20474],[1128729600000,0.206921],[1128816000000,0.206921],[1128902400000,0.206921],[1128988800000,0.206433],[1129075200000,0.205522],[1129161600000,0.205102],[1129248000000,0.203563],[1129334400000,0.204202],[1129420800000,0.204202],[1129507200000,0.204202],[1129593600000,0.204449],[1129680000000,0.202533],[1129766400000,0.202903],[1129852800000,0.202968],[1129939200000,0.203675],[1130025600000,0.203675],[1130112000000,0.203675],[1130198400000,0.20259],[1130284800000,0.204522],[1130371200000,0.204438],[1130457600000,0.206369],[1130544000000,0.206456],[1130630400000,0.206456],[1130716800000,0.206456],[1130803200000,0.205157],[1130889600000,0.204535],[1130976000000,0.204932],[1131062400000,0.206504],[1131148800000,0.205272],[1131235200000,0.205272],[1131321600000,0.205272],[1131408000000,0.20357],[1131494400000,0.202749],[1131580800000,0.202462],[1131667200000,0.202241],[1131753600000,0.202073],[1131840000000,0.202073],[1131926400000,0.202073],[1132012800000,0.202197],[1132099200000,0.20119],[1132185600000,0.201376],[1132272000000,0.201215],[1132358400000,0.200971],[1132444800000,0.200971],[1132531200000,0.200971],[1132617600000,0.203916],[1132704000000,0.201879],[1132790400000,0.203382],[1132876800000,0.204068],[1132963200000,0.204247],[1133049600000,0.204247],[1133136000000,0.204247],[1133222400000,0.204455],[1133308800000,0.205432],[1133395200000,0.205418],[1133481600000,0.204822],[1133568000000,0.204224],[1133654400000,0.204224],[1133740800000,0.204224],[1133827200000,0.205234],[1133913600000,0.205605],[1134000000000,0.204014],[1134086400000,0.204166],[1134172800000,0.204953],[1134259200000,0.204953],[1134345600000,0.204953],[1134432000000,0.207017],[1134518400000,0.207609],[1134604800000,0.209415],[1134691200000,0.209295],[1134777600000,0.20849],[1134864000000,0.20849],[1134950400000,0.20849],[1135036800000,0.209055],[1135123200000,0.208577],[1135209600000,0.207065],[1135296000000,0.206886],[1135382400000,0.207031],[1135468800000,0.207031],[1135555200000,0.207031],[1135641600000,0.207031],[1135728000000,0.206995],[1135814400000,0.208077],[1135900800000,0.205847]], 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.227658],[1105747200000, 0.227658],[1108425600000, 0.230056],[1110844800000, 0.234424],[1113523200000, 0.222971],[1116115200000, 0.212694],[1118793600000, 0.205111],[1121385600000, 0.201665],[1124064000000, 0.209720],[1126742400000, 0.211622],[1129334400000, 0.204787],[1132012800000, 0.203298],[1134604800000, 0.206541]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });