$(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: [[1231200000000,0.390812],[1231286400000,0.388703],[1231372800000,0.388703],[1231459200000,0.400225],[1231545600000,0.398212],[1231632000000,0.398212],[1231718400000,0.398212],[1231804800000,0.388159],[1231891200000,0.381533],[1231977600000,0.376833],[1232064000000,0.368956],[1232150400000,0.376073],[1232236800000,null],[1232323200000,0.376073],[1232409600000,0.366325],[1232496000000,0.356913],[1232582400000,0.360379],[1232668800000,0.360927],[1232755200000,0.350535],[1232841600000,0.350535],[1232928000000,0.350535],[1233014400000,0.360938],[1233100800000,0.36703],[1233187200000,0.373303],[1233273600000,0.367375],[1233360000000,0.353932],[1233446400000,0.353932],[1233532800000,0.353932],[1233619200000,0.349254],[1233705600000,0.348395],[1233792000000,0.347775],[1233878400000,0.3497],[1233964800000,0.351639],[1234051200000,0.351639],[1234137600000,0.351639],[1234224000000,0.360306],[1234310400000,0.356338],[1234396800000,0.348636],[1234483200000,0.345262],[1234569600000,null],[1234656000000,null],[1234742400000,0.345718],[1234828800000,0.337189],[1234915200000,0.329881],[1235001600000,0.336219],[1235088000000,0.342213],[1235174400000,0.336518],[1235260800000,0.336518],[1235347200000,0.336518],[1235433600000,0.346366],[1235520000000,0.34649],[1235606400000,0.347519],[1235692800000,0.347374],[1235779200000,0.346596],[1235865600000,0.346596],[1235952000000,0.346596],[1236038400000,0.342827],[1236124800000,0.347396],[1236211200000,0.348549],[1236297600000,0.348448],[1236384000000,0.347623],[1236470400000,0.347623],[1236556800000,0.347623],[1236643200000,0.347623],[1236729600000,null],[1236816000000,0.365138],[1236902400000,0.364321],[1236988800000,0.373552],[1237075200000,0.373552],[1237161600000,0.373552],[1237248000000,0.378628],[1237334400000,0.375866],[1237420800000,0.374615],[1237507200000,0.393094],[1237593600000,0.391795],[1237680000000,0.391795],[1237766400000,0.391795],[1237852800000,0.389249],[1237939200000,0.384986],[1238025600000,0.380739],[1238112000000,0.384731],[1238198400000,0.37602],[1238284800000,0.37602],[1238371200000,0.37602],[1238457600000,0.369821],[1238544000000,0.374148],[1238630400000,0.375655],[1238716800000,0.383511],[1238803200000,0.388721],[1238889600000,0.388721],[1238976000000,0.388721],[1239062400000,0.391292],[1239148800000,0.384145],[1239235200000,0.383103],[1239321600000,0.385523],[1239408000000,0.385523],[1239494400000,0.385523],[1239580800000,0.385523],[1239667200000,0.385523],[1239753600000,0.384725],[1239840000000,0.377309],[1239926400000,0.377449],[1240012800000,0.375216],[1240099200000,0.375216],[1240185600000,0.375216],[1240272000000,0.375216],[1240358400000,0.368324],[1240444800000,0.368234],[1240531200000,0.374511],[1240617600000,0.381083],[1240704000000,0.381083],[1240790400000,0.381083],[1240876800000,0.379421],[1240963200000,0.374353],[1241049600000,0.382721],[1241136000000,0.382823],[1241222400000,0.382823],[1241308800000,null],[1241395200000,0.382823],[1241481600000,0.382823],[1241568000000,0.389769],[1241654400000,0.382688],[1241740800000,0.389614],[1241827200000,0.386575],[1241913600000,0.386575],[1242000000000,0.386575],[1242086400000,0.386575],[1242172800000,0.391677],[1242259200000,0.387822],[1242345600000,0.383807],[1242432000000,0.381218],[1242518400000,0.381218],[1242604800000,0.381218],[1242691200000,0.382033],[1242777600000,0.38897],[1242864000000,0.391751],[1242950400000,0.392417],[1243036800000,0.398423],[1243123200000,0.398423],[1243209600000,0.398423],[1243296000000,0.39987],[1243382400000,0.396888],[1243468800000,0.396302],[1243555200000,0.394477],[1243641600000,0.400394],[1243728000000,0.400394],[1243814400000,0.400394],[1243900800000,0.404067],[1243987200000,0.403923],[1244073600000,0.403174],[1244160000000,0.398398],[1244246400000,0.399637],[1244332800000,0.399637],[1244419200000,0.399637],[1244505600000,0.399637],[1244592000000,0.396437],[1244678400000,0.401212],[1244764800000,0.397488],[1244851200000,0.399888],[1244937600000,0.399888],[1245024000000,0.399888],[1245110400000,0.392779],[1245196800000,0.394884],[1245283200000,0.395006],[1245369600000,0.397952],[1245456000000,0.402615],[1245542400000,0.402615],[1245628800000,0.402615],[1245715200000,0.405333],[1245801600000,0.405952],[1245888000000,0.408831],[1245974400000,0.40775],[1246060800000,0.413711],[1246147200000,0.413711],[1246233600000,0.413711],[1246320000000,0.413711],[1246406400000,0.417243],[1246492800000,0.417875],[1246579200000,0.416664],[1246665600000,0.413673],[1246752000000,0.413673],[1246838400000,0.413673],[1246924800000,0.408959],[1247011200000,0.413279],[1247097600000,0.406911],[1247184000000,0.411203],[1247270400000,0.407172],[1247356800000,0.407172],[1247443200000,0.407172],[1247529600000,0.409371],[1247616000000,0.410167],[1247702400000,0.415114],[1247788800000,0.417464],[1247875200000,0.415964],[1247961600000,0.415964],[1248048000000,0.415964],[1248134400000,0.421602],[1248220800000,0.422056],[1248307200000,0.421098],[1248393600000,0.42551],[1248480000000,0.428178],[1248566400000,0.428178],[1248652800000,0.428178],[1248739200000,0.430105],[1248825600000,0.429091],[1248912000000,0.425218],[1248998400000,0.422892],[1249084800000,0.425644],[1249171200000,0.425644],[1249257600000,0.425644],[1249344000000,0.427865],[1249430400000,0.427215],[1249516800000,0.426718],[1249603200000,0.426381],[1249689600000,0.426876],[1249776000000,0.426876],[1249862400000,0.426876],[1249948800000,0.426425],[1250035200000,0.424837],[1250121600000,0.425595],[1250208000000,0.430323],[1250294400000,0.431453],[1250380800000,0.431453],[1250467200000,0.431453],[1250553600000,0.42598],[1250640000000,0.43181],[1250726400000,0.430753],[1250812800000,0.438919],[1250899200000,0.446512],[1250985600000,0.446512],[1251072000000,0.446512],[1251158400000,0.446512],[1251244800000,0.449859],[1251331200000,0.448831],[1251417600000,0.448662],[1251504000000,0.451432],[1251590400000,0.451432],[1251676800000,0.451432],[1251763200000,0.449318],[1251849600000,0.44677],[1251936000000,0.442057],[1252022400000,0.446867],[1252108800000,0.446089],[1252195200000,0.446089],[1252281600000,0.446089],[1252368000000,0.449499],[1252454400000,0.454259],[1252540800000,0.454915],[1252627200000,0.456012],[1252713600000,0.457918],[1252800000000,0.457918],[1252886400000,0.457918],[1252972800000,0.457446],[1253059200000,0.461321],[1253145600000,0.46516],[1253232000000,0.469402],[1253318400000,0.469272],[1253404800000,0.469272],[1253491200000,0.469272],[1253577600000,0.46634],[1253664000000,0.470895],[1253750400000,0.468882],[1253836800000,0.469989],[1253923200000,0.46648],[1254009600000,0.46648],[1254096000000,0.46648],[1254182400000,0.464702],[1254268800000,0.462818],[1254355200000,0.465755],[1254441600000,0.458076],[1254528000000,0.457458],[1254614400000,0.457458],[1254700800000,0.457458],[1254787200000,0.4598],[1254873600000,0.461738],[1254960000000,0.458329],[1255046400000,0.458998],[1255132800000,0.456768],[1255219200000,0.456768],[1255305600000,0.456768],[1255392000000,0.458029],[1255478400000,0.459068],[1255564800000,0.460063],[1255651200000,0.458468],[1255737600000,0.459842],[1255824000000,0.459842],[1255910400000,0.459842],[1255996800000,0.461107],[1256083200000,0.464533],[1256169600000,0.460851],[1256256000000,0.463306],[1256342400000,0.463661],[1256428800000,0.463661],[1256515200000,0.463661],[1256601600000,0.463927],[1256688000000,0.456621],[1256774400000,0.449051],[1256860800000,0.446514],[1256947200000,0.44711],[1257033600000,0.44711],[1257120000000,0.44711],[1257206400000,0.44642],[1257292800000,0.446874],[1257379200000,0.453542],[1257465600000,0.460538],[1257552000000,0.462658],[1257638400000,0.462658],[1257724800000,0.462658],[1257811200000,0.468085],[1257897600000,0.468494],[1257984000000,0.473512],[1258070400000,0.467833],[1258156800000,0.465575],[1258243200000,0.465575],[1258329600000,0.465575],[1258416000000,0.468913],[1258502400000,0.466192],[1258588800000,0.469755],[1258675200000,0.463798],[1258761600000,0.457264],[1258848000000,0.457264],[1258934400000,0.457264],[1259020800000,0.462755],[1259107200000,0.461892],[1259193600000,0.463722],[1259280000000,0.459301],[1259366400000,0.454667],[1259452800000,0.454667],[1259539200000,0.454667],[1259625600000,0.459157],[1259712000000,0.464082],[1259798400000,0.464256],[1259884800000,0.46807],[1259971200000,0.465533],[1260057600000,0.465533],[1260144000000,0.465533],[1260230400000,0.459054],[1260316800000,0.457984],[1260403200000,0.458055],[1260489600000,0.457659],[1260576000000,0.457893],[1260662400000,0.457893],[1260748800000,0.457893],[1260835200000,0.454231],[1260921600000,0.444123],[1261008000000,0.440403],[1261094400000,0.4379],[1261180800000,0.434719],[1261267200000,0.434719],[1261353600000,0.434719],[1261440000000,0.434403],[1261526400000,0.433219],[1261612800000,0.430827],[1261699200000,0.434054],[1261785600000,0.434027],[1261872000000,0.434027],[1261958400000,0.434027],[1262044800000,0.434309],[1262131200000,0.435427]], 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: [[1231977600000, 0.373977],[1231977600000, 0.373977],[1234656000000, 0.346291],[1237075200000, 0.368540],[1239753600000, 0.380560],[1242345600000, 0.389513],[1245024000000, 0.402483],[1247616000000, 0.417316],[1250294400000, 0.434917],[1252972800000, 0.459198],[1255564800000, 0.458856],[1258243200000, 0.460545],[1260835200000, 0.447658]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });