$(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: [[1262736000000,0.43963],[1262822400000,0.435055],[1262908800000,0.435055],[1262995200000,0.435055],[1263081600000,0.435055],[1263168000000,0.435055],[1263254400000,0.443212],[1263340800000,0.441103],[1263427200000,0.445438],[1263513600000,0.445086],[1263600000000,0.443247],[1263686400000,0.443247],[1263772800000,0.443247],[1263859200000,0.444085],[1263945600000,0.441268],[1264032000000,0.436978],[1264118400000,0.43363],[1264204800000,0.432337],[1264291200000,0.432337],[1264377600000,0.432337],[1264464000000,0.435666],[1264550400000,0.432033],[1264636800000,0.43124],[1264723200000,0.426993],[1264809600000,0.426015],[1264896000000,0.426015],[1264982400000,0.426015],[1265068800000,0.426987],[1265155200000,0.428885],[1265241600000,0.429945],[1265328000000,0.424168],[1265414400000,0.418306],[1265500800000,0.418306],[1265587200000,0.418306],[1265673600000,0.418455],[1265760000000,0.422269],[1265846400000,0.421547],[1265932800000,0.42249],[1266019200000,0.417329],[1266105600000,0.417329],[1266192000000,0.417329],[1266278400000,0.418749],[1266364800000,0.419643],[1266451200000,0.423622],[1266537600000,0.421975],[1266624000000,0.419658],[1266710400000,0.419658],[1266796800000,0.419658],[1266883200000,0.422819],[1266969600000,0.420385],[1267056000000,0.41824],[1267142400000,0.415566],[1267228800000,0.417498],[1267315200000,0.417498],[1267401600000,0.417498],[1267488000000,0.416707],[1267574400000,0.419793],[1267660800000,0.422704],[1267747200000,0.422682],[1267833600000,0.420767],[1267920000000,0.420767],[1268006400000,0.420767],[1268092800000,0.420767],[1268179200000,0.421722],[1268265600000,0.424112],[1268352000000,0.426485],[1268438400000,0.430369],[1268524800000,0.430369],[1268611200000,0.430369],[1268697600000,0.428877],[1268784000000,0.429204],[1268870400000,0.431926],[1268956800000,0.430913],[1269043200000,0.425172],[1269129600000,0.425172],[1269216000000,0.425172],[1269302400000,0.420788],[1269388800000,0.422441],[1269475200000,0.417042],[1269561600000,0.417642],[1269648000000,0.416592],[1269734400000,0.416592],[1269820800000,0.416592],[1269907200000,0.419431],[1269993600000,0.419938],[1270080000000,0.419894],[1270166400000,0.420461],[1270252800000,0.420461],[1270339200000,0.420461],[1270425600000,0.420461],[1270512000000,0.420461],[1270598400000,0.419701],[1270684800000,0.418815],[1270771200000,0.418373],[1270857600000,0.420451],[1270944000000,0.420451],[1271030400000,0.420451],[1271116800000,0.427902],[1271203200000,0.427998],[1271289600000,0.430839],[1271376000000,0.427933],[1271462400000,0.426069],[1271548800000,0.426069],[1271635200000,0.426069],[1271721600000,0.421626],[1271808000000,0.422319],[1271894400000,0.419182],[1271980800000,0.416804],[1272067200000,0.415274],[1272153600000,0.415274],[1272240000000,0.415274],[1272326400000,0.415193],[1272412800000,0.412853],[1272499200000,0.410554],[1272585600000,0.411377],[1272672000000,0.413419],[1272758400000,0.413419],[1272844800000,0.413419],[1272931200000,0.413419],[1273017600000,0.413419],[1273104000000,0.395836],[1273190400000,0.388451],[1273276800000,0.388911],[1273363200000,0.388911],[1273449600000,0.388911],[1273536000000,0.388911],[1273622400000,0.393291],[1273708800000,0.396014],[1273795200000,0.392522],[1273881600000,0.38881],[1273968000000,null],[1274054400000,0.38881],[1274140800000,0.38293],[1274227200000,0.386924],[1274313600000,0.378001],[1274400000000,0.377245],[1274486400000,0.382162],[1274572800000,0.382162],[1274659200000,0.382162],[1274745600000,0.382162],[1274832000000,0.377718],[1274918400000,0.381815],[1275004800000,0.378954],[1275091200000,0.3807],[1275177600000,0.3807],[1275264000000,0.3807],[1275350400000,0.382412],[1275436800000,0.375876],[1275523200000,0.375635],[1275609600000,0.377583],[1275696000000,0.366651],[1275782400000,0.366651],[1275868800000,0.366651],[1275955200000,0.36577],[1276041600000,0.364867],[1276128000000,0.367281],[1276214400000,0.36726],[1276300800000,0.373594],[1276387200000,0.373594],[1276473600000,0.373594],[1276560000000,0.377515],[1276646400000,0.378024],[1276732800000,0.377401],[1276819200000,0.380168],[1276905600000,0.380391],[1276992000000,0.380391],[1277078400000,0.380391],[1277164800000,0.380518],[1277251200000,0.376011],[1277337600000,0.377303],[1277424000000,0.376305],[1277510400000,0.37687],[1277596800000,0.37687],[1277683200000,0.37687],[1277769600000,0.37687],[1277856000000,0.374518],[1277942400000,0.377587],[1278028800000,0.378341],[1278115200000,0.385435],[1278201600000,0.385435],[1278288000000,0.385435],[1278374400000,0.387381],[1278460800000,0.390346],[1278547200000,0.388953],[1278633600000,0.393302],[1278720000000,0.39385],[1278806400000,0.39385],[1278892800000,0.39385],[1278979200000,0.392336],[1279065600000,0.391898],[1279152000000,0.394092],[1279238400000,0.398019],[1279324800000,0.403875],[1279411200000,0.403875],[1279497600000,0.403875],[1279584000000,0.402498],[1279670400000,0.400165],[1279756800000,0.399352],[1279843200000,0.40302],[1279929600000,0.404427],[1280016000000,0.404427],[1280102400000,0.404427],[1280188800000,0.40634],[1280275200000,0.410064],[1280361600000,0.41044],[1280448000000,0.416574],[1280534400000,0.415006],[1280620800000,0.415006],[1280707200000,0.415006],[1280793600000,0.41805],[1280880000000,0.422169],[1280966400000,0.421305],[1281052800000,0.420338],[1281139200000,0.419961],[1281225600000,null],[1281312000000,0.419961],[1281398400000,0.422183],[1281484800000,0.418242],[1281571200000,0.413764],[1281657600000,0.405436],[1281744000000,0.405803],[1281830400000,0.405803],[1281916800000,0.405803],[1282003200000,0.407039],[1282089600000,0.409052],[1282176000000,0.409507],[1282262400000,0.408502],[1282348800000,0.404361],[1282435200000,null],[1282521600000,null],[1282608000000,0.404345],[1282694400000,0.404345],[1282780800000,0.399344],[1282867200000,0.402879],[1282953600000,0.405039],[1283040000000,0.405039],[1283126400000,0.405039],[1283212800000,0.403714],[1283299200000,0.402428],[1283385600000,0.408094],[1283472000000,0.409688],[1283558400000,0.41094],[1283644800000,0.41094],[1283731200000,0.41094],[1283817600000,0.412137],[1283904000000,0.407596],[1283990400000,0.406224],[1284076800000,0.407377],[1284163200000,0.40773],[1284249600000,0.40773],[1284336000000,0.40773],[1284422400000,0.410315],[1284508800000,0.414236],[1284595200000,0.417885],[1284681600000,0.420732],[1284768000000,0.419063],[1284854400000,0.419063],[1284940800000,0.419063],[1285027200000,0.419597],[1285113600000,0.421415],[1285200000000,0.430597],[1285286400000,0.428312],[1285372800000,0.430645],[1285459200000,0.430645],[1285545600000,0.430645],[1285632000000,0.434067],[1285718400000,0.432674],[1285804800000,0.438383],[1285891200000,0.438844],[1285977600000,0.4446],[1286064000000,0.4446],[1286150400000,0.4446],[1286236800000,0.443031],[1286323200000,0.444928],[1286409600000,0.446798],[1286496000000,0.450695],[1286582400000,0.448109],[1286668800000,0.448109],[1286755200000,0.448109],[1286841600000,0.449158],[1286928000000,0.446166],[1287014400000,0.451191],[1287100800000,0.456309],[1287187200000,0.454538],[1287273600000,0.454538],[1287360000000,0.454538],[1287446400000,0.448075],[1287532800000,0.447173],[1287619200000,0.447548],[1287705600000,0.45187],[1287792000000,0.447669],[1287878400000,0.447669],[1287964800000,0.447669],[1288051200000,0.452908],[1288137600000,0.447096],[1288224000000,0.442784],[1288310400000,0.445112],[1288396800000,0.445657],[1288483200000,0.445657],[1288569600000,0.445657],[1288656000000,0.449443],[1288742400000,0.453079],[1288828800000,0.453062],[1288915200000,0.462189],[1289001600000,0.453409],[1289088000000,0.453409],[1289174400000,0.453409],[1289260800000,0.448328],[1289347200000,0.448744],[1289433600000,0.442443],[1289520000000,0.440503],[1289606400000,0.44143],[1289692800000,0.44143],[1289779200000,0.44143],[1289865600000,0.438912],[1289952000000,0.438984],[1290038400000,0.435081],[1290124800000,0.439491],[1290211200000,0.439096],[1290297600000,0.439096],[1290384000000,0.439096],[1290470400000,0.438832],[1290556800000,0.434065],[1290643200000,0.42893],[1290729600000,0.427797],[1290816000000,0.424591],[1290902400000,0.424591],[1290988800000,0.424591],[1291075200000,0.421492],[1291161600000,0.414121],[1291248000000,0.417078],[1291334400000,0.417636],[1291420800000,0.420496],[1291507200000,0.420496],[1291593600000,0.420496],[1291680000000,0.422046],[1291766400000,0.42388],[1291852800000,0.418328],[1291939200000,0.419056],[1292025600000,0.418428],[1292112000000,0.418428],[1292198400000,0.418428],[1292284800000,0.419238],[1292371200000,0.425182],[1292457600000,0.422926],[1292544000000,0.419085],[1292630400000,0.418733],[1292716800000,0.418733],[1292803200000,0.418733],[1292889600000,0.414392],[1292976000000,0.414759],[1293062400000,0.413044],[1293148800000,0.411125],[1293235200000,0.411749],[1293321600000,0.411749],[1293408000000,0.411749],[1293494400000,0.412533],[1293580800000,0.414304],[1293667200000,0.413875]], 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: [[1263513600000, 0.436555],[1263513600000, 0.436555],[1266192000000, 0.420808],[1268611200000, 0.422883],[1271289600000, 0.420302],[1273881600000, 0.390027],[1276560000000, 0.374795],[1279152000000, 0.397370],[1281830400000, 0.410608],[1284508800000, 0.417563],[1287100800000, 0.447927],[1289779200000, 0.440754],[1292371200000, 0.417411]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });