$(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: 'Курс USD, грн'}, 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: 'Курс USD', data: [[1104883200000,5.05],[1104969600000,5.3052],[1105056000000,5.305],[1105142400000,null],[1105228800000,5.305],[1105315200000,null],[1105401600000,5.3048],[1105488000000,5.3048],[1105574400000,5.3048],[1105660800000,5.3047],[1105747200000,5.3045],[1105833600000,5.3045],[1105920000000,5.3045],[1106006400000,5.3045],[1106092800000,5.3044],[1106179200000,5.3042],[1106265600000,5.3042],[1106352000000,5.3042],[1106438400000,5.3042],[1106524800000,5.3042],[1106611200000,null],[1106697600000,5.3041],[1106784000000,5.3041],[1106870400000,5.304],[1106956800000,5.3039],[1107043200000,5.3039],[1107129600000,5.3037],[1107216000000,5.3037],[1107302400000,5.3034],[1107388800000,5.3018],[1107475200000,5.3013],[1107561600000,5.301],[1107648000000,5.301],[1107734400000,5.301],[1107820800000,5.3005],[1107907200000,5.3001],[1107993600000,5.2998],[1108080000000,5.2997],[1108166400000,5.2994],[1108252800000,5.2994],[1108339200000,5.2994],[1108425600000,5.2994],[1108512000000,5.2994],[1108598400000,5.2991],[1108684800000,5.2991],[1108771200000,5.2991],[1108857600000,5.2991],[1108944000000,5.2991],[1109030400000,5.2991],[1109116800000,5.2991],[1109203200000,5.2991],[1109289600000,5.299],[1109376000000,5.299],[1109462400000,5.299],[1109548800000,5.299],[1109635200000,5.299],[1109721600000,5.2988],[1109808000000,5.2986],[1109894400000,5.2986],[1109980800000,5.298],[1110067200000,5.298],[1110153600000,5.298],[1110240000000,5.298],[1110326400000,5.298],[1110412800000,5.2975],[1110499200000,5.2971],[1110585600000,5.296],[1110672000000,5.296],[1110758400000,5.296],[1110844800000,5.2949],[1110931200000,5.294],[1111017600000,5.2937],[1111104000000,5.293],[1111190400000,5.2915],[1111276800000,5.2915],[1111363200000,5.2915],[1111449600000,null],[1111536000000,5.2908],[1111622400000,5.2808],[1111708800000,5.2811],[1111795200000,5.2811],[1111881600000,5.2811],[1111968000000,5.2811],[1112054400000,5.2811],[1112140800000,5.2809],[1112227200000,5.2808],[1112313600000,5.2806],[1112400000000,5.2806],[1112486400000,5.2806],[1112572800000,5.2806],[1112659200000,5.2799],[1112745600000,5.2799],[1112832000000,5.275],[1112918400000,5.2747],[1113004800000,5.27],[1113091200000,5.27],[1113177600000,5.27],[1113264000000,5.269],[1113350400000,5.2665],[1113436800000,5.2605],[1113523200000,5.256],[1113609600000,5.235],[1113696000000,5.235],[1113782400000,5.235],[1113868800000,5.22],[1113955200000,5.19],[1114041600000,5.05],[1114128000000,5.05],[1114214400000,5.05],[1114300800000,5.05],[1114387200000,5.05],[1114473600000,5.05],[1114560000000,5.05],[1114646400000,5.05],[1114732800000,5.05],[1114819200000,5.05],[1114905600000,5.05],[1114992000000,5.05],[1115078400000,5.05],[1115164800000,5.05],[1115251200000,5.05],[1115337600000,5.05],[1115424000000,5.05],[1115510400000,5.05],[1115596800000,5.05],[1115683200000,5.05],[1115769600000,5.05],[1115856000000,5.05],[1115942400000,5.05],[1116028800000,5.05],[1116115200000,5.05],[1116201600000,5.05],[1116288000000,5.05],[1116374400000,5.05],[1116460800000,5.05],[1116547200000,5.05],[1116633600000,5.05],[1116720000000,5.05],[1116806400000,5.05],[1116892800000,5.05],[1116979200000,5.05],[1117065600000,5.05],[1117152000000,5.05],[1117238400000,5.05],[1117324800000,5.05],[1117411200000,5.05],[1117497600000,5.05],[1117584000000,5.05],[1117670400000,5.055],[1117756800000,5.055],[1117843200000,5.055],[1117929600000,5.055],[1118016000000,5.055],[1118102400000,5.055],[1118188800000,5.055],[1118275200000,5.055],[1118361600000,5.055],[1118448000000,5.055],[1118534400000,5.055],[1118620800000,5.055],[1118707200000,5.055],[1118793600000,5.055],[1118880000000,5.055],[1118966400000,null],[1119052800000,5.055],[1119139200000,5.055],[1119225600000,5.055],[1119312000000,null],[1119398400000,5.055],[1119484800000,5.055],[1119571200000,5.055],[1119657600000,5.055],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,5.055],[1120176000000,null],[1120262400000,5.055],[1120348800000,5.055],[1120435200000,5.055],[1120521600000,5.055],[1120608000000,5.055],[1120694400000,5.055],[1120780800000,5.055],[1120867200000,5.055],[1120953600000,5.055],[1121040000000,5.055],[1121126400000,5.055],[1121212800000,5.055],[1121299200000,5.055],[1121385600000,5.055],[1121472000000,5.055],[1121558400000,5.055],[1121644800000,5.055],[1121731200000,5.055],[1121817600000,5.055],[1121904000000,5.05],[1121990400000,5.05],[1122076800000,5.05],[1122163200000,5.05],[1122249600000,5.05],[1122336000000,5.05],[1122422400000,5.05],[1122508800000,5.05],[1122595200000,5.05],[1122681600000,5.05],[1122768000000,5.05],[1122854400000,5.05],[1122940800000,5.05],[1123027200000,5.05],[1123113600000,5.05],[1123200000000,5.05],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,5.05],[1123718400000,5.05],[1123804800000,5.05],[1123891200000,5.05],[1123977600000,5.05],[1124064000000,5.05],[1124150400000,5.05],[1124236800000,5.05],[1124323200000,5.05],[1124409600000,5.05],[1124496000000,5.05],[1124582400000,5.05],[1124668800000,5.05],[1124755200000,5.05],[1124841600000,5.05],[1124928000000,5.05],[1125014400000,5.05],[1125100800000,5.05],[1125187200000,5.05],[1125273600000,5.05],[1125360000000,5.05],[1125446400000,5.05],[1125532800000,5.05],[1125619200000,5.05],[1125705600000,5.05],[1125792000000,5.05],[1125878400000,5.05],[1125964800000,5.05],[1126051200000,5.05],[1126137600000,5.05],[1126224000000,5.05],[1126310400000,5.05],[1126396800000,5.05],[1126483200000,5.05],[1126569600000,null],[1126656000000,null],[1126742400000,5.05],[1126828800000,null],[1126915200000,null],[1127001600000,5.05],[1127088000000,5.05],[1127174400000,5.05],[1127260800000,5.05],[1127347200000,5.05],[1127433600000,5.05],[1127520000000,5.05],[1127606400000,5.05],[1127692800000,5.05],[1127779200000,5.05],[1127865600000,5.05],[1127952000000,5.05],[1128038400000,5.05],[1128124800000,5.05],[1128211200000,5.05],[1128297600000,5.05],[1128384000000,5.05],[1128470400000,5.05],[1128556800000,5.05],[1128643200000,5.05],[1128729600000,5.05],[1128816000000,5.05],[1128902400000,5.05],[1128988800000,5.05],[1129075200000,5.05],[1129161600000,5.05],[1129248000000,5.05],[1129334400000,5.05],[1129420800000,5.05],[1129507200000,5.05],[1129593600000,5.05],[1129680000000,5.05],[1129766400000,5.05],[1129852800000,5.05],[1129939200000,5.05],[1130025600000,5.05],[1130112000000,5.05],[1130198400000,5.05],[1130284800000,5.05],[1130371200000,5.05],[1130457600000,5.05],[1130544000000,5.05],[1130630400000,5.05],[1130716800000,5.05],[1130803200000,5.05],[1130889600000,5.05],[1130976000000,5.05],[1131062400000,5.05],[1131148800000,5.05],[1131235200000,5.05],[1131321600000,5.05],[1131408000000,5.05],[1131494400000,5.05],[1131580800000,5.05],[1131667200000,5.05],[1131753600000,5.05],[1131840000000,5.05],[1131926400000,5.05],[1132012800000,5.05],[1132099200000,5.05],[1132185600000,5.05],[1132272000000,5.05],[1132358400000,5.05],[1132444800000,5.05],[1132531200000,5.05],[1132617600000,5.05],[1132704000000,5.05],[1132790400000,5.05],[1132876800000,5.05],[1132963200000,5.05],[1133049600000,5.05],[1133136000000,5.05],[1133222400000,5.05],[1133308800000,5.05],[1133395200000,5.05],[1133481600000,5.05],[1133568000000,5.05],[1133654400000,5.05],[1133740800000,5.05],[1133827200000,5.05],[1133913600000,5.05],[1134000000000,5.05],[1134086400000,5.05],[1134172800000,5.05],[1134259200000,5.05],[1134345600000,5.05],[1134432000000,5.05],[1134518400000,5.05],[1134604800000,5.05],[1134691200000,5.05],[1134777600000,5.05],[1134864000000,5.05],[1134950400000,5.05],[1135036800000,5.05],[1135123200000,5.05],[1135209600000,5.05],[1135296000000,5.05],[1135382400000,5.05],[1135468800000,5.05],[1135555200000,5.05],[1135641600000,5.05],[1135728000000,5.05],[1135814400000,5.05],[1135900800000,5.05]], 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, 5.293808],[1105747200000, 5.293808],[1108425600000, 5.299968],[1110844800000, 5.291883],[1113523200000, 5.190297],[1116115200000, 5.050000],[1118793600000, 5.054792],[1121385600000, 5.053167],[1124064000000, 5.050000],[1126742400000, 5.050000],[1129334400000, 5.050000],[1132012800000, 5.050000],[1134604800000, 5.050000]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });