$(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: 'Курс XDR, грн'}, 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: 'Курс XDR', data: [[1104883200000,7.21779],[1104969600000,8.09879],[1105056000000,8.08128],[1105142400000,null],[1105228800000,8.08128],[1105315200000,null],[1105401600000,8.06907],[1105488000000,8.08896],[1105574400000,8.08535],[1105660800000,8.1199],[1105747200000,8.08334],[1105833600000,8.08334],[1105920000000,8.08334],[1106006400000,8.08334],[1106092800000,8.07265],[1106179200000,8.08863],[1106265600000,8.08863],[1106352000000,8.03874],[1106438400000,8.03874],[1106524800000,8.03874],[1106611200000,null],[1106697600000,8.0645],[1106784000000,8.0592],[1106870400000,8.07104],[1106956800000,8.06643],[1107043200000,8.06643],[1107129600000,8.06424],[1107216000000,8.06424],[1107302400000,8.06009],[1107388800000,8.07266],[1107475200000,8.05518],[1107561600000,8.05472],[1107648000000,8.05472],[1107734400000,8.05472],[1107820800000,8.00597],[1107907200000,8.00537],[1107993600000,7.97062],[1108080000000,7.96387],[1108166400000,7.98716],[1108252800000,7.98716],[1108339200000,7.98716],[1108425600000,8.03006],[1108512000000,8.03071],[1108598400000,8.03846],[1108684800000,8.04817],[1108771200000,8.03922],[1108857600000,8.03922],[1108944000000,8.03922],[1109030400000,8.03922],[1109116800000,8.10484],[1109203200000,8.09746],[1109289600000,8.1105],[1109376000000,8.07865],[1109462400000,8.07865],[1109548800000,8.07865],[1109635200000,8.11801],[1109721600000,8.1074],[1109808000000,8.07375],[1109894400000,8.07928],[1109980800000,8.06601],[1110067200000,8.06601],[1110153600000,8.06601],[1110240000000,8.06601],[1110326400000,8.06601],[1110412800000,8.15292],[1110499200000,8.15792],[1110585600000,8.15038],[1110672000000,8.15038],[1110758400000,8.15038],[1110844800000,8.13975],[1110931200000,8.13743],[1111017600000,8.14083],[1111104000000,8.14035],[1111190400000,8.11085],[1111276800000,8.11085],[1111363200000,8.11085],[1111449600000,null],[1111536000000,8.07253],[1111622400000,8.00804],[1111708800000,7.98011],[1111795200000,7.98011],[1111881600000,7.98011],[1111968000000,7.98011],[1112054400000,7.97499],[1112140800000,7.96378],[1112227200000,7.9672],[1112313600000,7.97806],[1112400000000,7.97806],[1112486400000,7.97806],[1112572800000,7.97806],[1112659200000,7.94296],[1112745600000,7.92088],[1112832000000,7.93756],[1112918400000,7.94069],[1113004800000,7.91045],[1113091200000,7.91045],[1113177600000,7.91045],[1113264000000,7.95291],[1113350400000,7.95817],[1113436800000,7.94316],[1113523200000,7.90233],[1113609600000,7.86773],[1113696000000,7.86773],[1113782400000,7.86773],[1113868800000,7.89576],[1113955200000,7.8561],[1114041600000,7.6632],[1114128000000,7.66827],[1114214400000,7.6738],[1114300800000,7.6738],[1114387200000,7.6738],[1114473600000,7.65649],[1114560000000,7.65452],[1114646400000,7.63603],[1114732800000,7.6434],[1114819200000,7.65974],[1114905600000,7.65974],[1114992000000,7.65974],[1115078400000,7.65974],[1115164800000,7.65974],[1115251200000,7.66209],[1115337600000,7.66386],[1115424000000,7.65776],[1115510400000,7.65776],[1115596800000,7.65776],[1115683200000,7.65776],[1115769600000,7.61847],[1115856000000,7.62843],[1115942400000,7.58885],[1116028800000,7.54177],[1116115200000,7.54177],[1116201600000,7.54177],[1116288000000,7.52208],[1116374400000,7.53425],[1116460800000,7.52527],[1116547200000,7.53776],[1116633600000,7.529],[1116720000000,7.529],[1116806400000,7.529],[1116892800000,7.50499],[1116979200000,7.52447],[1117065600000,7.50726],[1117152000000,7.50162],[1117238400000,7.50006],[1117324800000,7.50006],[1117411200000,7.50006],[1117497600000,7.50006],[1117584000000,7.44848],[1117670400000,7.42944],[1117756800000,7.44104],[1117843200000,7.44948],[1117929600000,7.44948],[1118016000000,7.44948],[1118102400000,7.45301],[1118188800000,7.47105],[1118275200000,7.47758],[1118361600000,7.44939],[1118448000000,7.44671],[1118534400000,7.44671],[1118620800000,7.44671],[1118707200000,7.37771],[1118793600000,7.39831],[1118880000000,7.3795],[1118966400000,null],[1119052800000,7.42009],[1119139200000,7.42009],[1119225600000,7.42009],[1119312000000,null],[1119398400000,7.39429],[1119484800000,7.40835],[1119571200000,7.40028],[1119657600000,7.39592],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,7.37596],[1120176000000,null],[1120262400000,7.36123],[1120348800000,7.36123],[1120435200000,7.36123],[1120521600000,7.36123],[1120608000000,7.2996],[1120694400000,7.30201],[1120780800000,7.31884],[1120867200000,7.28918],[1120953600000,7.28918],[1121040000000,7.28918],[1121126400000,7.31593],[1121212800000,7.37191],[1121299200000,7.37101],[1121385600000,7.33727],[1121472000000,7.34397],[1121558400000,7.34397],[1121644800000,7.34397],[1121731200000,7.32604],[1121817600000,7.30164],[1121904000000,7.31574],[1121990400000,7.33843],[1122076800000,7.35044],[1122163200000,7.35044],[1122249600000,7.35044],[1122336000000,7.32245],[1122422400000,7.30781],[1122508800000,7.29899],[1122595200000,7.32303],[1122681600000,7.33187],[1122768000000,7.33187],[1122854400000,7.33187],[1122940800000,7.3718],[1123027200000,7.37509],[1123113600000,7.39799],[1123200000000,7.40202],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,7.40479],[1123718400000,7.42507],[1123804800000,7.44157],[1123891200000,7.4668],[1123977600000,7.4668],[1124064000000,7.4668],[1124150400000,7.44156],[1124236800000,7.43204],[1124323200000,7.42619],[1124409600000,7.3998],[1124496000000,7.38641],[1124582400000,7.38641],[1124668800000,7.38641],[1124755200000,7.40626],[1124841600000,7.40145],[1124928000000,7.40145],[1125014400000,7.41959],[1125100800000,7.42361],[1125187200000,7.42361],[1125273600000,7.42361],[1125360000000,7.42361],[1125446400000,7.37334],[1125532800000,7.37218],[1125619200000,7.43948],[1125705600000,7.49505],[1125792000000,7.49505],[1125878400000,7.49505],[1125964800000,7.49505],[1126051200000,7.48105],[1126137600000,7.47318],[1126224000000,7.45327],[1126310400000,7.44961],[1126396800000,7.44961],[1126483200000,7.44961],[1126569600000,null],[1126656000000,null],[1126742400000,7.42384],[1126828800000,null],[1126915200000,null],[1127001600000,7.40626],[1127088000000,7.40626],[1127174400000,7.37303],[1127260800000,7.38001],[1127347200000,7.39391],[1127433600000,7.39169],[1127520000000,7.35777],[1127606400000,7.35777],[1127692800000,7.35777],[1127779200000,7.32777],[1127865600000,7.31333],[1127952000000,7.317],[1128038400000,7.32541],[1128124800000,7.3198],[1128211200000,7.3198],[1128297600000,7.3198],[1128384000000,7.28164],[1128470400000,7.28002],[1128556800000,7.29497],[1128643200000,7.3181],[1128729600000,7.34022],[1128816000000,7.34022],[1128902400000,7.34022],[1128988800000,7.34022],[1129075200000,7.3013],[1129161600000,7.28618],[1129248000000,7.28499],[1129334400000,7.28536],[1129420800000,7.28536],[1129507200000,7.28536],[1129593600000,7.30015],[1129680000000,7.26714],[1129766400000,7.28002],[1129852800000,7.28201],[1129939200000,7.29844],[1130025600000,7.29844],[1130112000000,7.29844],[1130198400000,7.27655],[1130284800000,7.30624],[1130371200000,7.31179],[1130457600000,7.32964],[1130544000000,7.33343],[1130630400000,7.33343],[1130716800000,7.33343],[1130803200000,7.30128],[1130889600000,7.28756],[1130976000000,7.27759],[1131062400000,7.29772],[1131148800000,7.25959],[1131235200000,7.25959],[1131321600000,7.25959],[1131408000000,7.22585],[1131494400000,7.1982],[1131580800000,7.20481],[1131667200000,7.21714],[1131753600000,7.19115],[1131840000000,7.19115],[1131926400000,7.19115],[1132012800000,7.19801],[1132099200000,7.17103],[1132185600000,7.17112],[1132272000000,7.17467],[1132358400000,7.16754],[1132444800000,7.16754],[1132531200000,7.16754],[1132617600000,7.20137],[1132704000000,7.17016],[1132790400000,7.19468],[1132876800000,7.19468],[1132963200000,7.19468],[1133049600000,7.19468],[1133136000000,7.19468],[1133222400000,7.16886],[1133308800000,7.20368],[1133395200000,7.19189],[1133481600000,7.18678],[1133568000000,7.16636],[1133654400000,7.16636],[1133740800000,7.16636],[1133827200000,7.17862],[1133913600000,7.1833],[1134000000000,7.17029],[1134086400000,7.19517],[1134172800000,7.20355],[1134259200000,7.20355],[1134345600000,7.20355],[1134432000000,7.22563],[1134518400000,7.23634],[1134604800000,7.27382],[1134691200000,7.29327],[1134777600000,7.28402],[1134864000000,7.28402],[1134950400000,7.28402],[1135036800000,7.28952],[1135123200000,7.27702],[1135209600000,7.24286],[1135296000000,7.22574],[1135382400000,7.23327],[1135468800000,7.23327],[1135555200000,7.23327],[1135641600000,7.23327],[1135728000000,7.23327],[1135814400000,7.24533],[1135900800000,7.21694]], 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, 8.038907],[1105747200000, 8.038907],[1108425600000, 8.042025],[1110844800000, 8.075611],[1113523200000, 7.836680],[1116115200000, 7.574256],[1118793600000, 7.427047],[1121385600000, 7.330337],[1124064000000, 7.411332],[1126742400000, 7.410768],[1129334400000, 7.305571],[1132012800000, 7.209910],[1134604800000, 7.225356]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });