$(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: 'Курс CZK, грн'}, 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: 'Курс CZK', data: [[1168041600000,0.239096],[1168128000000,0.239096],[1168214400000,0.239096],[1168300800000,0.239096],[1168387200000,0.238192],[1168473600000,0.236486],[1168560000000,0.236081],[1168646400000,0.234587],[1168732800000,0.234587],[1168819200000,0.234587],[1168905600000,0.235376],[1168992000000,0.235611],[1169078400000,0.233926],[1169164800000,0.234271],[1169251200000,0.235659],[1169337600000,0.235659],[1169424000000,0.235659],[1169510400000,0.234946],[1169596800000,0.23591],[1169683200000,0.234028],[1169769600000,0.232837],[1169856000000,0.231645],[1169942400000,0.231645],[1170028800000,0.231645],[1170115200000,0.231264],[1170201600000,0.231479],[1170288000000,0.232282],[1170374400000,0.234031],[1170460800000,0.233143],[1170547200000,0.233143],[1170633600000,0.233143],[1170720000000,0.231968],[1170806400000,0.232614],[1170892800000,0.233164],[1170979200000,0.232541],[1171065600000,0.232556],[1171152000000,0.232556],[1171238400000,0.232556],[1171324800000,0.231112],[1171411200000,0.232923],[1171497600000,0.233706],[1171584000000,0.234589],[1171670400000,0.234525],[1171756800000,0.234525],[1171843200000,0.234525],[1171929600000,0.235499],[1172016000000,0.236026],[1172102400000,0.235674],[1172188800000,0.234392],[1172275200000,0.234163],[1172361600000,null],[1172448000000,0.234163],[1172534400000,0.233974],[1172620800000,0.234731],[1172707200000,0.235786],[1172793600000,0.236621],[1172880000000,0.236072],[1172966400000,0.236072],[1173052800000,0.236072],[1173139200000,0.234388],[1173225600000,0.234792],[1173312000000,0.235612],[1173398400000,0.235612],[1173484800000,0.235612],[1173571200000,0.235612],[1173657600000,0.235612],[1173744000000,0.235278],[1173830400000,0.236689],[1173916800000,0.236515],[1174003200000,0.238064],[1174089600000,0.241464],[1174176000000,0.241464],[1174262400000,0.241464],[1174348800000,0.241847],[1174435200000,0.241459],[1174521600000,0.240281],[1174608000000,0.240915],[1174694400000,0.240594],[1174780800000,0.240594],[1174867200000,0.240594],[1174953600000,0.2398],[1175040000000,0.240843],[1175126400000,0.240098],[1175212800000,0.240512],[1175299200000,0.240114],[1175385600000,0.240114],[1175472000000,0.240114],[1175558400000,0.241583],[1175644800000,0.240826],[1175731200000,0.24139],[1175817600000,0.241684],[1175904000000,0.241684],[1175990400000,0.241684],[1176076800000,0.241684],[1176163200000,0.241684],[1176249600000,0.242581],[1176336000000,0.241977],[1176422400000,0.243208],[1176508800000,0.244365],[1176595200000,0.244365],[1176681600000,0.244365],[1176768000000,0.244707],[1176854400000,0.24468],[1176940800000,0.244941],[1177027200000,0.245129],[1177113600000,0.245105],[1177200000000,0.245105],[1177286400000,0.245105],[1177372800000,0.244283],[1177459200000,0.244394],[1177545600000,0.245241],[1177632000000,0.244211],[1177718400000,0.244611],[1177804800000,0.244611],[1177891200000,0.244611],[1177977600000,0.244611],[1178064000000,0.244611],[1178150400000,0.244611],[1178236800000,0.244325],[1178323200000,0.243556],[1178409600000,0.243556],[1178496000000,0.243556],[1178582400000,0.2441],[1178668800000,0.242519],[1178755200000,0.242519],[1178841600000,0.24175],[1178928000000,0.24089],[1179014400000,0.24089],[1179100800000,0.24089],[1179187200000,0.241878],[1179273600000,0.24181],[1179360000000,0.242779],[1179446400000,0.242817],[1179532800000,0.241343],[1179619200000,0.241343],[1179705600000,0.241343],[1179792000000,0.24106],[1179878400000,0.241051],[1179964800000,0.241174],[1180051200000,0.240381],[1180137600000,0.23978],[1180224000000,0.23978],[1180310400000,0.23978],[1180396800000,0.23978],[1180483200000,0.241164],[1180569600000,0.239135],[1180656000000,0.239859],[1180742400000,0.239886],[1180828800000,0.239886],[1180915200000,0.239886],[1181001600000,0.240384],[1181088000000,0.24063],[1181174400000,0.240005],[1181260800000,0.239418],[1181347200000,0.237201],[1181433600000,0.237201],[1181520000000,0.237201],[1181606400000,null],[1181692800000,0.23678],[1181779200000,0.235345],[1181865600000,null],[1181952000000,null],[1182038400000,0.235205],[1182124800000,0.235205],[1182211200000,0.236687],[1182297600000,0.236686],[1182384000000,null],[1182470400000,0.236514],[1182556800000,0.236918],[1182643200000,0.236918],[1182729600000,0.236918],[1182816000000,0.236709],[1182902400000,0.236873],[1182988800000,0.236882],[1183075200000,0.236882],[1183161600000,0.236882],[1183248000000,0.236882],[1183334400000,0.236882],[1183420800000,0.238784],[1183507200000,0.23868],[1183593600000,0.239628],[1183680000000,0.240426],[1183766400000,0.239868],[1183852800000,0.239868],[1183939200000,0.239868],[1184025600000,0.239882],[1184112000000,0.241061],[1184198400000,0.243907],[1184284800000,0.24558],[1184371200000,0.245777],[1184457600000,0.245777],[1184544000000,0.245777],[1184630400000,0.246744],[1184716800000,0.245989],[1184803200000,0.246332],[1184889600000,0.246777],[1184976000000,0.246718],[1185062400000,0.246718],[1185148800000,0.246718],[1185235200000,0.247574],[1185321600000,0.247868],[1185408000000,0.246798],[1185494400000,0.246395],[1185580800000,0.245968],[1185667200000,0.245968],[1185753600000,0.245968],[1185840000000,null],[1185926400000,0.246889],[1186012800000,0.246422],[1186099200000,0.24629],[1186185600000,0.246602],[1186272000000,0.246602],[1186358400000,0.246602],[1186444800000,0.248623],[1186531200000,0.247468],[1186617600000,0.247169],[1186704000000,0.246564],[1186790400000,0.245801],[1186876800000,0.245801],[1186963200000,0.245801],[1187049600000,0.245802],[1187136000000,0.245316],[1187222400000,0.243615],[1187308800000,0.246075],[1187395200000,0.245609],[1187481600000,0.245609],[1187568000000,0.245609],[1187654400000,0.24569],[1187740800000,0.24655],[1187827200000,0.245557],[1187913600000,0.247165],[1188000000000,0.247165],[1188086400000,0.247165],[1188172800000,0.247165],[1188259200000,0.248033],[1188345600000,0.248965],[1188432000000,0.249155],[1188518400000,0.249078],[1188604800000,0.249622],[1188691200000,0.249622],[1188777600000,0.249622],[1188864000000,0.248795],[1188950400000,0.24807],[1189036800000,0.248261],[1189123200000,0.250031],[1189209600000,0.250316],[1189296000000,0.250316],[1189382400000,0.250316],[1189468800000,0.252409],[1189555200000,0.252664],[1189641600000,0.25484],[1189728000000,0.255357],[1189814400000,0.254446],[1189900800000,0.254446],[1189987200000,0.254446],[1190073600000,0.254823],[1190160000000,0.254658],[1190246400000,0.255027],[1190332800000,0.257764],[1190419200000,0.257775],[1190505600000,0.257775],[1190592000000,0.257775],[1190678400000,0.258527],[1190764800000,0.25853],[1190851200000,null],[1190937600000,null],[1191024000000,0.260075],[1191110400000,0.260075],[1191196800000,0.260075],[1191283200000,0.260991],[1191369600000,0.260168],[1191456000000,0.259803],[1191542400000,0.258763],[1191628800000,0.259305],[1191715200000,0.259305],[1191801600000,0.259305],[1191888000000,0.258603],[1191974400000,0.25793],[1192060800000,0.259866],[1192147200000,0.261002],[1192233600000,0.260438],[1192320000000,0.260438],[1192406400000,0.260438],[1192492800000,0.261023],[1192579200000,0.2596],[1192665600000,0.261334],[1192752000000,0.263089],[1192838400000,0.264894],[1192924800000,0.264894],[1193011200000,0.264894],[1193097600000,0.262863],[1193184000000,0.264818],[1193270400000,0.264411],[1193356800000,0.266506],[1193443200000,0.269413],[1193529600000,0.269413],[1193616000000,0.269413],[1193702400000,0.269945],[1193788800000,0.270869],[1193875200000,0.270483],[1193961600000,0.269504],[1194048000000,0.271404],[1194134400000,0.271404],[1194220800000,0.271404],[1194307200000,0.27123],[1194393600000,0.272588],[1194480000000,0.276031],[1194566400000,0.27539],[1194652800000,0.2774],[1194739200000,0.2774],[1194825600000,0.2774],[1194912000000,0.276314],[1194998400000,0.276368],[1195084800000,0.278086],[1195171200000,0.27767],[1195257600000,0.277575],[1195344000000,0.277575],[1195430400000,0.277575],[1195516800000,0.277236],[1195603200000,0.279746],[1195689600000,0.279342],[1195776000000,0.279792],[1195862400000,0.279478],[1195948800000,0.279478],[1196035200000,0.279478],[1196121600000,0.280094],[1196208000000,0.280621],[1196294400000,0.281091],[1196380800000,0.282134],[1196467200000,0.283855],[1196553600000,0.283855],[1196640000000,0.283855],[1196726400000,0.282232],[1196812800000,0.283157],[1196899200000,0.283325],[1196985600000,0.281374],[1197072000000,0.282745],[1197158400000,0.282745],[1197244800000,0.282745],[1197331200000,0.285891],[1197417600000,0.284538],[1197504000000,0.284596],[1197590400000,0.282494],[1197676800000,0.277382],[1197763200000,0.277382],[1197849600000,0.277382],[1197936000000,0.275373],[1198022400000,0.276252],[1198108800000,0.276214],[1198195200000,0.27477],[1198281600000,0.274573],[1198368000000,0.274573],[1198454400000,0.274573],[1198540800000,0.273912],[1198627200000,0.273912],[1198713600000,0.273912],[1198800000000,0.275503],[1198886400000,0.279137]], 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.235095],[1168819200000, 0.235095],[1171497600000, 0.233638],[1173916800000, 0.238273],[1176595200000, 0.243335],[1179187200000, 0.241896],[1181865600000, 0.237652],[1184457600000, 0.243706],[1187136000000, 0.246644],[1189814400000, 0.253799],[1192406400000, 0.262704],[1195084800000, 0.276710],[1197676800000, 0.279388]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });