$(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: 'Курс RUB, грн'}, 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: 'Курс RUB', data: [[978307200000,0.19299],[978393600000,0.19299],[978480000000,0.19299],[978566400000,0.19298],[978652800000,0.19082],[978739200000,0.19115],[978825600000,0.19115],[978912000000,0.19115],[978998400000,0.19115],[979084800000,0.19141],[979171200000,0.19147],[979257600000,0.19139],[979344000000,0.19165],[979430400000,0.19165],[979516800000,0.19165],[979603200000,0.19165],[979689600000,0.19186],[979776000000,0.19138],[979862400000,0.19157],[979948800000,0.1917],[980035200000,0.1917],[980121600000,0.1917],[980208000000,0.19149],[980294400000,0.19135],[980380800000,0.19131],[980467200000,0.19125],[980553600000,0.19152],[980640000000,0.19152],[980726400000,0.19152],[980812800000,0.19149],[980899200000,0.19142],[980985600000,0.19121],[981072000000,0.19095],[981158400000,0.19089],[981244800000,null],[981331200000,0.19089],[981417600000,0.19095],[981504000000,0.19088],[981590400000,0.19073],[981676800000,0.19053],[981763200000,0.18991],[981849600000,0.18991],[981936000000,0.18991],[982022400000,0.18931],[982108800000,0.18931],[982195200000,0.18937],[982281600000,0.1893],[982368000000,0.18942],[982454400000,0.18942],[982540800000,0.18942],[982627200000,0.18942],[982713600000,0.18924],[982800000000,0.18949],[982886400000,0.18977],[982972800000,0.1893],[983059200000,0.1893],[983145600000,0.1893],[983232000000,0.18876],[983318400000,0.18903],[983404800000,0.18968],[983491200000,0.18968],[983577600000,0.18947],[983664000000,0.18947],[983750400000,0.18947],[983836800000,0.18937],[983923200000,0.1894],[984009600000,0.18947],[984096000000,0.18947],[984182400000,0.18947],[984268800000,0.18947],[984355200000,0.18947],[984441600000,0.18905],[984528000000,0.18918],[984614400000,0.18908],[984700800000,0.18908],[984787200000,0.18906],[984873600000,0.18906],[984960000000,0.18906],[985046400000,0.18913],[985132800000,0.18933],[985219200000,0.18912],[985305600000,0.18839],[985392000000,0.18842],[985478400000,0.18842],[985564800000,0.18842],[985651200000,0.1884],[985737600000,0.18863],[985824000000,0.18841],[985910400000,0.18863],[985996800000,0.18856],[986083200000,0.18856],[986169600000,0.18856],[986256000000,0.18838],[986342400000,0.18782],[986428800000,0.18782],[986515200000,0.18782],[986601600000,0.1878],[986688000000,0.1878],[986774400000,0.1878],[986860800000,0.18792],[986947200000,0.18823],[987033600000,0.1877],[987120000000,0.18774],[987206400000,0.18799],[987292800000,0.18799],[987379200000,0.18799],[987465600000,0.18799],[987552000000,0.18777],[987638400000,0.18777],[987724800000,0.18746],[987811200000,0.18757],[987897600000,null],[987984000000,0.18757],[988070400000,0.18782],[988156800000,0.18775],[988243200000,0.18742],[988329600000,0.18767],[988416000000,0.18785],[988502400000,0.18785],[988588800000,0.18785],[988675200000,0.18785],[988761600000,0.18785],[988848000000,0.18785],[988934400000,0.18752],[989020800000,0.187],[989107200000,0.187],[989193600000,0.187],[989280000000,0.18698],[989366400000,0.18696],[989452800000,0.18696],[989539200000,0.18702],[989625600000,0.18702],[989712000000,0.18693],[989798400000,0.18693],[989884800000,0.18672],[989971200000,0.18639],[990057600000,0.18651],[990144000000,0.18618],[990230400000,0.18605],[990316800000,0.18605],[990403200000,0.18605],[990489600000,0.18605],[990576000000,0.18611],[990662400000,0.18617],[990748800000,0.18609],[990835200000,0.18619],[990921600000,0.18619],[991008000000,0.18619],[991094400000,0.18619],[991180800000,0.18611],[991267200000,0.18615],[991353600000,0.18582],[991440000000,0.18575],[991526400000,0.18575],[991612800000,0.18575],[991699200000,0.18575],[991785600000,0.18567],[991872000000,0.18566],[991958400000,0.18567],[992044800000,0.18577],[992131200000,0.18577],[992217600000,0.18577],[992304000000,0.18571],[992390400000,0.18566],[992476800000,0.18568],[992563200000,0.18579],[992649600000,0.18586],[992736000000,0.18586],[992822400000,0.18586],[992908800000,0.18588],[992995200000,0.18545],[993081600000,0.18501],[993168000000,0.18535],[993254400000,0.18511],[993340800000,0.18511],[993427200000,0.18511],[993513600000,0.18503],[993600000000,0.185],[993686400000,0.18485],[993772800000,0.18485],[993859200000,0.18485],[993945600000,0.18485],[994032000000,0.18485],[994118400000,0.18485],[994204800000,0.18485],[994291200000,0.18439],[994377600000,0.18462],[994464000000,0.18445],[994550400000,null],[994636800000,null],[994723200000,0.18407],[994809600000,0.18394],[994896000000,0.18407],[994982400000,0.18392],[995068800000,0.18392],[995155200000,0.18392],[995241600000,0.18392],[995328000000,0.18371],[995414400000,0.18383],[995500800000,0.18381],[995587200000,0.18346],[995673600000,0.18334],[995760000000,0.18334],[995846400000,0.18334],[995932800000,0.18348],[996019200000,0.18316],[996105600000,0.18324],[996192000000,0.18327],[996278400000,0.18307],[996364800000,0.18307],[996451200000,0.18307],[996537600000,0.1829],[996624000000,0.18259],[996710400000,0.18274],[996796800000,0.18251],[996883200000,0.18228],[996969600000,0.18228],[997056000000,0.18228],[997142400000,0.18236],[997228800000,0.18254],[997315200000,0.18254],[997401600000,null],[997488000000,0.18235],[997574400000,0.18235],[997660800000,0.18235],[997747200000,0.18253],[997833600000,0.18241],[997920000000,0.18233],[998006400000,0.18221],[998092800000,0.18211],[998179200000,0.18211],[998265600000,0.18211],[998352000000,0.18199],[998438400000,0.18206],[998524800000,0.18194],[998611200000,0.1818],[998697600000,0.1818],[998784000000,0.1818],[998870400000,0.1818],[998956800000,0.18187],[999043200000,0.18187],[999129600000,0.18183],[999216000000,0.18183],[999302400000,0.18154],[999388800000,0.18154],[999475200000,0.18154],[999561600000,0.18154],[999648000000,0.18135],[999734400000,0.18131],[999820800000,0.1813],[999907200000,0.18144],[999993600000,0.18144],[1000080000000,0.18144],[1000166400000,0.1815],[1000252800000,0.18146],[1000339200000,0.1814],[1000425600000,0.18127],[1000512000000,0.1814],[1000598400000,0.1814],[1000684800000,0.1814],[1000771200000,0.18145],[1000857600000,0.18151],[1000944000000,0.18134],[1001030400000,0.18142],[1001116800000,0.18142],[1001203200000,0.18142],[1001289600000,0.18158],[1001376000000,0.18141],[1001462400000,0.18142],[1001548800000,0.18134],[1001635200000,0.18139],[1001721600000,0.18139],[1001808000000,0.18139],[1001894400000,0.18139],[1001980800000,0.18118],[1002067200000,0.18105],[1002153600000,0.18082],[1002240000000,0.18031],[1002326400000,0.18031],[1002412800000,0.18031],[1002499200000,0.18031],[1002585600000,0.18031],[1002672000000,0.18024],[1002758400000,0.18026],[1002844800000,0.18001],[1002931200000,0.18001],[1003017600000,0.18001],[1003104000000,0.18001],[1003190400000,0.18004],[1003276800000,0.18004],[1003363200000,0.1795],[1003449600000,0.1794],[1003536000000,0.1794],[1003622400000,0.1794],[1003708800000,0.17937],[1003795200000,0.17937],[1003881600000,0.17937],[1003968000000,0.17909],[1004054400000,0.17868],[1004140800000,0.17868],[1004227200000,0.17868],[1004313600000,0.17868],[1004400000000,0.17838],[1004486400000,0.17836],[1004572800000,0.17836],[1004659200000,0.17808],[1004745600000,0.17808],[1004832000000,0.17808],[1004918400000,0.17808],[1005004800000,0.17819],[1005091200000,0.1785],[1005177600000,0.17845],[1005264000000,0.17817],[1005350400000,0.17817],[1005436800000,0.17817],[1005523200000,0.17817],[1005609600000,0.17817],[1005696000000,0.17814],[1005782400000,0.17801],[1005868800000,0.1775],[1005955200000,0.1775],[1006041600000,0.1775],[1006128000000,0.1775],[1006214400000,0.17729],[1006300800000,0.17654],[1006387200000,0.17643],[1006473600000,0.1763],[1006560000000,0.1763],[1006646400000,0.1763],[1006732800000,0.1763],[1006819200000,0.17616],[1006905600000,0.17628],[1006992000000,0.17635],[1007078400000,0.17681],[1007164800000,0.17681],[1007251200000,0.17681],[1007337600000,0.17681],[1007424000000,0.17666],[1007510400000,0.17674],[1007596800000,0.17674],[1007683200000,0.17706],[1007769600000,0.17688],[1007856000000,0.17688],[1007942400000,0.17688],[1008028800000,0.17606],[1008115200000,0.17609],[1008201600000,0.17609],[1008288000000,0.17546],[1008374400000,0.17546],[1008460800000,0.17546],[1008547200000,0.17546],[1008633600000,0.17477],[1008720000000,0.17488],[1008806400000,0.17488],[1008892800000,0.17597],[1008979200000,0.17597],[1009065600000,0.17597],[1009152000000,0.17597],[1009238400000,0.1757],[1009324800000,0.1757],[1009411200000,0.17521],[1009497600000,0.17581],[1009584000000,0.17581],[1009670400000,0.17581]], 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: [[979516800000, 0.191646],[979516800000, 0.191646],[982195200000, 0.189849],[984614400000, 0.189075],[987292800000, 0.187871],[989884800000, 0.186654],[992563200000, 0.185505],[995155200000, 0.183818],[997833600000, 0.182186],[1000512000000, 0.181425],[1003104000000, 0.179773],[1005782400000, 0.177463],[1008374400000, 0.176020]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });