$(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: 'Курс EEK, грн'}, 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: 'Курс EEK', data: [[1168041600000,0.422291],[1168128000000,0.422291],[1168214400000,0.422291],[1168300800000,0.422291],[1168387200000,0.420161],[1168473600000,0.419193],[1168560000000,0.419064],[1168646400000,0.416127],[1168732800000,0.416127],[1168819200000,0.416127],[1168905600000,0.417676],[1168992000000,0.418063],[1169078400000,0.416643],[1169164800000,0.417062],[1169251200000,0.418224],[1169337600000,0.418224],[1169424000000,0.418224],[1169510400000,0.417514],[1169596800000,0.420871],[1169683200000,0.419741],[1169769600000,0.41887],[1169856000000,0.416385],[1169942400000,0.416385],[1170028800000,0.416385],[1170115200000,0.41703],[1170201600000,0.418676],[1170288000000,0.418095],[1170374400000,0.420225],[1170460800000,0.420225],[1170547200000,0.420225],[1170633600000,0.420225],[1170720000000,0.417159],[1170806400000,0.418128],[1170892800000,0.41916],[1170979200000,0.419289],[1171065600000,0.419806],[1171152000000,0.419806],[1171238400000,0.419806],[1171324800000,0.41816],[1171411200000,0.42029],[1171497600000,0.422227],[1171584000000,0.424002],[1171670400000,0.423421],[1171756800000,0.423421],[1171843200000,0.423421],[1171929600000,0.42384],[1172016000000,0.42426],[1172102400000,0.42426],[1172188800000,0.423001],[1172275200000,0.423905],[1172361600000,null],[1172448000000,0.423905],[1172534400000,0.424744],[1172620800000,0.427003],[1172707200000,0.42639],[1172793600000,0.426842],[1172880000000,0.424841],[1172966400000,0.424841],[1173052800000,0.424841],[1173139200000,0.422259],[1173225600000,0.422808],[1173312000000,0.423937],[1173398400000,0.423937],[1173484800000,0.423937],[1173571200000,0.423937],[1173657600000,0.423937],[1173744000000,0.424615],[1173830400000,0.426616],[1173916800000,0.425486],[1174003200000,0.426874],[1174089600000,0.430069],[1174176000000,0.430069],[1174262400000,0.430069],[1174348800000,0.429359],[1174435200000,0.429133],[1174521600000,0.429037],[1174608000000,0.430909],[1174694400000,0.430134],[1174780800000,0.430134],[1174867200000,0.430134],[1174953600000,0.428133],[1175040000000,0.43078],[1175126400000,0.430812],[1175212800000,0.430941],[1175299200000,0.429844],[1175385600000,0.429844],[1175472000000,0.429844],[1175558400000,0.431393],[1175644800000,0.431135],[1175731200000,0.430941],[1175817600000,0.431619],[1175904000000,0.431619],[1175990400000,0.431619],[1176076800000,0.431619],[1176163200000,0.431619],[1176249600000,0.433329],[1176336000000,0.433071],[1176422400000,0.434653],[1176508800000,0.43675],[1176595200000,0.43675],[1176681600000,0.43675],[1176768000000,0.437331],[1176854400000,0.437299],[1176940800000,0.438203],[1177027200000,0.438977],[1177113600000,0.439139],[1177200000000,0.439139],[1177286400000,0.439139],[1177372800000,0.437557],[1177459200000,0.438364],[1177545600000,0.440527],[1177632000000,0.438816],[1177718400000,0.440333],[1177804800000,0.440333],[1177891200000,0.440333],[1177977600000,0.440333],[1178064000000,0.440333],[1178150400000,0.440333],[1178236800000,0.439365],[1178323200000,0.437686],[1178409600000,0.437686],[1178496000000,0.437686],[1178582400000,0.439429],[1178668800000,0.43759],[1178755200000,0.43759],[1178841600000,0.436589],[1178928000000,0.435266],[1179014400000,0.435266],[1179100800000,0.435266],[1179187200000,0.437299],[1179273600000,0.436944],[1179360000000,0.438106],[1179446400000,0.436234],[1179532800000,0.434975],[1179619200000,0.434975],[1179705600000,0.434975],[1179792000000,0.43391],[1179878400000,0.434233],[1179964800000,0.435395],[1180051200000,0.434039],[1180137600000,0.433813],[1180224000000,0.433813],[1180310400000,0.433813],[1180396800000,0.433813],[1180483200000,0.436008],[1180569600000,0.433136],[1180656000000,0.434201],[1180742400000,0.433652],[1180828800000,0.433652],[1180915200000,0.433652],[1181001600000,0.435137],[1181088000000,0.43675],[1181174400000,0.436137],[1181260800000,0.434749],[1181347200000,0.430844],[1181433600000,0.430844],[1181520000000,0.430844],[1181606400000,null],[1181692800000,0.430715],[1181779200000,0.428843],[1181865600000,null],[1181952000000,null],[1182038400000,0.429714],[1182124800000,0.429714],[1182211200000,0.432619],[1182297600000,0.432587],[1182384000000,null],[1182470400000,0.432393],[1182556800000,0.433813],[1182643200000,0.433813],[1182729600000,0.433813],[1182816000000,0.434459],[1182902400000,0.434427],[1182988800000,0.433717],[1183075200000,0.433717],[1183161600000,0.433717],[1183248000000,0.433717],[1183334400000,0.433717],[1183420800000,0.438558],[1183507200000,0.438977],[1183593600000,0.439526],[1183680000000,0.440236],[1183766400000,0.438816],[1183852800000,0.438816],[1183939200000,0.438816],[1184025600000,0.439623],[1184112000000,0.441075],[1184198400000,0.443883],[1184284800000,0.445013],[1184371200000,0.444819],[1184457600000,0.444819],[1184544000000,0.444819],[1184630400000,0.444787],[1184716800000,0.444464],[1184803200000,0.444722],[1184889600000,0.446046],[1184976000000,0.445497],[1185062400000,0.445497],[1185148800000,0.445497],[1185235200000,0.446078],[1185321600000,0.446465],[1185408000000,0.443561],[1185494400000,0.442883],[1185580800000,0.440591],[1185667200000,0.440591],[1185753600000,0.440591],[1185840000000,null],[1185926400000,0.442399],[1186012800000,0.440979],[1186099200000,0.441011],[1186185600000,0.441979],[1186272000000,0.441979],[1186358400000,0.441979],[1186444800000,0.445981],[1186531200000,0.445207],[1186617600000,0.445207],[1186704000000,0.443109],[1186790400000,0.440559],[1186876800000,0.440559],[1186963200000,0.440559],[1187049600000,0.440591],[1187136000000,0.438655],[1187222400000,0.434943],[1187308800000,0.432652],[1187395200000,0.434233],[1187481600000,0.434233],[1187568000000,0.434233],[1187654400000,0.434943],[1187740800000,0.435976],[1187827200000,0.435492],[1187913600000,0.438106],[1188000000000,0.438106],[1188086400000,0.438106],[1188172800000,0.438106],[1188259200000,0.440817],[1188345600000,0.441011],[1188432000000,0.439946],[1188518400000,0.439268],[1188604800000,0.442334],[1188691200000,0.442334],[1188777600000,0.442334],[1188864000000,0.439978],[1188950400000,0.4383],[1189036800000,0.438558],[1189123200000,0.441172],[1189209600000,0.442044],[1189296000000,0.442044],[1189382400000,0.442044],[1189468800000,0.445239],[1189555200000,0.446175],[1189641600000,0.448144],[1189728000000,0.448531],[1189814400000,0.447337],[1189900800000,0.447337],[1189987200000,0.447337],[1190073600000,0.447885],[1190160000000,0.447563],[1190246400000,0.451048],[1190332800000,0.452824],[1190419200000,0.453437],[1190505600000,0.453437],[1190592000000,0.453437],[1190678400000,0.455502],[1190764800000,0.455277],[1190851200000,null],[1190937600000,null],[1191024000000,0.457633],[1191110400000,0.457633],[1191196800000,0.457633],[1191283200000,0.459343],[1191369600000,0.457181],[1191456000000,0.458149],[1191542400000,0.455373],[1191628800000,0.456245],[1191715200000,0.456245],[1191801600000,0.456245],[1191888000000,0.454728],[1191974400000,0.45305],[1192060800000,0.456568],[1192147200000,0.458278],[1192233600000,0.457439],[1192320000000,0.457439],[1192406400000,0.457439],[1192492800000,0.45915],[1192579200000,0.456697],[1192665600000,0.45831],[1192752000000,0.461506],[1192838400000,0.461151],[1192924800000,0.461151],[1193011200000,0.461151],[1193097600000,0.457213],[1193184000000,0.460053],[1193270400000,0.459279],[1193356800000,0.461828],[1193443200000,0.464249],[1193529600000,0.464249],[1193616000000,0.464249],[1193702400000,0.464475],[1193788800000,0.464991],[1193875200000,0.466282],[1193961600000,0.465508],[1194048000000,0.467315],[1194134400000,0.467315],[1194220800000,0.467315],[1194307200000,0.467606],[1194393600000,0.46951],[1194480000000,0.475158],[1194566400000,0.473351],[1194652800000,0.473899],[1194739200000,0.473899],[1194825600000,0.473899],[1194912000000,0.470543],[1194998400000,0.471447],[1195084800000,0.474448],[1195171200000,0.472479],[1195257600000,0.472867],[1195344000000,0.472867],[1195430400000,0.472867],[1195516800000,0.472963],[1195603200000,0.477192],[1195689600000,0.478128],[1195776000000,0.478612],[1195862400000,0.477966],[1195948800000,0.477966],[1196035200000,0.477966],[1196121600000,0.479128],[1196208000000,0.480064],[1196294400000,0.475965],[1196380800000,0.475675],[1196467200000,0.476417],[1196553600000,0.476417],[1196640000000,0.476417],[1196726400000,0.473351],[1196812800000,0.475771],[1196899200000,0.475094],[1196985600000,0.469736],[1197072000000,0.472802],[1197158400000,0.472802],[1197244800000,0.472802],[1197331200000,0.475029],[1197417600000,0.473544],[1197504000000,0.473641],[1197590400000,0.473899],[1197676800000,0.468284],[1197763200000,0.468284],[1197849600000,0.468284],[1197936000000,0.46454],[1198022400000,0.465282],[1198108800000,0.464281],[1198195200000,0.463119],[1198281600000,0.46412],[1198368000000,0.46412],[1198454400000,0.46412],[1198540800000,0.464701],[1198627200000,0.464701],[1198713600000,0.464701],[1198800000000,0.468509],[1198886400000,0.47419]], 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, 0.418536],[1168819200000, 0.418536],[1171497600000, 0.421556],[1173916800000, 0.427279],[1176595200000, 0.435602],[1179187200000, 0.436319],[1181865600000, 0.433020],[1184457600000, 0.442083],[1187136000000, 0.439385],[1189814400000, 0.447390],[1192406400000, 0.459066],[1195084800000, 0.473340],[1197676800000, 0.469964]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });