$(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: [[1009843200000,4.66957],[1009929600000,4.66957],[1010016000000,4.78878],[1010102400000,4.74831],[1010188800000,4.74831],[1010275200000,4.74831],[1010361600000,4.74831],[1010448000000,4.74831],[1010534400000,4.73148],[1010620800000,4.7383],[1010707200000,4.73715],[1010793600000,4.73715],[1010880000000,4.73715],[1010966400000,4.73715],[1011052800000,4.74211],[1011139200000,4.74026],[1011225600000,4.68491],[1011312000000,4.68516],[1011398400000,4.68516],[1011484800000,4.68516],[1011571200000,4.68516],[1011657600000,4.70111],[1011744000000,4.69844],[1011830400000,4.71228],[1011916800000,4.60924],[1012003200000,4.60924],[1012089600000,4.60924],[1012176000000,4.60924],[1012262400000,4.56401],[1012348800000,4.59841],[1012435200000,4.59575],[1012521600000,4.59309],[1012608000000,4.59309],[1012694400000,4.59309],[1012780800000,4.59309],[1012867200000,4.62005],[1012953600000,4.62005],[1013040000000,4.60977],[1013126400000,4.6502],[1013212800000,4.6502],[1013299200000,4.6502],[1013385600000,4.6502],[1013472000000,4.67894],[1013558400000,4.65712],[1013644800000,4.64542],[1013731200000,4.6252],[1013817600000,null],[1013904000000,null],[1013990400000,null],[1014076800000,null],[1014163200000,4.65268],[1014249600000,4.65268],[1014336000000,4.6548],[1014422400000,4.6548],[1014508800000,4.6548],[1014595200000,4.6548],[1014681600000,4.64291],[1014768000000,4.62039],[1014854400000,4.62039],[1014940800000,4.61905],[1015027200000,4.61905],[1015113600000,4.61905],[1015200000000,4.61905],[1015286400000,4.60464],[1015372800000,4.62186],[1015459200000,4.6649],[1015545600000,4.6649],[1015632000000,4.6649],[1015718400000,4.6649],[1015804800000,4.65231],[1015891200000,4.65231],[1015977600000,4.64761],[1016064000000,4.64815],[1016150400000,4.71148],[1016236800000,4.71148],[1016323200000,4.71148],[1016409600000,4.71148],[1016496000000,4.67901],[1016582400000,4.67901],[1016668800000,4.69116],[1016755200000,4.68105],[1016841600000,4.68105],[1016928000000,4.68105],[1017014400000,4.68105],[1017100800000,4.66172],[1017187200000,4.65027],[1017273600000,4.643],[1017360000000,4.64291],[1017446400000,4.64291],[1017532800000,4.64291],[1017619200000,4.64291],[1017705600000,4.6437],[1017792000000,4.67828],[1017878400000,4.68989],[1017964800000,4.68083],[1018051200000,4.68083],[1018137600000,4.68083],[1018224000000,4.67744],[1018310400000,4.66945],[1018396800000,4.66945],[1018483200000,4.6881],[1018569600000,4.6905],[1018656000000,4.6905],[1018742400000,4.6905],[1018828800000,4.68979],[1018915200000,4.68979],[1019001600000,4.69024],[1019088000000,4.73117],[1019174400000,4.73446],[1019260800000,4.73446],[1019347200000,4.73446],[1019433600000,4.73215],[1019520000000,4.73215],[1019606400000,4.72682],[1019692800000,4.77814],[1019779200000,4.77921],[1019865600000,4.77921],[1019952000000,4.77921],[1020038400000,4.77921],[1020124800000,4.79856],[1020211200000,4.79856],[1020297600000,4.79856],[1020384000000,4.79856],[1020470400000,4.79856],[1020556800000,4.79856],[1020643200000,4.79856],[1020729600000,4.79856],[1020816000000,4.84118],[1020902400000,4.84118],[1020988800000,4.85716],[1021075200000,4.85716],[1021161600000,4.85716],[1021248000000,4.85716],[1021334400000,4.82733],[1021420800000,4.82733],[1021507200000,4.86127],[1021593600000,4.87664],[1021680000000,4.87664],[1021766400000,4.87664],[1021852800000,4.87664],[1021939200000,4.90329],[1022025600000,4.90915],[1022112000000,4.93447],[1022198400000,4.8961],[1022284800000,4.8961],[1022371200000,4.8961],[1022457600000,4.8961],[1022544000000,4.89717],[1022630400000,4.96709],[1022716800000,4.96709],[1022803200000,5.0029],[1022889600000,5.0029],[1022976000000,5.0029],[1023062400000,5.0029],[1023148800000,4.96346],[1023235200000,5.02848],[1023321600000,5.00264],[1023408000000,5.03744],[1023494400000,5.03744],[1023580800000,5.03744],[1023667200000,5.04117],[1023753600000,5.04117],[1023840000000,5.01879],[1023926400000,5.01879],[1024012800000,5.0513],[1024099200000,5.0513],[1024185600000,5.0513],[1024272000000,5.0513],[1024358400000,5.05402],[1024444800000,5.05402],[1024531200000,5.09506],[1024617600000,5.13483],[1024704000000,5.13483],[1024790400000,5.13483],[1024876800000,5.13483],[1024963200000,5.17533],[1025049600000,5.17533],[1025136000000,5.23501],[1025222400000,5.23501],[1025308800000,5.23501],[1025395200000,5.23501],[1025481600000,5.23501],[1025568000000,5.24247],[1025654400000,5.24247],[1025740800000,5.2169],[1025827200000,5.18226],[1025913600000,5.18226],[1026000000000,5.18226],[1026086400000,5.23714],[1026172800000,5.2915],[1026259200000,5.27445],[1026345600000,5.27445],[1026432000000,5.26112],[1026518400000,5.26112],[1026604800000,5.26112],[1026691200000,5.34159],[1026777600000,5.34159],[1026864000000,5.3629],[1026950400000,5.35971],[1027036800000,5.35971],[1027123200000,5.35971],[1027209600000,5.4066],[1027296000000,5.37463],[1027382400000,5.28084],[1027468800000,5.2835],[1027555200000,5.33626],[1027641600000,5.33306],[1027728000000,5.33306],[1027814400000,5.33306],[1027900800000,5.23361],[1027987200000,5.24107],[1028073600000,5.21336],[1028160000000,5.2011],[1028246400000,5.26132],[1028332800000,5.26132],[1028419200000,5.26132],[1028505600000,5.2417],[1028592000000,5.16327],[1028678400000,5.16327],[1028764800000,5.16806],[1028851200000,5.18458],[1028937600000,5.18458],[1029024000000,5.18458],[1029110400000,5.21176],[1029196800000,5.21176],[1029283200000,5.2528],[1029369600000,5.21016],[1029456000000,5.23574],[1029542400000,5.23574],[1029628800000,5.23574],[1029715200000,5.22189],[1029801600000,5.22189],[1029888000000,5.20236],[1029974400000,5.20236],[1030060800000,5.16802],[1030147200000,5.16802],[1030233600000,5.16802],[1030320000000,5.16802],[1030406400000,5.16802],[1030492800000,5.23628],[1030579200000,5.23628],[1030665600000,5.2403],[1030752000000,5.2403],[1030838400000,5.2403],[1030924800000,5.23391],[1031011200000,5.28134],[1031097600000,5.30105],[1031184000000,5.31598],[1031270400000,5.2856],[1031356800000,5.2856],[1031443200000,5.2856],[1031529600000,5.21922],[1031616000000,5.20149],[1031702400000,5.19563],[1031788800000,5.20019],[1031875200000,5.22844],[1031961600000,5.22844],[1032048000000,5.22844],[1032134400000,5.22844],[1032220800000,5.16084],[1032307200000,5.18294],[1032393600000,5.23037],[1032480000000,5.21758],[1032566400000,5.21758],[1032652800000,5.21758],[1032739200000,5.23943],[1032825600000,5.23783],[1032912000000,5.20745],[1032998400000,5.22078],[1033084800000,5.21172],[1033171200000,5.21172],[1033257600000,5.21172],[1033344000000,5.21172],[1033430400000,5.25542],[1033516800000,5.25542],[1033603200000,5.27088],[1033689600000,5.25755],[1033776000000,5.25755],[1033862400000,5.25755],[1033948800000,5.22717],[1034035200000,5.22291],[1034121600000,5.22291],[1034208000000,5.26288],[1034294400000,5.25329],[1034380800000,5.25329],[1034467200000,5.25329],[1034553600000,5.26182],[1034640000000,5.22824],[1034726400000,5.23517],[1034812800000,5.20319],[1034899200000,5.18827],[1034985600000,5.18827],[1035072000000,5.18827],[1035158400000,5.1952],[1035244800000,5.20586],[1035331200000,5.20978],[1035417600000,5.19016],[1035504000000,5.20348],[1035590400000,5.20348],[1035676800000,5.20348],[1035763200000,5.19428],[1035849600000,5.19428],[1035936000000,5.23692],[1036022400000,5.23692],[1036108800000,5.31654],[1036195200000,5.31654],[1036281600000,5.31654],[1036368000000,5.31654],[1036454400000,5.30055],[1036540800000,5.34319],[1036627200000,5.33733],[1036713600000,5.38743],[1036800000000,5.38743],[1036886400000,5.38743],[1036972800000,5.39756],[1037059200000,5.37358],[1037145600000,5.36665],[1037232000000,5.38104],[1037318400000,5.34586],[1037404800000,5.34586],[1037491200000,5.34586],[1037577600000,5.36505],[1037664000000,5.39703],[1037750400000,5.34053],[1037836800000,5.34852],[1037923200000,5.34319],[1038009600000,5.34319],[1038096000000,5.34319],[1038182400000,5.27976],[1038268800000,5.27976],[1038355200000,5.29149],[1038441600000,5.29149],[1038528000000,5.29228],[1038614400000,5.29228],[1038700800000,null],[1038787200000,null],[1038873600000,null],[1038960000000,null],[1039046400000,5.3267],[1039132800000,5.3347],[1039219200000,5.3347],[1039305600000,5.3347],[1039392000000,5.38108],[1039478400000,5.38108],[1039564800000,5.36722],[1039651200000,5.41467],[1039737600000,5.44933],[1039824000000,5.44933],[1039910400000,5.44933],[1039996800000,5.44453],[1040083200000,5.49518],[1040169600000,5.49518],[1040256000000,5.47705],[1040342400000,5.46745],[1040428800000,5.46745],[1040515200000,5.46745],[1040601600000,5.46745],[1040688000000,5.48185],[1040774400000,5.48931],[1040860800000,5.48931],[1040947200000,5.5329],[1041033600000,5.5329],[1041120000000,5.5329],[1041206400000,5.5329]], 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: [[1011052800000, 4.693636],[1011052800000, 4.693636],[1013731200000, 4.634915],[1016150400000, 4.660184],[1018828800000, 4.712075],[1021420800000, 4.867386],[1024099200000, 5.082461],[1026691200000, 5.285122],[1029369600000, 5.210018],[1032048000000, 5.231298],[1034640000000, 5.226361],[1037318400000, 5.339123],[1039910400000, 5.449243]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });