$(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: [[1041379200000,5.5329],[1041465600000,5.5329],[1041552000000,5.54143],[1041638400000,5.54143],[1041724800000,5.54143],[1041811200000,5.54143],[1041897600000,5.54143],[1041984000000,5.53343],[1042070400000,5.60296],[1042156800000,5.60083],[1042243200000,5.60083],[1042329600000,5.60083],[1042416000000,5.62536],[1042502400000,5.62536],[1042588800000,5.61341],[1042675200000,5.63368],[1042761600000,5.6806],[1042848000000,5.6806],[1042934400000,5.6806],[1043020800000,5.68114],[1043107200000,5.68114],[1043193600000,5.68114],[1043280000000,5.7158],[1043366400000,5.751],[1043452800000,5.751],[1043539200000,5.751],[1043625600000,5.751],[1043712000000,5.79686],[1043798400000,5.7638],[1043884800000,5.7958],[1043971200000,5.76806],[1044057600000,5.76806],[1044144000000,5.76806],[1044230400000,5.76806],[1044316800000,5.72167],[1044403200000,5.77148],[1044489600000,5.81841],[1044576000000,5.75431],[1044662400000,5.75431],[1044748800000,5.75431],[1044835200000,5.75431],[1044921600000,5.76466],[1045008000000,5.71026],[1045094400000,5.73853],[1045180800000,5.7572],[1045267200000,5.7572],[1045353600000,5.7572],[1045440000000,5.7572],[1045526400000,5.71538],[1045612800000,5.71698],[1045699200000,5.71698],[1045785600000,5.78131],[1045872000000,5.78131],[1045958400000,5.78131],[1046044800000,5.78131],[1046131200000,5.74739],[1046217600000,5.74739],[1046304000000,5.73619],[1046390400000,5.75166],[1046476800000,5.75166],[1046563200000,5.75166],[1046649600000,5.75166],[1046736000000,5.76126],[1046822400000,5.84981],[1046908800000,5.84981],[1046995200000,5.88875],[1047081600000,5.88875],[1047168000000,5.88875],[1047254400000,5.88875],[1047340800000,5.91063],[1047427200000,5.91063],[1047513600000,5.88289],[1047600000000,5.74792],[1047686400000,5.74792],[1047772800000,5.74792],[1047859200000,5.76179],[1047945600000,5.76179],[1048032000000,5.63857],[1048118400000,5.63857],[1048204800000,5.63963],[1048291200000,5.63963],[1048377600000,5.63963],[1048464000000,5.67271],[1048550400000,5.70311],[1048636800000,5.69031],[1048723200000,5.72018],[1048809600000,5.72018],[1048896000000,5.72018],[1048982400000,5.72018],[1049068800000,5.72392],[1049155200000,5.81194],[1049241600000,5.8098],[1049328000000,5.70898],[1049414400000,5.71858],[1049500800000,5.71858],[1049587200000,5.71858],[1049673600000,5.71858],[1049760000000,5.68615],[1049846400000,5.72978],[1049932800000,5.76339],[1050019200000,5.72605],[1050105600000,5.72605],[1050192000000,5.72605],[1050278400000,5.72712],[1050364800000,5.75219],[1050451200000,5.75219],[1050537600000,5.77992],[1050624000000,5.82462],[1050710400000,5.82462],[1050796800000,5.82462],[1050883200000,5.82462],[1050969600000,5.85182],[1051056000000,5.85182],[1051142400000,5.83731],[1051228800000,5.85278],[1051315200000,5.85278],[1051401600000,5.85278],[1051488000000,5.85278],[1051574400000,5.85278],[1051660800000,5.93683],[1051747200000,5.93683],[1051833600000,5.93683],[1051920000000,5.93683],[1052006400000,5.93683],[1052092800000,5.93683],[1052179200000,5.98312],[1052265600000,6.05032],[1052352000000,6.09863],[1052438400000,6.09863],[1052524800000,6.09863],[1052611200000,6.09863],[1052697600000,6.09863],[1052784000000,6.18491],[1052870400000,6.14266],[1052956800000,6.13253],[1053043200000,6.1288],[1053129600000,6.1288],[1053216000000,6.1288],[1053302400000,6.21413],[1053388800000,6.20986],[1053475200000,6.20986],[1053561600000,6.25028],[1053648000000,6.28761],[1053734400000,6.28761],[1053820800000,6.28761],[1053907200000,null],[1053993600000,6.29987],[1054080000000,6.3468],[1054166400000,6.26947],[1054252800000,6.30467],[1054339200000,6.30467],[1054425600000,6.30467],[1054512000000,6.30467],[1054598400000,6.22468],[1054684800000,6.25188],[1054771200000,6.23481],[1054857600000,6.29987],[1054944000000,6.29987],[1055030400000,6.29987],[1055116800000,6.29987],[1055203200000,6.29987],[1055289600000,6.23908],[1055376000000,6.26521],[1055462400000,6.26681],[1055548800000,6.26681],[1055635200000,6.26681],[1055721600000,6.26681],[1055808000000,6.26681],[1055894400000,6.29134],[1055980800000,6.23908],[1056067200000,6.21561],[1056153600000,6.21561],[1056240000000,6.21561],[1056326400000,6.21561],[1056412800000,6.15375],[1056499200000,6.16761],[1056585600000,6.09646],[1056672000000,6.09646],[1056758400000,6.09646],[1056844800000,6.09646],[1056931200000,6.09646],[1057017600000,6.08633],[1057104000000,6.15138],[1057190400000,6.10956],[1057276800000,6.11424],[1057363200000,6.11424],[1057449600000,6.11424],[1057536000000,6.05761],[1057622400000,6.03936],[1057708800000,6.03936],[1057795200000,6.04778],[1057881600000,6.03338],[1057968000000,6.03338],[1058054400000,6.03338],[1058140800000,6.02463],[1058227200000,6.03529],[1058313600000,6.03529],[1058400000000,5.98826],[1058486400000,5.97428],[1058572800000,5.97428],[1058659200000,5.97428],[1058745600000,6.0164],[1058832000000,6.04786],[1058918400000,6.07878],[1059004800000,6.11398],[1059091200000,6.11931],[1059177600000,6.11931],[1059264000000,6.11931],[1059350400000,6.1257],[1059436800000,6.11131],[1059523200000,6.11131],[1059609600000,6.08892],[1059696000000,5.95509],[1059782400000,5.95509],[1059868800000,5.95509],[1059955200000,6.02867],[1060041600000,6.02867],[1060128000000,6.04253],[1060214400000,6.07399],[1060300800000,6.05319],[1060387200000,6.0388],[1060473600000,6.0388],[1060560000000,6.02227],[1060646400000,6.03133],[1060732800000,6.01256],[1060819200000,6.01256],[1060905600000,5.99656],[1060992000000,5.99656],[1061078400000,5.99656],[1061164800000,5.96511],[1061251200000,5.96511],[1061337600000,5.89953],[1061424000000,5.86967],[1061510400000,5.80814],[1061596800000,5.80814],[1061683200000,5.80814],[1061769600000,5.80814],[1061856000000,5.76655],[1061942400000,5.81507],[1062028800000,5.77295],[1062115200000,5.82573],[1062201600000,5.82573],[1062288000000,5.82573],[1062374400000,5.82573],[1062460800000,5.78414],[1062547200000,5.74896],[1062633600000,5.76762],[1062720000000,5.8236],[1062806400000,5.8236],[1062892800000,5.8236],[1062979200000,5.9025],[1063065600000,5.93663],[1063152000000,5.95635],[1063238400000,5.98034],[1063324800000,5.95635],[1063411200000,5.95635],[1063497600000,5.95635],[1063584000000,6.01446],[1063670400000,5.98994],[1063756800000,5.97768],[1063843200000,5.97768],[1063929600000,6.03122],[1064016000000,6.03122],[1064102400000,6.03122],[1064188800000,6.11439],[1064275200000,6.11439],[1064361600000,null],[1064448000000,null],[1064534400000,null],[1064620800000,null],[1064707200000,null],[1064793600000,6.12452],[1064880000000,6.08484],[1064966400000,6.2125],[1065052800000,6.22239],[1065139200000,6.23063],[1065225600000,6.23063],[1065312000000,6.23063],[1065398400000,6.17334],[1065484800000,6.27411],[1065571200000,6.27411],[1065657600000,6.28477],[1065744000000,6.28477],[1065830400000,6.28477],[1065916800000,6.28477],[1066003200000,6.28477],[1066089600000,6.23122],[1066176000000,6.20267],[1066262400000,6.22156],[1066348800000,6.17357],[1066435200000,6.17357],[1066521600000,6.17357],[1066608000000,6.17357],[1066694400000,6.20035],[1066780800000,6.19738],[1066867200000,6.23524],[1066953600000,6.28151],[1067040000000,6.28151],[1067126400000,6.28151],[1067212800000,6.28151],[1067299200000,6.26392],[1067385600000,6.22393],[1067472000000,6.22979],[1067558400000,6.25752],[1067644800000,6.19662],[1067731200000,6.19662],[1067817600000,6.19662],[1067904000000,6.17914],[1067990400000,6.11451],[1068076800000,6.10461],[1068163200000,6.09128],[1068249600000,6.09128],[1068336000000,6.09128],[1068422400000,6.09128],[1068508800000,6.12274],[1068595200000,6.1302],[1068681600000,6.18512],[1068768000000,6.22778],[1068854400000,6.2731],[1068940800000,6.2731],[1069027200000,6.2731],[1069113600000,6.29283],[1069200000000,6.28003],[1069286400000,6.35041],[1069372800000,6.34443],[1069459200000,6.34443],[1069545600000,6.34443],[1069632000000,6.34443],[1069718400000,6.27363],[1069804800000,6.27363],[1069891200000,6.30669],[1069977600000,6.3952],[1070064000000,6.3952],[1070150400000,6.3952],[1070236800000,6.3952],[1070323200000,6.40853],[1070409600000,6.38507],[1070496000000,6.45279],[1070582400000,6.44479],[1070668800000,6.44479],[1070755200000,6.44479],[1070841600000,6.44479],[1070928000000,6.51464],[1071014400000,6.53597],[1071100800000,6.52571],[1071187200000,6.53371],[1071273600000,6.53371],[1071360000000,6.53371],[1071446400000,6.53371],[1071532800000,6.52079],[1071619200000,6.57784],[1071705600000,6.57784],[1071792000000,6.6209],[1071878400000,6.6209],[1071964800000,6.6209],[1072051200000,6.6209],[1072137600000,6.62931],[1072224000000,6.60692],[1072310400000,6.61479],[1072396800000,6.61479],[1072483200000,6.61479],[1072569600000,6.61479],[1072656000000,6.61479],[1072742400000,6.66384]], 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: [[1042588800000, 5.649651],[1042588800000, 5.649651],[1045267200000, 5.754730],[1047686400000, 5.761585],[1050364800000, 5.787136],[1052956800000, 6.144323],[1055635200000, 6.228497],[1058227200000, 6.065572],[1060905600000, 5.935550],[1063584000000, 5.949347],[1066176000000, 6.237293],[1068854400000, 6.239297],[1071446400000, 6.548377]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });