$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1168041600000,3.5217],[1168128000000,3.5217],[1168214400000,3.5217],[1168300800000,3.5217],[1168387200000,3.51932],[1168473600000,3.46704],[1168560000000,3.50076],[1168646400000,3.5223],[1168732800000,3.5223],[1168819200000,3.5223],[1168905600000,3.53886],[1168992000000,3.52154],[1169078400000,3.53164],[1169164800000,3.55135],[1169251200000,3.56707],[1169337600000,3.56707],[1169424000000,3.56707],[1169510400000,3.58663],[1169596800000,3.57406],[1169683200000,3.57552],[1169769600000,3.56132],[1169856000000,3.53155],[1169942400000,3.53155],[1170028800000,3.53155],[1170115200000,3.53473],[1170201600000,3.53432],[1170288000000,3.55434],[1170374400000,3.58903],[1170460800000,3.60082],[1170547200000,3.60082],[1170633600000,3.60082],[1170720000000,3.5883],[1170806400000,3.61152],[1170892800000,3.60057],[1170979200000,3.59221],[1171065600000,3.6073],[1171152000000,3.6073],[1171238400000,3.6073],[1171324800000,3.57509],[1171411200000,3.5994],[1171497600000,3.61105],[1171584000000,3.63318],[1171670400000,3.63816],[1171756800000,3.63816],[1171843200000,3.63816],[1171929600000,3.65159],[1172016000000,3.65179],[1172102400000,3.65038],[1172188800000,3.65463],[1172275200000,3.65557],[1172361600000,null],[1172448000000,3.65557],[1172534400000,3.64673],[1172620800000,3.59859],[1172707200000,3.56482],[1172793600000,3.52844],[1172880000000,3.53017],[1172966400000,3.53017],[1173052800000,3.53017],[1173139200000,3.46838],[1173225600000,3.51888],[1173312000000,3.52079],[1173398400000,3.52079],[1173484800000,3.52079],[1173571200000,3.52079],[1173657600000,3.52079],[1173744000000,3.5775],[1173830400000,3.55986],[1173916800000,3.5493],[1174003200000,3.58515],[1174089600000,3.586],[1174176000000,3.586],[1174262400000,3.586],[1174348800000,3.61748],[1174435200000,3.61967],[1174521600000,3.62276],[1174608000000,3.64505],[1174694400000,3.64204],[1174780800000,3.64204],[1174867200000,3.64204],[1174953600000,3.64979],[1175040000000,3.6359],[1175126400000,3.62172],[1175212800000,3.62553],[1175299200000,3.64432],[1175385600000,3.64432],[1175472000000,3.64432],[1175558400000,3.63853],[1175644800000,3.6517],[1175731200000,3.68215],[1175817600000,3.68634],[1175904000000,3.68634],[1175990400000,3.68634],[1176076800000,3.68634],[1176163200000,3.68634],[1176249600000,3.68085],[1176336000000,3.68767],[1176422400000,3.66622],[1176508800000,3.67362],[1176595200000,3.67362],[1176681600000,3.67362],[1176768000000,3.7199],[1176854400000,3.72448],[1176940800000,3.73523],[1177027200000,3.72075],[1177113600000,3.77177],[1177200000000,3.77177],[1177286400000,3.77177],[1177372800000,3.76066],[1177459200000,3.77174],[1177545600000,3.79389],[1177632000000,3.78604],[1177718400000,3.77705],[1177804800000,3.77705],[1177891200000,3.77705],[1177977600000,3.77705],[1178064000000,3.77705],[1178150400000,3.77705],[1178236800000,3.72605],[1178323200000,3.73001],[1178409600000,3.73001],[1178496000000,3.73001],[1178582400000,3.77157],[1178668800000,3.76404],[1178755200000,3.76404],[1178841600000,3.76475],[1178928000000,3.7552],[1179014400000,3.7552],[1179100800000,3.7552],[1179187200000,3.78234],[1179273600000,3.77718],[1179360000000,3.81462],[1179446400000,3.81829],[1179532800000,3.79264],[1179619200000,3.79264],[1179705600000,3.79264],[1179792000000,3.81846],[1179878400000,3.82668],[1179964800000,3.81415],[1180051200000,3.79081],[1180137600000,3.79519],[1180224000000,3.79519],[1180310400000,3.79519],[1180396800000,3.79519],[1180483200000,3.81568],[1180569600000,3.78715],[1180656000000,3.82209],[1180742400000,3.84691],[1180828800000,3.84691],[1180915200000,3.84691],[1181001600000,3.85309],[1181088000000,3.84345],[1181174400000,3.82301],[1181260800000,3.80381],[1181347200000,3.74056],[1181433600000,3.74056],[1181520000000,3.74056],[1181606400000,null],[1181692800000,3.78268],[1181779200000,3.75844],[1181865600000,null],[1181952000000,null],[1182038400000,3.81847],[1182124800000,3.81847],[1182211200000,3.87288],[1182297600000,3.8757],[1182384000000,null],[1182470400000,3.84577],[1182556800000,3.85665],[1182643200000,3.85665],[1182729600000,3.85665],[1182816000000,3.8384],[1182902400000,3.81292],[1182988800000,3.79413],[1183075200000,3.79413],[1183161600000,3.79413],[1183248000000,3.79413],[1183334400000,3.79413],[1183420800000,3.87221],[1183507200000,3.90123],[1183593600000,3.90389],[1183680000000,3.89957],[1183766400000,3.89957],[1183852800000,3.89957],[1183939200000,3.89957],[1184025600000,3.92906],[1184112000000,3.91498],[1184198400000,3.89527],[1184284800000,3.92942],[1184371200000,3.96802],[1184457600000,3.96802],[1184544000000,3.96802],[1184630400000,3.9666],[1184716800000,3.94753],[1184803200000,3.95184],[1184889600000,3.98237],[1184976000000,3.9786],[1185062400000,3.9786],[1185148800000,3.9786],[1185235200000,4.03282],[1185321600000,4.0871],[1185408000000,4.05861],[1185494400000,3.95571],[1185580800000,3.84782],[1185667200000,3.84782],[1185753600000,3.84782],[1185840000000,null],[1185926400000,3.9559],[1186012800000,3.88547],[1186099200000,3.94846],[1186185600000,3.96302],[1186272000000,3.96302],[1186358400000,3.96302],[1186444800000,3.93909],[1186531200000,3.9674],[1186617600000,4.0152],[1186704000000,3.9566],[1186790400000,3.87044],[1186876800000,3.87044],[1186963200000,3.87044],[1187049600000,3.91802],[1187136000000,3.8663],[1187222400000,3.763],[1187308800000,3.60945],[1187395200000,3.64578],[1187481600000,3.64578],[1187568000000,3.64578],[1187654400000,3.7423],[1187740800000,3.71341],[1187827200000,3.76005],[1187913600000,3.8161],[1188000000000,3.8161],[1188086400000,3.8161],[1188172800000,3.8161],[1188259200000,3.83844],[1188345600000,3.80644],[1188432000000,3.80102],[1188518400000,3.83049],[1188604800000,3.88451],[1188691200000,3.88451],[1188777600000,3.88451],[1188864000000,3.87556],[1188950400000,3.86143],[1189036800000,3.87308],[1189123200000,3.87365],[1189209600000,3.90828],[1189296000000,3.90828],[1189382400000,3.90828],[1189468800000,3.87996],[1189555200000,3.92418],[1189641600000,3.95038],[1189728000000,3.99294],[1189814400000,3.99367],[1189900800000,3.99367],[1189987200000,3.99367],[1190073600000,3.98719],[1190160000000,3.99614],[1190246400000,4.07634],[1190332800000,4.08366],[1190419200000,4.10243],[1190505600000,4.10243],[1190592000000,4.10243],[1190678400000,4.1204],[1190764800000,4.09281],[1190851200000,null],[1190937600000,null],[1191024000000,4.17297],[1191110400000,4.17297],[1191196800000,4.17297],[1191283200000,4.18345],[1191369600000,4.17688],[1191456000000,4.18695],[1191542400000,4.18554],[1191628800000,4.25453],[1191715200000,4.25453],[1191801600000,4.25453],[1191888000000,4.25764],[1191974400000,4.25007],[1192060800000,4.25678],[1192147200000,4.25523],[1192233600000,4.22114],[1192320000000,4.22114],[1192406400000,4.22114],[1192492800000,4.18095],[1192579200000,4.12715],[1192665600000,4.19381],[1192752000000,4.16556],[1192838400000,4.20456],[1192924800000,4.20456],[1193011200000,4.20456],[1193097600000,4.05822],[1193184000000,4.16591],[1193270400000,4.16492],[1193356800000,4.22057],[1193443200000,4.23281],[1193529600000,4.23281],[1193616000000,4.23281],[1193702400000,4.24203],[1193788800000,4.23513],[1193875200000,4.29489],[1193961600000,4.28498],[1194048000000,4.28599],[1194134400000,4.28599],[1194220800000,4.28599],[1194307200000,4.24511],[1194393600000,4.30637],[1194480000000,4.28631],[1194566400000,4.26656],[1194652800000,4.2284],[1194739200000,4.2284],[1194825600000,4.2284],[1194912000000,4.16897],[1194998400000,4.19097],[1195084800000,4.27252],[1195171200000,4.2683],[1195257600000,4.26613],[1195344000000,4.26613],[1195430400000,4.26613],[1195516800000,4.25083],[1195603200000,4.23027],[1195689600000,4.18849],[1195776000000,4.21349],[1195862400000,4.19789],[1195948800000,4.19789],[1196035200000,4.19789],[1196121600000,4.22899],[1196208000000,4.11695],[1196294400000,4.21319],[1196380800000,4.23578],[1196467200000,4.29891],[1196553600000,4.29891],[1196640000000,4.29891],[1196726400000,4.27124],[1196812800000,4.25262],[1196899200000,4.28944],[1196985600000,4.28558],[1197072000000,4.30477],[1197158400000,4.30477],[1197244800000,4.30477],[1197331200000,4.32379],[1197417600000,4.31404],[1197504000000,4.30539],[1197590400000,4.30324],[1197676800000,4.27432],[1197763200000,4.27432],[1197849600000,4.27432],[1197936000000,4.24535],[1198022400000,4.24594],[1198108800000,4.2267],[1198195200000,4.22472],[1198281600000,4.22892],[1198368000000,4.22892],[1198454400000,4.22892],[1198540800000,4.26501],[1198627200000,4.26501],[1198713600000,4.26501],[1198800000000,4.29392],[1198886400000,4.31916]], 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, 3.536409],[1168819200000, 3.536409],[1171497600000, 3.616979],[1173916800000, 3.577843],[1176595200000, 3.713581],[1179187200000, 3.780041],[1181865600000, 3.818614],[1184457600000, 3.929951],[1187136000000, 3.839328],[1189814400000, 3.985725],[1192406400000, 4.207060],[1195084800000, 4.239940],[1197676800000, 4.276445]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });