$(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: [[1168041600000,6.60742],[1168128000000,6.60742],[1168214400000,6.60742],[1168300800000,6.60742],[1168387200000,6.57409],[1168473600000,6.55894],[1168560000000,6.55692],[1168646400000,6.51096],[1168732800000,6.51096],[1168819200000,6.51096],[1168905600000,6.53521],[1168992000000,6.54127],[1169078400000,6.51905],[1169164800000,6.52561],[1169251200000,6.54379],[1169337600000,6.54379],[1169424000000,6.54379],[1169510400000,6.53268],[1169596800000,6.5852],[1169683200000,6.56752],[1169769600000,6.55389],[1169856000000,6.51501],[1169942400000,6.51501],[1170028800000,6.51501],[1170115200000,6.5251],[1170201600000,6.55086],[1170288000000,6.54177],[1170374400000,6.5751],[1170460800000,6.5751],[1170547200000,6.5751],[1170633600000,6.5751],[1170720000000,6.52712],[1170806400000,6.54228],[1170892800000,6.55844],[1170979200000,6.56046],[1171065600000,6.56853],[1171152000000,6.56853],[1171238400000,6.56853],[1171324800000,6.54278],[1171411200000,6.57611],[1171497600000,6.60641],[1171584000000,6.63419],[1171670400000,6.62509],[1171756800000,6.62509],[1171843200000,6.62509],[1171929600000,6.63166],[1172016000000,6.63823],[1172102400000,6.63823],[1172188800000,6.61853],[1172275200000,6.63267],[1172361600000,null],[1172448000000,6.63267],[1172534400000,6.6458],[1172620800000,6.68115],[1172707200000,6.67155],[1172793600000,6.67863],[1172880000000,6.64731],[1172966400000,6.64731],[1173052800000,6.64731],[1173139200000,6.60691],[1173225600000,6.6155],[1173312000000,6.63317],[1173398400000,6.63317],[1173484800000,6.63317],[1173571200000,6.63317],[1173657600000,6.63317],[1173744000000,6.64378],[1173830400000,6.67509],[1173916800000,6.65742],[1174003200000,6.67913],[1174089600000,6.72912],[1174176000000,6.72912],[1174262400000,6.72912],[1174348800000,6.71802],[1174435200000,6.71448],[1174521600000,6.71296],[1174608000000,6.74226],[1174694400000,6.73013],[1174780800000,6.73013],[1174867200000,6.73013],[1174953600000,6.69883],[1175040000000,6.74024],[1175126400000,6.74074],[1175212800000,6.74276],[1175299200000,6.72559],[1175385600000,6.72559],[1175472000000,6.72559],[1175558400000,6.74983],[1175644800000,6.74579],[1175731200000,6.74276],[1175817600000,6.75336],[1175904000000,6.75336],[1175990400000,6.75336],[1176076800000,6.75336],[1176163200000,6.75336],[1176249600000,6.78013],[1176336000000,6.77609],[1176422400000,6.80084],[1176508800000,6.83366],[1176595200000,6.83366],[1176681600000,6.83366],[1176768000000,6.84275],[1176854400000,6.84225],[1176940800000,6.85639],[1177027200000,6.8685],[1177113600000,6.87103],[1177200000000,6.87103],[1177286400000,6.87103],[1177372800000,6.84628],[1177459200000,6.85891],[1177545600000,6.89274],[1177632000000,6.86598],[1177718400000,6.88971],[1177804800000,6.88971],[1177891200000,6.88971],[1177977600000,6.88971],[1178064000000,6.88971],[1178150400000,6.88971],[1178236800000,6.87456],[1178323200000,6.8483],[1178409600000,6.8483],[1178496000000,6.8483],[1178582400000,6.87558],[1178668800000,6.84679],[1178755200000,6.84679],[1178841600000,6.83113],[1178928000000,6.81043],[1179014400000,6.81043],[1179100800000,6.81043],[1179187200000,6.84225],[1179273600000,6.83669],[1179360000000,6.85487],[1179446400000,6.82558],[1179532800000,6.80588],[1179619200000,6.80588],[1179705600000,6.80588],[1179792000000,6.78922],[1179878400000,6.79427],[1179964800000,6.81245],[1180051200000,6.79124],[1180137600000,6.7877],[1180224000000,6.7877],[1180310400000,6.7877],[1180396800000,6.7877],[1180483200000,6.82205],[1180569600000,6.7771],[1180656000000,6.79376],[1180742400000,6.78518],[1180828800000,6.78518],[1180915200000,6.78518],[1181001600000,6.80841],[1181088000000,6.83366],[1181174400000,6.82407],[1181260800000,6.80235],[1181347200000,6.74125],[1181433600000,6.74125],[1181520000000,6.74125],[1181606400000,null],[1181692800000,6.73923],[1181779200000,6.70993],[1181865600000,null],[1181952000000,null],[1182038400000,6.72357],[1182124800000,6.72357],[1182211200000,6.76902],[1182297600000,6.76851],[1182384000000,null],[1182470400000,6.76548],[1182556800000,6.7877],[1182643200000,6.7877],[1182729600000,6.7877],[1182816000000,6.79781],[1182902400000,6.7973],[1182988800000,6.78619],[1183075200000,6.78619],[1183161600000,6.78619],[1183248000000,6.78619],[1183334400000,6.78619],[1183420800000,6.86194],[1183507200000,6.8685],[1183593600000,6.87709],[1183680000000,6.8882],[1183766400000,6.86598],[1183852800000,6.86598],[1183939200000,6.86598],[1184025600000,6.87861],[1184112000000,6.90133],[1184198400000,6.94527],[1184284800000,6.96294],[1184371200000,6.95991],[1184457600000,6.95991],[1184544000000,6.95991],[1184630400000,6.95941],[1184716800000,6.95435],[1184803200000,6.9584],[1184889600000,6.9791],[1184976000000,6.97051],[1185062400000,6.97051],[1185148800000,6.97051],[1185235200000,6.97961],[1185321600000,6.98567],[1185408000000,6.94022],[1185494400000,6.92961],[1185580800000,6.89375],[1185667200000,6.89375],[1185753600000,6.89375],[1185840000000,null],[1185926400000,6.92204],[1186012800000,6.89982],[1186099200000,6.90032],[1186185600000,6.91547],[1186272000000,6.91547],[1186358400000,6.91547],[1186444800000,6.97809],[1186531200000,6.96597],[1186617600000,6.96597],[1186704000000,6.93314],[1186790400000,6.89325],[1186876800000,6.89325],[1186963200000,6.89325],[1187049600000,6.89375],[1187136000000,6.86346],[1187222400000,6.80538],[1187308800000,6.76952],[1187395200000,6.79427],[1187481600000,6.79427],[1187568000000,6.79427],[1187654400000,6.80538],[1187740800000,6.82154],[1187827200000,6.81396],[1187913600000,6.85487],[1188000000000,6.85487],[1188086400000,6.85487],[1188172800000,6.85487],[1188259200000,6.89729],[1188345600000,6.90032],[1188432000000,6.88366],[1188518400000,6.87305],[1188604800000,6.92103],[1188691200000,6.92103],[1188777600000,6.92103],[1188864000000,6.88416],[1188950400000,6.8579],[1189036800000,6.86194],[1189123200000,6.90285],[1189209600000,6.91648],[1189296000000,6.91648],[1189382400000,6.91648],[1189468800000,6.96647],[1189555200000,6.98112],[1189641600000,7.01192],[1189728000000,7.01799],[1189814400000,6.9993],[1189900800000,6.9993],[1189987200000,6.9993],[1190073600000,7.00788],[1190160000000,7.00284],[1190246400000,7.05738],[1190332800000,7.08515],[1190419200000,7.09474],[1190505600000,7.09474],[1190592000000,7.09474],[1190678400000,7.12706],[1190764800000,7.12353],[1190851200000,null],[1190937600000,null],[1191024000000,7.1604],[1191110400000,7.1604],[1191196800000,7.1604],[1191283200000,7.18716],[1191369600000,7.15332],[1191456000000,7.16847],[1191542400000,7.12505],[1191628800000,7.13868],[1191715200000,7.13868],[1191801600000,7.13868],[1191888000000,7.11494],[1191974400000,7.08868],[1192060800000,7.14373],[1192147200000,7.17049],[1192233600000,7.15737],[1192320000000,7.15737],[1192406400000,7.15737],[1192492800000,7.18413],[1192579200000,7.14575],[1192665600000,7.171],[1192752000000,7.221],[1192838400000,7.21544],[1192924800000,7.21544],[1193011200000,7.21544],[1193097600000,7.15383],[1193184000000,7.19827],[1193270400000,7.18615],[1193356800000,7.22605],[1193443200000,7.26392],[1193529600000,7.26392],[1193616000000,7.26392],[1193702400000,7.26745],[1193788800000,7.27553],[1193875200000,7.29573],[1193961600000,7.28362],[1194048000000,7.31189],[1194134400000,7.31189],[1194220800000,7.31189],[1194307200000,7.31644],[1194393600000,7.34624],[1194480000000,7.43461],[1194566400000,7.40633],[1194652800000,7.41491],[1194739200000,7.41491],[1194825600000,7.41491],[1194912000000,7.3624],[1194998400000,7.37653],[1195084800000,7.4235],[1195171200000,7.39269],[1195257600000,7.39876],[1195344000000,7.39876],[1195430400000,7.39876],[1195516800000,7.40027],[1195603200000,7.46643],[1195689600000,7.48107],[1195776000000,7.48864],[1195862400000,7.47855],[1195948800000,7.47855],[1196035200000,7.47855],[1196121600000,7.49672],[1196208000000,7.51137],[1196294400000,7.44724],[1196380800000,7.44269],[1196467200000,7.4543],[1196553600000,7.4543],[1196640000000,7.4543],[1196726400000,7.40633],[1196812800000,7.44421],[1196899200000,7.4336],[1196985600000,7.34977],[1197072000000,7.39774],[1197158400000,7.39774],[1197244800000,7.39774],[1197331200000,7.43259],[1197417600000,7.40936],[1197504000000,7.41087],[1197590400000,7.41491],[1197676800000,7.32705],[1197763200000,7.32705],[1197849600000,7.32705],[1197936000000,7.26846],[1198022400000,7.28008],[1198108800000,7.26443],[1198195200000,7.24625],[1198281600000,7.2619],[1198368000000,7.2619],[1198454400000,7.2619],[1198540800000,7.27099],[1198627200000,7.27099],[1198713600000,7.27099],[1198800000000,7.33058],[1198886400000,7.41946]], 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: [[1168819200000, 6.548665],[1168819200000, 6.548665],[1171497600000, 6.595917],[1173916800000, 6.685467],[1176595200000, 6.815682],[1179187200000, 6.826916],[1181865600000, 6.775294],[1184457600000, 6.917103],[1187136000000, 6.874875],[1189814400000, 7.000130],[1192406400000, 7.182827],[1195084800000, 7.406162],[1197676800000, 7.353340]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });