$(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: 'Курс LVL, грн'}, 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: 'Курс LVL', data: [[1231200000000,14.7923],[1231286400000,14.52],[1231372800000,14.52],[1231459200000,14.8325],[1231545600000,14.9118],[1231632000000,14.9118],[1231718400000,14.9118],[1231804800000,14.6123],[1231891200000,14.4827],[1231977600000,14.3875],[1232064000000,14.3056],[1232150400000,14.5161],[1232236800000,null],[1232323200000,14.5161],[1232409600000,14.4281],[1232496000000,14.1563],[1232582400000,14.1444],[1232668800000,14.2134],[1232755200000,13.9906],[1232841600000,13.9906],[1232928000000,13.9906],[1233014400000,14.2078],[1233100800000,14.4296],[1233187200000,14.5465],[1233273600000,14.4469],[1233360000000,14.1137],[1233446400000,14.1137],[1233532800000,14.1137],[1233619200000,14.0621],[1233705600000,14.1057],[1233792000000,14.0596],[1233878400000,14.0477],[1233964800000,14.0056],[1234051200000,14.0056],[1234137600000,14.0056],[1234224000000,14.2477],[1234310400000,14.2008],[1234396800000,14.1389],[1234483200000,13.9844],[1234569600000,null],[1234656000000,null],[1234742400000,13.9637],[1234828800000,13.875],[1234915200000,13.7481],[1235001600000,13.7126],[1235088000000,13.841],[1235174400000,13.7266],[1235260800000,13.7266],[1235347200000,13.7266],[1235433600000,13.9384],[1235520000000,13.8983],[1235606400000,13.89],[1235692800000,13.8739],[1235779200000,13.7222],[1235865600000,13.7222],[1235952000000,13.7222],[1236038400000,13.6701],[1236124800000,13.7062],[1236211200000,13.6641],[1236297600000,13.6718],[1236384000000,13.7743],[1236470400000,13.7743],[1236556800000,13.7743],[1236643200000,13.7743],[1236729600000,null],[1236816000000,13.9175],[1236902400000,13.921],[1236988800000,14.051],[1237075200000,14.051],[1237161600000,14.051],[1237248000000,14.1941],[1237334400000,14.0853],[1237420800000,14.2899],[1237507200000,14.8682],[1237593600000,14.7293],[1237680000000,14.7293],[1237766400000,14.7293],[1237852800000,14.7183],[1237939200000,14.6546],[1238025600000,14.6447],[1238112000000,14.7673],[1238198400000,14.4266],[1238284800000,14.4266],[1238371200000,14.4266],[1238457600000,14.316],[1238544000000,14.4408],[1238630400000,14.3816],[1238716800000,14.536],[1238803200000,14.5698],[1238889600000,14.5698],[1238976000000,14.5698],[1239062400000,14.653],[1239148800000,14.3873],[1239235200000,14.3633],[1239321600000,14.4089],[1239408000000,14.4089],[1239494400000,14.4089],[1239580800000,14.4089],[1239667200000,14.4089],[1239753600000,14.4142],[1239840000000,14.3023],[1239926400000,14.3212],[1240012800000,14.1775],[1240099200000,14.1775],[1240185600000,14.1775],[1240272000000,14.1775],[1240358400000,14.0387],[1240444800000,14.053],[1240531200000,14.1688],[1240617600000,14.3664],[1240704000000,14.3664],[1240790400000,14.3664],[1240876800000,14.2482],[1240963200000,14.1038],[1241049600000,14.4033],[1241136000000,14.411],[1241222400000,14.411],[1241308800000,null],[1241395200000,14.411],[1241481600000,14.411],[1241568000000,14.5479],[1241654400000,14.4621],[1241740800000,14.5401],[1241827200000,14.5286],[1241913600000,14.5286],[1242000000000,14.5286],[1242086400000,14.5286],[1242172800000,14.7723],[1242259200000,14.6452],[1242345600000,14.5774],[1242432000000,14.5223],[1242518400000,14.5223],[1242604800000,14.5223],[1242691200000,14.5033],[1242777600000,14.629],[1242864000000,14.7058],[1242950400000,14.7929],[1243036800000,15.0086],[1243123200000,15.0086],[1243209600000,15.0086],[1243296000000,15.049],[1243382400000,14.9436],[1243468800000,14.9361],[1243555200000,14.8831],[1243641600000,15.1425],[1243728000000,15.1425],[1243814400000,15.1425],[1243900800000,15.2575],[1243987200000,15.2745],[1244073600000,15.2425],[1244160000000,15.1265],[1244246400000,15.212],[1244332800000,15.212],[1244419200000,15.212],[1244505600000,15.212],[1244592000000,15.1865],[1244678400000,15.3418],[1244764800000,15.2413],[1244851200000,15.3015],[1244937600000,15.3015],[1245024000000,15.3015],[1245110400000,14.9848],[1245196800000,15.1032],[1245283200000,15.0962],[1245369600000,15.1911],[1245456000000,15.2139],[1245542400000,15.2139],[1245628800000,15.2139],[1245715200000,15.1311],[1245801600000,15.2637],[1245888000000,15.3443],[1245974400000,15.2723],[1246060800000,15.3872],[1246147200000,15.3872],[1246233600000,15.3872],[1246320000000,15.3872],[1246406400000,15.3483],[1246492800000,15.3312],[1246579200000,15.3193],[1246665600000,15.34],[1246752000000,15.34],[1246838400000,15.34],[1246924800000,15.2305],[1247011200000,15.3443],[1247097600000,15.1412],[1247184000000,15.2404],[1247270400000,15.1561],[1247356800000,15.1561],[1247443200000,15.1561],[1247529600000,15.2216],[1247616000000,15.2169],[1247702400000,15.3505],[1247788800000,15.4119],[1247875200000,15.4014],[1247961600000,15.4014],[1248048000000,15.4014],[1248134400000,15.553],[1248220800000,15.5537],[1248307200000,15.4912],[1248393600000,15.5102],[1248480000000,15.5143],[1248566400000,15.5143],[1248652800000,15.5143],[1248739200000,15.625],[1248825600000,15.605],[1248912000000,15.4702],[1248998400000,15.4234],[1249084800000,15.4991],[1249171200000,15.4991],[1249257600000,15.4991],[1249344000000,15.6543],[1249430400000,15.7282],[1249516800000,15.753],[1249603200000,15.7467],[1249689600000,15.7487],[1249776000000,15.7487],[1249862400000,15.7487],[1249948800000,15.6291],[1250035200000,15.6155],[1250121600000,15.6444],[1250208000000,15.8043],[1250294400000,15.8608],[1250380800000,15.8608],[1250467200000,15.8608],[1250553600000,15.6913],[1250640000000,15.7677],[1250726400000,15.8148],[1250812800000,16.0586],[1250899200000,16.259],[1250985600000,16.259],[1251072000000,16.259],[1251158400000,16.259],[1251244800000,16.2998],[1251331200000,16.2397],[1251417600000,16.2029],[1251504000000,16.3119],[1251590400000,16.3119],[1251676800000,16.3119],[1251763200000,16.2166],[1251849600000,16.2483],[1251936000000,16.1563],[1252022400000,16.2893],[1252108800000,16.2359],[1252195200000,16.2359],[1252281600000,16.2359],[1252368000000,16.3203],[1252454400000,16.4849],[1252540800000,16.5295],[1252627200000,16.5498],[1252713600000,16.6188],[1252800000000,16.6188],[1252886400000,16.6188],[1252972800000,16.5802],[1253059200000,16.6523],[1253145600000,16.6922],[1253232000000,16.7508],[1253318400000,16.7452],[1253404800000,16.7452],[1253491200000,16.7452],[1253577600000,16.6757],[1253664000000,16.774],[1253750400000,16.7584],[1253836800000,16.713],[1253923200000,16.6162],[1254009600000,16.6162],[1254096000000,16.6162],[1254182400000,16.6237],[1254268800000,16.4997],[1254355200000,16.5564],[1254441600000,16.4398],[1254528000000,16.4396],[1254614400000,16.4396],[1254700800000,16.4396],[1254787200000,16.5266],[1254873600000,16.63],[1254960000000,16.603],[1255046400000,16.6669],[1255132800000,16.6546],[1255219200000,16.6546],[1255305600000,16.6546],[1255392000000,16.6739],[1255478400000,16.7848],[1255564800000,16.7868],[1255651200000,16.7346],[1255737600000,16.7452],[1255824000000,16.7452],[1255910400000,16.7452],[1255996800000,16.7933],[1256083200000,16.8789],[1256169600000,16.8214],[1256256000000,16.9478],[1256342400000,16.9436],[1256428800000,16.9436],[1256515200000,16.9436],[1256601600000,16.9394],[1256688000000,16.7919],[1256774400000,16.6914],[1256860800000,16.686],[1256947200000,16.6826],[1257033600000,16.6826],[1257120000000,16.6826],[1257206400000,16.6594],[1257292800000,16.5587],[1257379200000,16.6864],[1257465600000,16.8041],[1257552000000,16.7501],[1257638400000,16.7501],[1257724800000,16.7501],[1257811200000,16.8938],[1257897600000,16.8705],[1257984000000,16.9544],[1258070400000,16.8389],[1258156800000,16.7797],[1258243200000,16.7797],[1258329600000,16.7797],[1258416000000,16.8883],[1258502400000,16.7781],[1258588800000,16.8694],[1258675200000,16.771],[1258761600000,16.7121],[1258848000000,16.7121],[1258934400000,16.7121],[1259020800000,16.8656],[1259107200000,16.8668],[1259193600000,16.9894],[1259280000000,16.9674],[1259366400000,16.7925],[1259452800000,16.7925],[1259539200000,16.7925],[1259625600000,16.9301],[1259712000000,17.005],[1259798400000,17.0306],[1259884800000,17.0658],[1259971200000,17.0088],[1260057600000,17.0088],[1260144000000,17.0088],[1260230400000,16.6868],[1260316800000,16.6685],[1260403200000,16.6683],[1260489600000,16.6348],[1260576000000,16.667],[1260662400000,16.667],[1260748800000,16.667],[1260835200000,16.5429],[1260921600000,16.4149],[1261008000000,16.4255],[1261094400000,16.1734],[1261180800000,16.1667],[1261267200000,16.1667],[1261353600000,16.1667],[1261440000000,16.197],[1261526400000,16.0719],[1261612800000,16.062],[1261699200000,16.1838],[1261785600000,16.1828],[1261872000000,16.1828],[1261958400000,16.1828],[1262044800000,16.1942],[1262131200000,16.2168]], 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, 14.435154],[1231977600000, 14.435154],[1234656000000, 13.951311],[1237075200000, 14.175029],[1239753600000, 14.345937],[1242345600000, 14.687456],[1245024000000, 15.238102],[1247616000000, 15.374947],[1250294400000, 15.901534],[1252972800000, 16.538781],[1255564800000, 16.709163],[1258243200000, 16.791033],[1260835200000, 16.496413]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });