$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1104883200000,3.7412],[1104969600000,3.82759],[1105056000000,3.79056],[1105142400000,null],[1105228800000,3.79056],[1105315200000,null],[1105401600000,3.82863],[1105488000000,3.84307],[1105574400000,3.85124],[1105660800000,3.90649],[1105747200000,3.92146],[1105833600000,3.92146],[1105920000000,3.92146],[1106006400000,3.96693],[1106092800000,3.96676],[1106179200000,3.92535],[1106265600000,3.92535],[1106352000000,3.92793],[1106438400000,3.92793],[1106524800000,3.92793],[1106611200000,null],[1106697600000,3.98029],[1106784000000,3.9751],[1106870400000,3.93877],[1106956800000,3.97861],[1107043200000,3.97861],[1107129600000,3.96864],[1107216000000,3.96864],[1107302400000,3.98382],[1107388800000,3.99025],[1107475200000,4.00338],[1107561600000,4.01534],[1107648000000,4.01534],[1107734400000,4.01534],[1107820800000,4.02719],[1107907200000,3.97757],[1107993600000,3.97859],[1108080000000,3.94974],[1108166400000,4.01153],[1108252800000,4.01153],[1108339200000,4.01153],[1108425600000,4.02963],[1108512000000,4.0489],[1108598400000,4.03482],[1108684800000,4.03748],[1108771200000,4.05487],[1108857600000,4.05487],[1108944000000,4.05487],[1109030400000,4.05461],[1109116800000,4.08359],[1109203200000,4.05072],[1109289600000,4.09826],[1109376000000,4.09398],[1109462400000,4.09398],[1109548800000,4.09398],[1109635200000,4.1301],[1109721600000,4.1337],[1109808000000,4.1219],[1109894400000,4.14948],[1109980800000,4.15272],[1110067200000,4.15272],[1110153600000,4.15272],[1110240000000,4.15272],[1110326400000,4.15272],[1110412800000,4.1418],[1110499200000,4.12598],[1110585600000,4.17899],[1110672000000,4.17899],[1110758400000,4.17899],[1110844800000,4.09505],[1110931200000,4.09512],[1111017600000,3.98092],[1111104000000,3.95895],[1111190400000,4.00466],[1111276800000,4.00466],[1111363200000,4.00466],[1111449600000,null],[1111536000000,3.95924],[1111622400000,3.87683],[1111708800000,3.90095],[1111795200000,3.90095],[1111881600000,3.90095],[1111968000000,3.90095],[1112054400000,3.90095],[1112140800000,3.78827],[1112227200000,3.82996],[1112313600000,3.89584],[1112400000000,3.90567],[1112486400000,3.90567],[1112572800000,3.90567],[1112659200000,3.87275],[1112745600000,3.86158],[1112832000000,3.88481],[1112918400000,3.92791],[1113004800000,3.89709],[1113091200000,3.89709],[1113177600000,3.89709],[1113264000000,3.90382],[1113350400000,3.91513],[1113436800000,3.91275],[1113523200000,3.85657],[1113609600000,3.7896],[1113696000000,3.7896],[1113782400000,3.7896],[1113868800000,3.77427],[1113955200000,3.77022],[1114041600000,3.71672],[1114128000000,3.70195],[1114214400000,3.71799],[1114300800000,3.71799],[1114387200000,3.71799],[1114473600000,3.69516],[1114560000000,3.71159],[1114646400000,3.67314],[1114732800000,3.64222],[1114819200000,3.62891],[1114905600000,3.62891],[1114992000000,3.62891],[1115078400000,3.62891],[1115164800000,3.62891],[1115251200000,3.73062],[1115337600000,3.77004],[1115424000000,3.74126],[1115510400000,3.74126],[1115596800000,3.74126],[1115683200000,3.74126],[1115769600000,3.71014],[1115856000000,3.68871],[1115942400000,3.72451],[1116028800000,3.68868],[1116115200000,3.68868],[1116201600000,3.68868],[1116288000000,3.64708],[1116374400000,3.65474],[1116460800000,3.66721],[1116547200000,3.69756],[1116633600000,3.69546],[1116720000000,3.69546],[1116806400000,3.69546],[1116892800000,3.63721],[1116979200000,3.64007],[1117065600000,3.63496],[1117152000000,3.64334],[1117238400000,3.66797],[1117324800000,3.66797],[1117411200000,3.66797],[1117497600000,3.67594],[1117584000000,3.71815],[1117670400000,3.69737],[1117756800000,3.74581],[1117843200000,3.69921],[1117929600000,3.69921],[1118016000000,3.69921],[1118102400000,3.70557],[1118188800000,3.71438],[1118275200000,3.69939],[1118361600000,3.69561],[1118448000000,3.71232],[1118534400000,3.71232],[1118620800000,3.71232],[1118707200000,3.66625],[1118793600000,3.68372],[1118880000000,3.66838],[1118966400000,null],[1119052800000,3.71013],[1119139200000,3.71013],[1119225600000,3.71013],[1119312000000,null],[1119398400000,3.70792],[1119484800000,3.72504],[1119571200000,3.72344],[1119657600000,3.72974],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,3.74649],[1120176000000,null],[1120262400000,3.78023],[1120348800000,3.78023],[1120435200000,3.78023],[1120521600000,3.75588],[1120608000000,3.74259],[1120694400000,3.74294],[1120780800000,3.72161],[1120867200000,3.7492],[1120953600000,3.7492],[1121040000000,3.7492],[1121126400000,3.76374],[1121212800000,3.77318],[1121299200000,3.79834],[1121385600000,3.78545],[1121472000000,3.79581],[1121558400000,3.79581],[1121644800000,3.79581],[1121731200000,3.78724],[1121817600000,3.78848],[1121904000000,3.78727],[1121990400000,3.80608],[1122076800000,3.76533],[1122163200000,3.76533],[1122249600000,3.76533],[1122336000000,3.77288],[1122422400000,3.72909],[1122508800000,3.76084],[1122595200000,3.77844],[1122681600000,3.79268],[1122768000000,3.79268],[1122854400000,3.79268],[1122940800000,3.82364],[1123027200000,3.81522],[1123113600000,3.83131],[1123200000000,3.83237],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,3.81697],[1123718400000,3.83083],[1123804800000,3.8036],[1123891200000,3.72898],[1123977600000,3.72898],[1124064000000,3.72898],[1124150400000,3.73736],[1124236800000,3.7526],[1124323200000,3.70937],[1124409600000,3.68543],[1124496000000,3.6854],[1124582400000,3.6854],[1124668800000,3.6854],[1124755200000,3.69638],[1124841600000,3.69389],[1124928000000,3.69389],[1125014400000,3.69771],[1125100800000,3.71224],[1125187200000,3.71224],[1125273600000,3.71224],[1125360000000,3.71836],[1125446400000,3.72068],[1125532800000,3.73582],[1125619200000,3.75664],[1125705600000,3.78328],[1125792000000,3.78328],[1125878400000,3.78328],[1125964800000,3.78509],[1126051200000,3.79069],[1126137600000,3.78097],[1126224000000,3.77777],[1126310400000,3.78964],[1126396800000,3.78964],[1126483200000,3.78964],[1126569600000,null],[1126656000000,null],[1126742400000,3.77615],[1126828800000,null],[1126915200000,null],[1127001600000,3.76536],[1127088000000,3.76536],[1127174400000,3.75165],[1127260800000,3.76319],[1127347200000,3.77823],[1127433600000,3.771],[1127520000000,3.76035],[1127606400000,3.76035],[1127692800000,3.76035],[1127779200000,3.73863],[1127865600000,3.75388],[1127952000000,3.73567],[1128038400000,3.7442],[1128124800000,3.74689],[1128211200000,3.74689],[1128297600000,3.74689],[1128384000000,3.71985],[1128470400000,3.7327],[1128556800000,3.7256],[1128643200000,3.70938],[1128729600000,3.73673],[1128816000000,3.73673],[1128902400000,3.73673],[1128988800000,3.75242],[1129075200000,3.74598],[1129161600000,3.71867],[1129248000000,3.67529],[1129334400000,3.67264],[1129420800000,3.67264],[1129507200000,3.67264],[1129593600000,3.70619],[1129680000000,3.70965],[1129766400000,3.67973],[1129852800000,3.69552],[1129939200000,3.70243],[1130025600000,3.70243],[1130112000000,3.70243],[1130198400000,3.70067],[1130284800000,3.70691],[1130371200000,3.72078],[1130457600000,3.73219],[1130544000000,3.73648],[1130630400000,3.73648],[1130716800000,3.73648],[1130803200000,3.74237],[1130889600000,3.72988],[1130976000000,3.74356],[1131062400000,3.74312],[1131148800000,3.74389],[1131235200000,3.74389],[1131321600000,3.74389],[1131408000000,3.70601],[1131494400000,3.69813],[1131580800000,3.70712],[1131667200000,3.69851],[1131753600000,3.70112],[1131840000000,3.70112],[1131926400000,3.70112],[1132012800000,3.70293],[1132099200000,3.70532],[1132185600000,3.71621],[1132272000000,3.71583],[1132358400000,3.6786],[1132444800000,3.6786],[1132531200000,3.6786],[1132617600000,3.70033],[1132704000000,3.68622],[1132790400000,3.70545],[1132876800000,3.71576],[1132963200000,3.72294],[1133049600000,3.72294],[1133136000000,3.72294],[1133222400000,3.71029],[1133308800000,3.72124],[1133395200000,3.71784],[1133481600000,3.71026],[1133568000000,3.71135],[1133654400000,3.71135],[1133740800000,3.71135],[1133827200000,3.72],[1133913600000,3.7281],[1134000000000,3.71968],[1134086400000,3.71394],[1134172800000,3.72243],[1134259200000,3.72243],[1134345600000,3.72243],[1134432000000,3.73627],[1134518400000,3.7451],[1134604800000,3.75858],[1134691200000,3.74505],[1134777600000,3.7389],[1134864000000,3.7389],[1134950400000,3.7389],[1135036800000,3.74281],[1135123200000,3.73802],[1135209600000,3.73706],[1135296000000,3.72526],[1135382400000,3.74066],[1135468800000,3.74066],[1135555200000,3.74066],[1135641600000,3.74066],[1135728000000,3.73752],[1135814400000,3.74344],[1135900800000,3.74092]], 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, 3.905496],[1105747200000, 3.905496],[1108425600000, 4.030154],[1110844800000, 4.040219],[1113523200000, 3.809213],[1116115200000, 3.682553],[1118793600000, 3.708011],[1121385600000, 3.771704],[1124064000000, 3.741933],[1126742400000, 3.768080],[1129334400000, 3.716680],[1132012800000, 3.712930],[1134604800000, 3.731352]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });