$(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: 'Курс SEK, грн'}, 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: 'Курс SEK', data: [[1168041600000,0.728283],[1168128000000,0.728283],[1168214400000,0.728283],[1168300800000,0.728283],[1168387200000,0.722745],[1168473600000,0.719198],[1168560000000,0.717144],[1168646400000,0.714588],[1168732800000,0.714588],[1168819200000,0.714588],[1168905600000,0.719506],[1168992000000,0.721827],[1169078400000,0.718146],[1169164800000,0.717139],[1169251200000,0.71756],[1169337600000,0.71756],[1169424000000,0.71756],[1169510400000,0.715918],[1169596800000,0.724803],[1169683200000,0.724932],[1169769600000,0.722192],[1169856000000,0.717235],[1169942400000,0.717235],[1170028800000,0.717235],[1170115200000,0.719218],[1170201600000,0.724789],[1170288000000,0.722688],[1170374400000,0.727374],[1170460800000,0.725929],[1170547200000,0.725929],[1170633600000,0.725929],[1170720000000,0.715984],[1170806400000,0.716059],[1170892800000,0.719324],[1170979200000,0.721349],[1171065600000,0.722349],[1171152000000,0.722349],[1171238400000,0.722349],[1171324800000,0.718592],[1171411200000,0.717446],[1171497600000,0.722723],[1171584000000,0.71927],[1171670400000,0.714674],[1171756800000,0.714674],[1171843200000,0.714674],[1171929600000,0.717518],[1172016000000,0.717413],[1172102400000,0.713029],[1172188800000,0.710486],[1172275200000,0.71273],[1172361600000,null],[1172448000000,0.71273],[1172534400000,0.716027],[1172620800000,0.722599],[1172707200000,0.719204],[1172793600000,0.719858],[1172880000000,0.715327],[1172966400000,0.715327],[1173052800000,0.715327],[1173139200000,0.708076],[1173225600000,0.712992],[1173312000000,0.715954],[1173398400000,0.715954],[1173484800000,0.715954],[1173571200000,0.715954],[1173657600000,0.715954],[1173744000000,0.714923],[1173830400000,0.718447],[1173916800000,0.715328],[1174003200000,0.720666],[1174089600000,0.726491],[1174176000000,0.726491],[1174262400000,0.726491],[1174348800000,0.72302],[1174435200000,0.72184],[1174521600000,0.72156],[1174608000000,0.725106],[1174694400000,0.722621],[1174780800000,0.722621],[1174867200000,0.722621],[1174953600000,0.719661],[1175040000000,0.723341],[1175126400000,0.723333],[1175212800000,0.722155],[1175299200000,0.719607],[1175385600000,0.719607],[1175472000000,0.719607],[1175558400000,0.720597],[1175644800000,0.720465],[1175731200000,0.722271],[1175817600000,0.7284],[1175904000000,0.7284],[1175990400000,0.7284],[1176076800000,0.7284],[1176163200000,0.7284],[1176249600000,0.730413],[1176336000000,0.731996],[1176422400000,0.73459],[1176508800000,0.736203],[1176595200000,0.736203],[1176681600000,0.736203],[1176768000000,0.741842],[1176854400000,0.742077],[1176940800000,0.743836],[1177027200000,0.744998],[1177113600000,0.747233],[1177200000000,0.747233],[1177286400000,0.747233],[1177372800000,0.744331],[1177459200000,0.746101],[1177545600000,0.751286],[1177632000000,0.750216],[1177718400000,0.75351],[1177804800000,0.75351],[1177891200000,0.75351],[1177977600000,0.75351],[1178064000000,0.75351],[1178150400000,0.75351],[1178236800000,0.752034],[1178323200000,0.747836],[1178409600000,0.747836],[1178496000000,0.747836],[1178582400000,0.750158],[1178668800000,0.745107],[1178755200000,0.745107],[1178841600000,0.74199],[1178928000000,0.738178],[1179014400000,0.738178],[1179100800000,0.738178],[1179187200000,0.741201],[1179273600000,0.743442],[1179360000000,0.745216],[1179446400000,0.741387],[1179532800000,0.738245],[1179619200000,0.738245],[1179705600000,0.738245],[1179792000000,0.736462],[1179878400000,0.73915],[1179964800000,0.741217],[1180051200000,0.738523],[1180137600000,0.7385],[1180224000000,0.7385],[1180310400000,0.7385],[1180396800000,0.7385],[1180483200000,0.73708],[1180569600000,0.728995],[1180656000000,0.730945],[1180742400000,0.728336],[1180828800000,0.728336],[1180915200000,0.728336],[1181001600000,0.730179],[1181088000000,0.732832],[1181174400000,0.730628],[1181260800000,0.729827],[1181347200000,0.721568],[1181433600000,0.721568],[1181520000000,0.721568],[1181606400000,null],[1181692800000,0.717527],[1181779200000,0.712633],[1181865600000,null],[1181952000000,null],[1182038400000,0.713225],[1182124800000,0.713225],[1182211200000,0.717475],[1182297600000,0.71874],[1182384000000,null],[1182470400000,0.731064],[1182556800000,0.734219],[1182643200000,0.734219],[1182729600000,0.734219],[1182816000000,0.735279],[1182902400000,0.732341],[1182988800000,0.731152],[1183075200000,0.731152],[1183161600000,0.731152],[1183248000000,0.731152],[1183334400000,0.731152],[1183420800000,0.74059],[1183507200000,0.743562],[1183593600000,0.74971],[1183680000000,0.752233],[1183766400000,0.749684],[1183852800000,0.749684],[1183939200000,0.749684],[1184025600000,0.750309],[1184112000000,0.751182],[1184198400000,0.757696],[1184284800000,0.76141],[1184371200000,0.760147],[1184457600000,0.760147],[1184544000000,0.760147],[1184630400000,0.760566],[1184716800000,0.759101],[1184803200000,0.758656],[1184889600000,0.760607],[1184976000000,0.760334],[1185062400000,0.760334],[1185148800000,0.760334],[1185235200000,0.75985],[1185321600000,0.761173],[1185408000000,0.753528],[1185494400000,0.751047],[1185580800000,0.747112],[1185667200000,0.747112],[1185753600000,0.747112],[1185840000000,null],[1185926400000,0.753214],[1186012800000,0.745145],[1186099200000,0.747395],[1186185600000,0.750564],[1186272000000,0.750564],[1186358400000,0.750564],[1186444800000,0.756908],[1186531200000,0.75584],[1186617600000,0.754326],[1186704000000,0.747203],[1186790400000,0.741816],[1186876800000,0.741816],[1186963200000,0.741816],[1187049600000,0.740126],[1187136000000,0.736817],[1187222400000,0.726814],[1187308800000,0.719168],[1187395200000,0.725961],[1187481600000,0.725961],[1187568000000,0.725961],[1187654400000,0.72944],[1187740800000,0.728447],[1187827200000,0.726033],[1187913600000,0.731654],[1188000000000,0.731654],[1188086400000,0.731654],[1188172800000,0.731654],[1188259200000,0.735946],[1188345600000,0.736262],[1188432000000,0.732405],[1188518400000,0.732485],[1188604800000,0.738936],[1188691200000,0.738936],[1188777600000,0.738936],[1188864000000,0.733763],[1188950400000,0.730419],[1189036800000,0.730398],[1189123200000,0.738667],[1189209600000,0.741634],[1189296000000,0.741634],[1189382400000,0.741634],[1189468800000,0.743289],[1189555200000,0.749047],[1189641600000,0.754758],[1189728000000,0.756526],[1189814400000,0.754764],[1189900800000,0.754764],[1189987200000,0.754764],[1190073600000,0.754794],[1190160000000,0.753374],[1190246400000,0.762424],[1190332800000,0.768955],[1190419200000,0.770665],[1190505600000,0.770665],[1190592000000,0.770665],[1190678400000,0.776242],[1190764800000,0.772776],[1190851200000,null],[1190937600000,null],[1191024000000,0.777062],[1191110400000,0.777062],[1191196800000,0.777062],[1191283200000,0.781723],[1191369600000,0.77616],[1191456000000,0.778869],[1191542400000,0.776529],[1191628800000,0.777228],[1191715200000,0.777228],[1191801600000,0.777228],[1191888000000,0.77619],[1191974400000,0.773621],[1192060800000,0.780463],[1192147200000,0.787162],[1192233600000,0.785272],[1192320000000,0.785272],[1192406400000,0.785272],[1192492800000,0.790133],[1192579200000,0.780632],[1192665600000,0.784093],[1192752000000,0.788921],[1192838400000,0.78705],[1192924800000,0.78705],[1193011200000,0.78705],[1193097600000,0.776367],[1193184000000,0.783272],[1193270400000,0.780026],[1193356800000,0.784561],[1193443200000,0.791277],[1193529600000,0.791277],[1193616000000,0.791277],[1193702400000,0.790628],[1193788800000,0.792697],[1193875200000,0.791372],[1193961600000,0.789766],[1194048000000,0.790219],[1194134400000,0.790219],[1194220800000,0.790219],[1194307200000,0.790283],[1194393600000,0.794188],[1194480000000,0.803438],[1194566400000,0.799647],[1194652800000,0.798092],[1194739200000,0.798092],[1194825600000,0.798092],[1194912000000,0.789838],[1194998400000,0.794842],[1195084800000,0.802801],[1195171200000,0.799383],[1195257600000,0.799114],[1195344000000,0.799114],[1195430400000,0.799114],[1195516800000,0.797194],[1195603200000,0.804372],[1195689600000,0.802948],[1195776000000,0.802728],[1195862400000,0.802522],[1195948800000,0.802522],[1196035200000,0.802522],[1196121600000,0.807054],[1196208000000,0.806503],[1196294400000,0.79763],[1196380800000,0.794404],[1196467200000,0.795423],[1196553600000,0.795423],[1196640000000,0.795423],[1196726400000,0.789798],[1196812800000,0.790255],[1196899200000,0.790935],[1196985600000,0.782681],[1197072000000,0.78691],[1197158400000,0.78691],[1197244800000,0.78691],[1197331200000,0.789173],[1197417600000,0.787811],[1197504000000,0.785975],[1197590400000,0.785495],[1197676800000,0.777678],[1197763200000,0.777678],[1197849600000,0.777678],[1197936000000,0.768394],[1198022400000,0.77135],[1198108800000,0.766662],[1198195200000,0.765907],[1198281600000,0.768837],[1198368000000,0.768837],[1198454400000,0.768837],[1198540800000,0.767914],[1198627200000,0.767914],[1198713600000,0.767914],[1198800000000,0.774207],[1198886400000,0.785269]], 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.720340],[1168819200000, 0.720340],[1171497600000, 0.718970],[1173916800000, 0.719426],[1176595200000, 0.737236],[1179187200000, 0.742399],[1181865600000, 0.726606],[1184457600000, 0.752845],[1187136000000, 0.738246],[1189814400000, 0.753484],[1192406400000, 0.783277],[1195084800000, 0.797941],[1197676800000, 0.780145]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });