$(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: 'Курс EUR, грн'}, 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: 'Курс EUR', data: [[978307200000,5.0568],[978393600000,5.0568],[978480000000,5.12093],[978566400000,5.17889],[978652800000,5.13995],[978739200000,5.18704],[978825600000,5.18704],[978912000000,5.18704],[978998400000,5.18704],[979084800000,5.1085],[979171200000,5.11448],[979257600000,5.17432],[979344000000,5.18618],[979430400000,5.18618],[979516800000,5.18618],[979603200000,5.12261],[979689600000,5.11392],[979776000000,5.10513],[979862400000,5.10919],[979948800000,5.10674],[980035200000,5.10674],[980121600000,5.10674],[980208000000,5.04679],[980294400000,5.11035],[980380800000,5.04794],[980467200000,4.96756],[980553600000,5.0121],[980640000000,5.0121],[980726400000,5.0121],[980812800000,4.99244],[980899200000,4.99452],[980985600000,5.04656],[981072000000,5.10793],[981158400000,5.10866],[981244800000,null],[981331200000,5.10866],[981417600000,5.11843],[981504000000,5.06241],[981590400000,5.06348],[981676800000,5.00646],[981763200000,5.00989],[981849600000,5.00989],[981936000000,5.00989],[982022400000,5.04273],[982108800000,5.04273],[982195200000,4.98292],[982281600000,4.93496],[982368000000,4.94727],[982454400000,4.94727],[982540800000,4.94727],[982627200000,5.00155],[982713600000,4.92438],[982800000000,4.96536],[982886400000,4.91677],[982972800000,4.92085],[983059200000,4.92085],[983145600000,4.92085],[983232000000,4.94292],[983318400000,4.97441],[983404800000,5.02028],[983491200000,5.03168],[983577600000,5.08242],[983664000000,5.08242],[983750400000,5.08242],[983836800000,5.0502],[983923200000,5.03154],[984009600000,5.04672],[984096000000,5.04672],[984182400000,5.04672],[984268800000,5.04672],[984355200000,5.07383],[984441600000,5.02542],[984528000000,4.98748],[984614400000,4.97573],[984700800000,4.91178],[984787200000,4.84793],[984873600000,4.84793],[984960000000,4.84793],[985046400000,4.87448],[985132800000,4.88749],[985219200000,4.87105],[985305600000,4.81606],[985392000000,4.83474],[985478400000,4.83474],[985564800000,4.83474],[985651200000,4.84143],[985737600000,4.85127],[985824000000,4.80106],[985910400000,4.85127],[985996800000,4.78624],[986083200000,4.78624],[986169600000,4.78624],[986256000000,4.75425],[986342400000,4.79434],[986428800000,4.89571],[986515200000,4.89571],[986601600000,4.8453],[986688000000,4.8453],[986774400000,4.8453],[986860800000,4.8873],[986947200000,4.84738],[987033600000,4.79022],[987120000000,4.79465],[987206400000,4.79439],[987292800000,4.79439],[987379200000,4.79439],[987465600000,4.79439],[987552000000,4.76384],[987638400000,4.76384],[987724800000,4.7822],[987811200000,4.86943],[987897600000,null],[987984000000,4.86943],[988070400000,4.8762],[988156800000,4.86031],[988243200000,4.84596],[988329600000,4.88153],[988416000000,4.88668],[988502400000,4.88668],[988588800000,4.88668],[988675200000,4.88668],[988761600000,4.88668],[988848000000,4.88668],[988934400000,4.8216],[989020800000,4.841],[989107200000,4.841],[989193600000,4.841],[989280000000,4.82964],[989366400000,4.80032],[989452800000,4.80032],[989539200000,4.79166],[989625600000,4.79166],[989712000000,4.74926],[989798400000,4.74926],[989884800000,4.73367],[989971200000,4.74585],[990057600000,4.7814],[990144000000,4.77094],[990230400000,4.75029],[990316800000,4.75029],[990403200000,4.75029],[990489600000,4.73793],[990576000000,4.70041],[990662400000,4.64629],[990748800000,4.65614],[990835200000,4.64988],[990921600000,4.64988],[991008000000,4.64988],[991094400000,4.64609],[991180800000,4.63159],[991267200000,4.63433],[991353600000,4.59184],[991440000000,4.59058],[991526400000,4.59058],[991612800000,4.59058],[991699200000,4.59058],[991785600000,4.58312],[991872000000,4.62509],[991958400000,4.58358],[992044800000,4.58254],[992131200000,4.58254],[992217600000,4.58254],[992304000000,4.59491],[992390400000,4.58291],[992476800000,4.61866],[992563200000,4.58814],[992649600000,4.67999],[992736000000,4.67999],[992822400000,4.67999],[992908800000,4.63357],[992995200000,4.61948],[993081600000,4.58953],[993168000000,4.60953],[993254400000,4.59378],[993340800000,4.59378],[993427200000,4.59378],[993513600000,4.63427],[993600000000,4.6341],[993686400000,4.64105],[993772800000,4.64105],[993859200000,4.64105],[993945600000,4.64105],[994032000000,4.64105],[994118400000,4.64105],[994204800000,4.64105],[994291200000,4.54814],[994377600000,4.5355],[994464000000,4.51093],[994550400000,null],[994636800000,null],[994723200000,4.54959],[994809600000,4.59439],[994896000000,4.62815],[994982400000,4.58696],[995068800000,4.58696],[995155200000,4.58696],[995241600000,4.58696],[995328000000,4.6089],[995414400000,4.57292],[995500800000,4.63837],[995587200000,4.68425],[995673600000,4.71104],[995760000000,4.71104],[995846400000,4.71104],[995932800000,4.65632],[996019200000,4.67001],[996105600000,4.71296],[996192000000,4.69496],[996278400000,4.695],[996364800000,4.695],[996451200000,4.695],[996537600000,4.68485],[996624000000,4.68699],[996710400000,4.7208],[996796800000,4.7043],[996883200000,4.71262],[996969600000,4.71262],[997056000000,4.71262],[997142400000,4.71111],[997228800000,4.69114],[997315200000,4.68847],[997401600000,null],[997488000000,4.78085],[997574400000,4.78085],[997660800000,4.78085],[997747200000,4.81028],[997833600000,4.79797],[997920000000,4.87563],[998006400000,4.89021],[998092800000,4.88591],[998179200000,4.88591],[998265600000,4.88591],[998352000000,4.89005],[998438400000,4.87764],[998524800000,4.92125],[998611200000,4.86535],[998697600000,4.86535],[998784000000,4.86535],[998870400000,4.86535],[998956800000,4.85224],[999043200000,4.85224],[999129600000,4.86978],[999216000000,4.85709],[999302400000,4.88964],[999388800000,4.88964],[999475200000,4.88964],[999561600000,4.84372],[999648000000,4.7907],[999734400000,4.74753],[999820800000,4.72795],[999907200000,4.7801],[999993600000,4.7801],[1000080000000,4.7801],[1000166400000,4.83246],[1000252800000,4.78866],[1000339200000,4.83567],[1000425600000,4.83994],[1000512000000,4.92488],[1000598400000,4.92488],[1000684800000,4.92488],[1000771200000,4.95141],[1000857600000,4.94446],[1000944000000,4.94423],[1001030400000,4.94366],[1001116800000,4.94366],[1001203200000,4.94366],[1001289600000,4.91142],[1001376000000,4.89083],[1001462400000,4.91723],[1001548800000,4.90755],[1001635200000,4.86783],[1001721600000,4.86783],[1001808000000,4.86783],[1001894400000,4.86783],[1001980800000,4.86545],[1002067200000,4.89958],[1002153600000,4.90904],[1002240000000,4.88305],[1002326400000,4.88305],[1002412800000,4.88305],[1002499200000,4.88305],[1002585600000,4.90434],[1002672000000,4.89141],[1002758400000,4.85825],[1002844800000,4.80051],[1002931200000,4.80051],[1003017600000,4.80051],[1003104000000,4.80051],[1003190400000,4.80616],[1003276800000,4.80616],[1003363200000,4.78748],[1003449600000,4.77603],[1003536000000,4.77603],[1003622400000,4.77603],[1003708800000,4.7524],[1003795200000,4.7524],[1003881600000,4.7524],[1003968000000,4.72209],[1004054400000,4.71784],[1004140800000,4.71784],[1004227200000,4.71784],[1004313600000,4.71784],[1004400000000,4.76761],[1004486400000,4.78656],[1004572800000,4.78656],[1004659200000,4.79452],[1004745600000,4.79452],[1004832000000,4.79452],[1004918400000,4.79452],[1005004800000,4.74879],[1005091200000,4.74754],[1005177600000,4.77426],[1005264000000,4.72692],[1005350400000,4.72692],[1005436800000,4.72692],[1005523200000,4.72692],[1005609600000,4.72109],[1005696000000,4.68113],[1005782400000,4.65714],[1005868800000,4.67547],[1005955200000,4.67547],[1006041600000,4.67547],[1006128000000,4.67547],[1006214400000,4.64543],[1006300800000,4.65934],[1006387200000,4.63743],[1006473600000,4.64095],[1006560000000,4.64095],[1006646400000,4.64095],[1006732800000,4.64095],[1006819200000,4.64938],[1006905600000,4.63655],[1006992000000,4.66109],[1007078400000,4.70393],[1007164800000,4.70393],[1007251200000,4.70393],[1007337600000,4.70393],[1007424000000,4.71909],[1007510400000,4.71949],[1007596800000,4.71949],[1007683200000,4.70895],[1007769600000,4.7206],[1007856000000,4.7206],[1007942400000,4.7206],[1008028800000,4.68829],[1008115200000,4.73419],[1008201600000,4.73419],[1008288000000,4.77433],[1008374400000,4.77433],[1008460800000,4.77433],[1008547200000,4.77433],[1008633600000,4.79181],[1008720000000,4.77221],[1008806400000,4.75686],[1008892800000,4.7338],[1008979200000,4.7338],[1009065600000,4.7338],[1009152000000,4.7338],[1009238400000,4.65608],[1009324800000,4.65608],[1009411200000,4.65696],[1009497600000,4.66957],[1009584000000,4.66957],[1009670400000,4.66957]], 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, 5.104011],[979516800000, 5.104011],[982195200000, 4.999457],[984614400000, 4.940982],[987292800000, 4.831665],[989884800000, 4.754900],[992563200000, 4.611438],[995155200000, 4.635186],[997833600000, 4.809891],[1000512000000, 4.869736],[1003104000000, 4.808479],[1005782400000, 4.702037],[1008374400000, 4.719293]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });