$(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: [[1104883200000,5.95749],[1104969600000,7.0156],[1105056000000,6.99358],[1105142400000,null],[1105228800000,6.99358],[1105315200000,null],[1105401600000,6.95088],[1105488000000,6.9721],[1105574400000,6.96998],[1105660800000,7.01918],[1105747200000,6.94412],[1105833600000,6.94412],[1105920000000,6.94412],[1106006400000,6.94094],[1106092800000,6.92755],[1106179200000,6.86151],[1106265600000,6.86151],[1106352000000,6.87583],[1106438400000,6.87583],[1106524800000,6.87583],[1106611200000,null],[1106697600000,6.90859],[1106784000000,6.89798],[1106870400000,6.90899],[1106956800000,6.91363],[1107043200000,6.91363],[1107129600000,6.91337],[1107216000000,6.91337],[1107302400000,6.90874],[1107388800000,6.92468],[1107475200000,6.89222],[1107561600000,6.86904],[1107648000000,6.86904],[1107734400000,6.86904],[1107820800000,6.80796],[1107907200000,6.76505],[1107993600000,6.76361],[1108080000000,6.77143],[1108166400000,6.81238],[1108252800000,6.81238],[1108339200000,6.81238],[1108425600000,6.87173],[1108512000000,6.8977],[1108598400000,6.91003],[1108684800000,6.91056],[1108771200000,6.9095],[1108857600000,6.9095],[1108944000000,6.9095],[1109030400000,6.91798],[1109116800000,6.9911],[1109203200000,6.9964],[1109289600000,7.02647],[1109376000000,6.97613],[1109462400000,6.97613],[1109548800000,6.97613],[1109635200000,7.02488],[1109721600000,7.00289],[1109808000000,6.9417],[1109894400000,6.96448],[1109980800000,6.94833],[1110067200000,6.94833],[1110153600000,6.94833],[1110240000000,6.94833],[1110326400000,6.94833],[1110412800000,7.07004],[1110499200000,7.10288],[1110585600000,7.10511],[1110672000000,7.10511],[1110758400000,7.10511],[1110844800000,7.08034],[1110931200000,7.08496],[1111017600000,7.07927],[1111104000000,7.08097],[1111190400000,7.02658],[1111276800000,7.02658],[1111363200000,7.02658],[1111449600000,null],[1111536000000,6.97063],[1111622400000,6.89144],[1111708800000,6.85592],[1111795200000,6.85592],[1111881600000,6.85592],[1111968000000,6.85592],[1112054400000,6.85592],[1112140800000,6.82609],[1112227200000,6.83494],[1112313600000,6.84577],[1112400000000,6.84313],[1112486400000,6.84313],[1112572800000,6.84313],[1112659200000,6.80209],[1112745600000,6.76355],[1112832000000,6.78365],[1112918400000,6.81649],[1113004800000,6.75561],[1113091200000,6.75561],[1113177600000,6.75561],[1113264000000,6.83442],[1113350400000,6.83855],[1113436800000,6.79762],[1113523200000,6.73819],[1113609600000,6.7364],[1113696000000,6.7364],[1113782400000,6.7364],[1113868800000,6.76877],[1113955200000,6.74492],[1114041600000,6.58974],[1114128000000,6.59429],[1114214400000,6.60389],[1114300800000,6.60389],[1114387200000,6.60389],[1114473600000,6.54783],[1114560000000,6.55541],[1114646400000,6.5246],[1114732800000,6.51703],[1114819200000,6.54329],[1114905600000,6.54329],[1114992000000,6.54329],[1115078400000,6.54329],[1115164800000,6.54329],[1115251200000,6.54127],[1115337600000,6.54177],[1115424000000,6.53824],[1115510400000,6.53824],[1115596800000,6.53824],[1115683200000,6.53824],[1115769600000,6.49127],[1115856000000,6.50541],[1115942400000,6.44935],[1116028800000,6.38068],[1116115200000,6.38068],[1116201600000,6.38068],[1116288000000,6.37108],[1116374400000,6.38118],[1116460800000,6.37361],[1116547200000,6.38421],[1116633600000,6.36653],[1116720000000,6.36653],[1116806400000,6.36653],[1116892800000,6.33674],[1116979200000,6.37158],[1117065600000,6.34482],[1117152000000,6.32411],[1117238400000,6.33826],[1117324800000,6.33826],[1117411200000,6.33826],[1117497600000,6.29836],[1117584000000,6.22715],[1117670400000,6.18125],[1117756800000,6.19895],[1117843200000,6.21209],[1117929600000,6.21209],[1118016000000,6.21209],[1118102400000,6.2035],[1118188800000,6.21007],[1118275200000,6.22978],[1118361600000,6.18681],[1118448000000,6.18176],[1118534400000,6.18176],[1118620800000,6.18176],[1118707200000,6.09734],[1118793600000,6.1216],[1118880000000,6.10088],[1118966400000,null],[1119052800000,6.15547],[1119139200000,6.15547],[1119225600000,6.15547],[1119312000000,null],[1119398400000,6.11251],[1119484800000,6.12211],[1119571200000,6.09936],[1119657600000,6.10745],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,6.0933],[1120176000000,null],[1120262400000,6.10998],[1120348800000,6.10998],[1120435200000,6.10998],[1120521600000,6.01242],[1120608000000,6.00686],[1120694400000,6.02202],[1120780800000,6.04426],[1120867200000,6.01747],[1120953600000,6.01747],[1121040000000,6.01747],[1121126400000,6.06903],[1121212800000,6.14991],[1121299200000,6.15901],[1121385600000,6.09987],[1121472000000,6.1029],[1121558400000,6.1029],[1121644800000,6.1029],[1121731200000,6.0933],[1121817600000,6.04831],[1121904000000,6.09182],[1121990400000,6.15444],[1122076800000,6.13222],[1122163200000,6.13222],[1122249600000,6.13222],[1122336000000,6.09283],[1122422400000,6.05344],[1122508800000,6.05495],[1122595200000,6.1105],[1122681600000,6.10696],[1122768000000,6.10696],[1122854400000,6.10696],[1122940800000,6.17059],[1123027200000,6.16958],[1123113600000,6.21554],[1123200000000,6.2211],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,6.24533],[1123718400000,6.25038],[1123804800000,6.26452],[1123891200000,6.29078],[1123977600000,6.29078],[1124064000000,6.29078],[1124150400000,6.24887],[1124236800000,6.21807],[1124323200000,6.20948],[1124409600000,6.16756],[1124496000000,6.15242],[1124582400000,6.15242],[1124668800000,6.15242],[1124755200000,6.17666],[1124841600000,6.17767],[1124928000000,6.17767],[1125014400000,6.19736],[1125100800000,6.21504],[1125187200000,6.21504],[1125273600000,6.21504],[1125360000000,6.20594],[1125446400000,6.1514],[1125532800000,6.15999],[1125619200000,6.25594],[1125705600000,6.33321],[1125792000000,6.33321],[1125878400000,6.33321],[1125964800000,6.33169],[1126051200000,6.30391],[1126137600000,6.28775],[1126224000000,6.27109],[1126310400000,6.26957],[1126396800000,6.26957],[1126483200000,6.26957],[1126569600000,null],[1126656000000,null],[1126742400000,6.21857],[1126828800000,null],[1126915200000,null],[1127001600000,6.18271],[1127088000000,6.18271],[1127174400000,6.13019],[1127260800000,6.13777],[1127347200000,6.17363],[1127433600000,6.17312],[1127520000000,6.11959],[1127606400000,6.11959],[1127692800000,6.11959],[1127779200000,6.07566],[1127865600000,6.06252],[1127952000000,6.07869],[1128038400000,6.09182],[1128124800000,6.08121],[1128211200000,6.08121],[1128297600000,6.08121],[1128384000000,6.02616],[1128470400000,6.02869],[1128556800000,6.03324],[1128643200000,6.0908],[1128729600000,6.13272],[1128816000000,6.13272],[1128902400000,6.13272],[1128988800000,6.10444],[1129075200000,6.07111],[1129161600000,6.06404],[1129248000000,6.0499],[1129334400000,6.0595],[1129420800000,6.0595],[1129507200000,6.0595],[1129593600000,6.07111],[1129680000000,6.02818],[1129766400000,6.03475],[1129852800000,6.03627],[1129939200000,6.06606],[1130025600000,6.06606],[1130112000000,6.06606],[1130198400000,6.03172],[1130284800000,6.06858],[1130371200000,6.08979],[1130457600000,6.12565],[1130544000000,6.12969],[1130630400000,6.12969],[1130716800000,6.12969],[1130803200000,6.07162],[1130889600000,6.06404],[1130976000000,6.05596],[1131062400000,6.08071],[1131148800000,6.02616],[1131235200000,6.02616],[1131321600000,6.02616],[1131408000000,5.97112],[1131494400000,5.9292],[1131580800000,5.92769],[1131667200000,5.93981],[1131753600000,5.90698],[1131840000000,5.90698],[1131926400000,5.90698],[1132012800000,5.91507],[1132099200000,5.89184],[1132185600000,5.89689],[1132272000000,5.90446],[1132358400000,5.8979],[1132444800000,5.8979],[1132531200000,5.8979],[1132617600000,5.96455],[1132704000000,5.909],[1132790400000,5.94688],[1132876800000,5.95041],[1132963200000,5.94032],[1133049600000,5.94032],[1133136000000,5.94032],[1133222400000,5.92163],[1133308800000,5.95547],[1133395200000,5.94334],[1133481600000,5.93123],[1133568000000,5.90698],[1133654400000,5.90698],[1133740800000,5.90698],[1133827200000,5.94233],[1133913600000,5.95041],[1134000000000,5.91355],[1134086400000,5.94082],[1134172800000,5.95143],[1134259200000,5.95143],[1134345600000,5.95143],[1134432000000,6.02212],[1134518400000,6.02212],[1134604800000,6.0701],[1134691200000,6.0595],[1134777600000,6.05142],[1134864000000,6.05142],[1134950400000,6.05142],[1135036800000,6.04838],[1135123200000,6.03728],[1135209600000,5.99536],[1135296000000,5.97011],[1135382400000,5.98879],[1135468800000,5.98879],[1135555200000,5.98879],[1135641600000,5.98879],[1135728000000,5.98526],[1135814400000,6.01758],[1135900800000,5.97163]], 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, 6.890831],[1105747200000, 6.890831],[1108425600000, 6.891791],[1110844800000, 6.979062],[1113523200000, 6.714110],[1116115200000, 6.428943],[1118793600000, 6.164168],[1121385600000, 6.085486],[1124064000000, 6.205534],[1126742400000, 6.203265],[1129334400000, 6.076193],[1132012800000, 5.953681],[1134604800000, 5.983526]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });