$(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: 'Курс KZT, грн'}, 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: 'Курс KZT', data: [[1104883200000,0.037751],[1104969600000,0.040809],[1105056000000,0.040808],[1105142400000,null],[1105228800000,0.040808],[1105315200000,null],[1105401600000,0.040794],[1105488000000,0.040803],[1105574400000,0.040803],[1105660800000,0.040805],[1105747200000,0.040804],[1105833600000,0.040804],[1105920000000,0.040804],[1106006400000,0.040807],[1106092800000,0.040809],[1106179200000,0.040798],[1106265600000,0.040798],[1106352000000,0.04078],[1106438400000,0.04078],[1106524800000,0.04078],[1106611200000,null],[1106697600000,0.040722],[1106784000000,0.040641],[1106870400000,0.0406],[1106956800000,0.040683],[1107043200000,0.040683],[1107129600000,0.040801],[1107216000000,0.040801],[1107302400000,0.040783],[1107388800000,0.040742],[1107475200000,0.040754],[1107561600000,0.040783],[1107648000000,0.040783],[1107734400000,0.040783],[1107820800000,0.040826],[1107907200000,0.040776],[1107993600000,0.040708],[1108080000000,0.040776],[1108166400000,0.040774],[1108252800000,0.040774],[1108339200000,0.040774],[1108425600000,0.040686],[1108512000000,0.040593],[1108598400000,0.040578],[1108684800000,0.040634],[1108771200000,0.040747],[1108857600000,0.040747],[1108944000000,0.040747],[1109030400000,0.040734],[1109116800000,0.040737],[1109203200000,0.040731],[1109289600000,0.040718],[1109376000000,0.040715],[1109462400000,0.040715],[1109548800000,0.040715],[1109635200000,0.040705],[1109721600000,0.040694],[1109808000000,0.04063],[1109894400000,0.040627],[1109980800000,0.040663],[1110067200000,0.040751],[1110153600000,0.040751],[1110240000000,0.040751],[1110326400000,0.040751],[1110412800000,0.040788],[1110499200000,0.040781],[1110585600000,0.040751],[1110672000000,0.040751],[1110758400000,0.040751],[1110844800000,0.040761],[1110931200000,0.040754],[1111017600000,0.040602],[1111104000000,0.040609],[1111190400000,0.040573],[1111276800000,0.040573],[1111363200000,0.040573],[1111449600000,null],[1111536000000,0.040608],[1111622400000,0.040485],[1111708800000,0.040409],[1111795200000,0.040385],[1111881600000,0.040385],[1111968000000,0.040385],[1112054400000,0.040103],[1112140800000,0.039886],[1112227200000,0.039828],[1112313600000,0.039839],[1112400000000,0.039851],[1112486400000,0.039851],[1112572800000,0.039851],[1112659200000,0.039954],[1112745600000,0.040225],[1112832000000,0.040187],[1112918400000,0.040164],[1113004800000,0.040183],[1113091200000,0.040183],[1113177600000,0.040183],[1113264000000,0.04028],[1113350400000,0.04031],[1113436800000,0.040264],[1113523200000,0.040291],[1113609600000,0.04013],[1113696000000,0.04013],[1113782400000,0.04013],[1113868800000,0.039966],[1113955200000,0.039513],[1114041600000,0.038464],[1114128000000,0.038473],[1114214400000,0.038421],[1114300800000,0.038421],[1114387200000,0.038421],[1114473600000,0.038421],[1114560000000,0.038191],[1114646400000,0.038462],[1114732800000,0.038324],[1114819200000,0.038371],[1114905600000,0.038371],[1114992000000,0.038371],[1115078400000,0.038371],[1115164800000,0.038371],[1115251200000,0.038459],[1115337600000,0.038503],[1115424000000,0.038647],[1115510400000,0.038647],[1115596800000,0.038647],[1115683200000,0.038647],[1115769600000,0.038662],[1115856000000,0.038656],[1115942400000,0.038511],[1116028800000,0.038289],[1116115200000,0.038289],[1116201600000,0.038289],[1116288000000,0.038365],[1116374400000,0.038479],[1116460800000,0.038763],[1116547200000,0.038688],[1116633600000,0.038591],[1116720000000,0.038591],[1116806400000,0.038591],[1116892800000,0.038348],[1116979200000,0.038348],[1117065600000,0.038301],[1117152000000,0.038168],[1117238400000,0.038179],[1117324800000,0.038179],[1117411200000,0.038179],[1117497600000,0.038116],[1117584000000,0.038139],[1117670400000,0.038473],[1117756800000,0.038377],[1117843200000,0.038114],[1117929600000,0.038114],[1118016000000,0.038114],[1118102400000,0.038235],[1118188800000,0.038212],[1118275200000,0.038125],[1118361600000,0.038116],[1118448000000,0.037933],[1118534400000,0.037933],[1118620800000,0.037933],[1118707200000,0.037763],[1118793600000,0.037724],[1118880000000,0.037738],[1118966400000,null],[1119052800000,0.037696],[1119139200000,0.037696],[1119225600000,0.037696],[1119312000000,null],[1119398400000,0.037444],[1119484800000,0.037257],[1119571200000,0.037169],[1119657600000,0.037306],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.037372],[1120176000000,null],[1120262400000,0.037389],[1120348800000,0.037389],[1120435200000,0.037389],[1120521600000,0.037389],[1120608000000,0.037224],[1120694400000,0.03721],[1120780800000,0.037306],[1120867200000,0.037364],[1120953600000,0.037364],[1121040000000,0.037364],[1121126400000,0.037331],[1121212800000,0.037221],[1121299200000,0.03721],[1121385600000,0.03724],[1121472000000,0.037254],[1121558400000,0.037254],[1121644800000,0.037254],[1121731200000,0.037224],[1121817600000,0.037136],[1121904000000,0.037121],[1121990400000,0.037214],[1122076800000,0.037209],[1122163200000,0.037209],[1122249600000,0.037209],[1122336000000,0.037212],[1122422400000,0.037198],[1122508800000,0.037231],[1122595200000,0.037212],[1122681600000,0.037176],[1122768000000,0.037176],[1122854400000,0.037176],[1122940800000,0.037168],[1123027200000,0.037162],[1123113600000,0.037182],[1123200000000,0.037283],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.03725],[1123718400000,0.037247],[1123804800000,0.037313],[1123891200000,0.037344],[1123977600000,0.037344],[1124064000000,0.037344],[1124150400000,0.037394],[1124236800000,0.037294],[1124323200000,0.037275],[1124409600000,0.037228],[1124496000000,0.037305],[1124582400000,0.037305],[1124668800000,0.037305],[1124755200000,0.037278],[1124841600000,0.03725],[1124928000000,0.03725],[1125014400000,0.037313],[1125100800000,0.037302],[1125187200000,0.037302],[1125273600000,0.037302],[1125360000000,0.037338],[1125446400000,0.037338],[1125532800000,0.037319],[1125619200000,0.037311],[1125705600000,0.037391],[1125792000000,0.037391],[1125878400000,0.037391],[1125964800000,0.037405],[1126051200000,0.037491],[1126137600000,0.037577],[1126224000000,0.037588],[1126310400000,0.037597],[1126396800000,0.037597],[1126483200000,0.037597],[1126569600000,null],[1126656000000,null],[1126742400000,0.037661],[1126828800000,null],[1126915200000,null],[1127001600000,0.037678],[1127088000000,0.037678],[1127174400000,0.037636],[1127260800000,0.037658],[1127347200000,0.037684],[1127433600000,0.037701],[1127520000000,0.037709],[1127606400000,0.037709],[1127692800000,0.037709],[1127779200000,0.037656],[1127865600000,0.037675],[1127952000000,0.037718],[1128038400000,0.037718],[1128124800000,0.037734],[1128211200000,0.037734],[1128297600000,0.037734],[1128384000000,0.037771],[1128470400000,0.03778],[1128556800000,0.037782],[1128643200000,0.037808],[1128729600000,0.037797],[1128816000000,0.037797],[1128902400000,0.037797],[1128988800000,0.03778],[1129075200000,0.03776],[1129161600000,0.03776],[1129248000000,0.037729],[1129334400000,0.037715],[1129420800000,0.037715],[1129507200000,0.037715],[1129593600000,0.037667],[1129680000000,0.037622],[1129766400000,0.037622],[1129852800000,0.037681],[1129939200000,0.037768],[1130025600000,0.037768],[1130112000000,0.037768],[1130198400000,0.037743],[1130284800000,0.037743],[1130371200000,0.037737],[1130457600000,0.037692],[1130544000000,0.037687],[1130630400000,0.037687],[1130716800000,0.037687],[1130803200000,0.037628],[1130889600000,0.037737],[1130976000000,0.037751],[1131062400000,0.037709],[1131148800000,0.037701],[1131235200000,0.037701],[1131321600000,0.037701],[1131408000000,0.037642],[1131494400000,0.037583],[1131580800000,0.037569],[1131667200000,0.037594],[1131753600000,0.037594],[1131840000000,0.037594],[1131926400000,0.037594],[1132012800000,0.037622],[1132099200000,0.03763],[1132185600000,0.037619],[1132272000000,0.03763],[1132358400000,0.037692],[1132444800000,0.037692],[1132531200000,0.037692],[1132617600000,0.037689],[1132704000000,0.037703],[1132790400000,0.037718],[1132876800000,0.037687],[1132963200000,0.03767],[1133049600000,0.03767],[1133136000000,0.03767],[1133222400000,0.037639],[1133308800000,0.037667],[1133395200000,0.037636],[1133481600000,0.037658],[1133568000000,0.037718],[1133654400000,0.037718],[1133740800000,0.037718],[1133827200000,0.037684],[1133913600000,0.037636],[1134000000000,0.037667],[1134086400000,0.037661],[1134172800000,0.037658],[1134259200000,0.037658],[1134345600000,0.037658],[1134432000000,0.037681],[1134518400000,0.037687],[1134604800000,0.037723],[1134691200000,0.037751],[1134777600000,0.037751],[1134864000000,0.037751],[1134950400000,0.037751],[1135036800000,0.037751],[1135123200000,0.037782],[1135209600000,0.037805],[1135296000000,0.037839],[1135382400000,0.037825],[1135468800000,0.037825],[1135555200000,0.037825],[1135641600000,0.037782],[1135728000000,0.037771],[1135814400000,0.037749],[1135900800000,0.037692]], 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.040645],[1105747200000, 0.040645],[1108425600000, 0.040737],[1110844800000, 0.040569],[1113523200000, 0.039515],[1116115200000, 0.038439],[1118793600000, 0.037862],[1121385600000, 0.037256],[1124064000000, 0.037281],[1126742400000, 0.037586],[1129334400000, 0.037735],[1132012800000, 0.037660],[1134604800000, 0.037727]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });