$(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: 'Курс LTL, грн'}, 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: 'Курс LTL', data: [[1231200000000,3.02889],[1231286400000,2.97314],[1231372800000,2.97314],[1231459200000,3.03669],[1231545600000,3.05163],[1231632000000,3.05163],[1231718400000,3.05163],[1231804800000,2.98696],[1231891200000,2.95752],[1231977600000,2.93768],[1232064000000,2.91805],[1232150400000,2.95931],[1232236800000,null],[1232323200000,2.95931],[1232409600000,2.93968],[1232496000000,2.88349],[1232582400000,2.87903],[1232668800000,2.89553],[1232755200000,2.85338],[1232841600000,2.85338],[1232928000000,2.85338],[1233014400000,2.89687],[1233100800000,2.9379],[1233187200000,2.95708],[1233273600000,2.92385],[1233360000000,2.85806],[1233446400000,2.85806],[1233532800000,2.85806],[1233619200000,2.84558],[1233705600000,2.86542],[1233792000000,2.85851],[1233878400000,2.86096],[1233964800000,2.8536],[1234051200000,2.8536],[1234137600000,2.8536],[1234224000000,2.90088],[1234310400000,2.89174],[1234396800000,2.88527],[1234483200000,2.86185],[1234569600000,null],[1234656000000,null],[1234742400000,2.85962],[1234828800000,2.84669],[1234915200000,2.81748],[1235001600000,2.809],[1235088000000,2.83331],[1235174400000,2.80789],[1235260800000,2.80789],[1235347200000,2.80789],[1235433600000,2.85405],[1235520000000,2.84624],[1235606400000,2.85338],[1235692800000,2.85048],[1235779200000,2.81971],[1235865600000,2.81971],[1235952000000,2.81971],[1236038400000,2.809],[1236124800000,2.81324],[1236211200000,2.79986],[1236297600000,2.79986],[1236384000000,2.82283],[1236470400000,2.82283],[1236556800000,2.82283],[1236643200000,2.82283],[1236729600000,null],[1236816000000,2.85137],[1236902400000,2.85048],[1236988800000,2.87791],[1237075200000,2.87791],[1237161600000,2.87791],[1237248000000,2.90846],[1237334400000,2.88616],[1237420800000,2.92809],[1237507200000,3.04873],[1237593600000,3.02153],[1237680000000,3.02153],[1237766400000,3.02153],[1237852800000,3.02353],[1237939200000,3.01216],[1238025600000,3.00926],[1238112000000,3.03446],[1238198400000,2.96488],[1238284800000,2.96488],[1238371200000,2.96488],[1238457600000,2.94214],[1238544000000,2.96778],[1238630400000,2.95396],[1238716800000,2.98651],[1238803200000,2.99388],[1238889600000,2.99388],[1238976000000,2.99388],[1239062400000,3.00971],[1239148800000,2.95596],[1239235200000,2.95061],[1239321600000,2.95998],[1239408000000,2.95998],[1239494400000,2.95998],[1239580800000,2.95998],[1239667200000,2.95998],[1239753600000,2.96065],[1239840000000,2.93768],[1239926400000,2.94281],[1240012800000,2.91203],[1240099200000,2.91203],[1240185600000,2.91203],[1240272000000,2.91203],[1240358400000,2.88393],[1240444800000,2.88728],[1240531200000,2.91025],[1240617600000,2.95083],[1240704000000,2.95083],[1240790400000,2.95083],[1240876800000,2.92697],[1240963200000,2.89731],[1241049600000,2.95842],[1241136000000,2.96042],[1241222400000,2.96042],[1241308800000,null],[1241395200000,2.96042],[1241481600000,2.96042],[1241568000000,2.98897],[1241654400000,2.97091],[1241740800000,2.98609],[1241827200000,2.98373],[1241913600000,2.98373],[1242000000000,2.98373],[1242086400000,2.98373],[1242172800000,3.03378],[1242259200000,3.00852],[1242345600000,2.9946],[1242432000000,2.98412],[1242518400000,2.98412],[1242604800000,2.98412],[1242691200000,2.97854],[1242777600000,3.00435],[1242864000000,3.01971],[1242950400000,3.03757],[1243036800000,3.08187],[1243123200000,3.08187],[1243209600000,3.08187],[1243296000000,3.09017],[1243382400000,3.06896],[1243468800000,3.06742],[1243555200000,3.05741],[1243641600000,3.11068],[1243728000000,3.11068],[1243814400000,3.11068],[1243900800000,3.13431],[1243987200000,3.13869],[1244073600000,3.13124],[1244160000000,3.10741],[1244246400000,3.1254],[1244332800000,3.1254],[1244419200000,3.1254],[1244505600000,3.1254],[1244592000000,3.07662],[1244678400000,3.10809],[1244764800000,3.0789],[1244851200000,3.08706],[1244937600000,3.08706],[1245024000000,3.08706],[1245110400000,3.05311],[1245196800000,3.06193],[1245283200000,3.05396],[1245369600000,3.07096],[1245456000000,3.07337],[1245542400000,3.07337],[1245628800000,3.07337],[1245715200000,3.05443],[1245801600000,3.08121],[1245888000000,3.09749],[1245974400000,3.07986],[1246060800000,3.11506],[1246147200000,3.11506],[1246233600000,3.11506],[1246320000000,3.11506],[1246406400000,3.12763],[1246492800000,3.11881],[1246579200000,3.10797],[1246665600000,3.09883],[1246752000000,3.09883],[1246838400000,3.09883],[1246924800000,3.07406],[1247011200000,3.09792],[1247097600000,3.06963],[1247184000000,3.08843],[1247270400000,3.06959],[1247356800000,3.06959],[1247443200000,3.06959],[1247529600000,3.08593],[1247616000000,3.09027],[1247702400000,3.11384],[1247788800000,3.12675],[1247875200000,3.12238],[1247961600000,3.12238],[1248048000000,3.12238],[1248134400000,3.15493],[1248220800000,3.15552],[1248307200000,3.14957],[1248393600000,3.15793],[1248480000000,3.15876],[1248566400000,3.15876],[1248652800000,3.15876],[1248739200000,3.17858],[1248825600000,3.16909],[1248912000000,3.1453],[1248998400000,3.13311],[1249084800000,3.15251],[1249171200000,3.15251],[1249257600000,3.15251],[1249344000000,3.18408],[1249430400000,3.20003],[1249516800000,3.20644],[1249603200000,3.20378],[1249689600000,3.2033],[1249776000000,3.2033],[1249862400000,3.2033],[1249948800000,3.17126],[1250035200000,3.17077],[1250121600000,3.17618],[1250208000000,3.20773],[1250294400000,3.21553],[1250380800000,3.21553],[1250467200000,3.21553],[1250553600000,3.18116],[1250640000000,3.19755],[1250726400000,3.20757],[1250812800000,3.25236],[1250899200000,3.2953],[1250985600000,3.2953],[1251072000000,3.2953],[1251158400000,3.2953],[1251244800000,3.30359],[1251331200000,3.30176],[1251417600000,3.30129],[1251504000000,3.3235],[1251590400000,3.3235],[1251676800000,3.3235],[1251763200000,3.30222],[1251849600000,3.30821],[1251936000000,3.28854],[1252022400000,3.31514],[1252108800000,3.30238],[1252195200000,3.30238],[1252281600000,3.30238],[1252368000000,3.31813],[1252454400000,3.35208],[1252540800000,3.36259],[1252627200000,3.36766],[1252713600000,3.38027],[1252800000000,3.38027],[1252886400000,3.38027],[1252972800000,3.37242],[1253059200000,3.38709],[1253145600000,3.401],[1253232000000,3.41148],[1253318400000,3.40986],[1253404800000,3.40986],[1253491200000,3.40986],[1253577600000,3.39909],[1253664000000,3.42738],[1253750400000,3.42807],[1253836800000,3.4246],[1253923200000,3.40187],[1254009600000,3.40187],[1254096000000,3.40187],[1254182400000,3.39859],[1254268800000,3.37516],[1254355200000,3.39442],[1254441600000,3.37242],[1254528000000,3.37237],[1254614400000,3.37237],[1254700800000,3.37237],[1254787200000,3.3907],[1254873600000,3.41529],[1254960000000,3.4088],[1255046400000,3.4248],[1255132800000,3.42179],[1255219200000,3.42179],[1255305600000,3.42179],[1255392000000,3.42527],[1255478400000,3.4466],[1255564800000,3.44701],[1255651200000,3.43532],[1255737600000,3.43217],[1255824000000,3.43217],[1255910400000,3.43217],[1255996800000,3.44348],[1256083200000,3.46005],[1256169600000,3.45411],[1256256000000,3.47761],[1256342400000,3.4792],[1256428800000,3.4792],[1256515200000,3.4792],[1256601600000,3.47932],[1256688000000,3.44952],[1256774400000,3.42888],[1256860800000,3.42632],[1256947200000,3.4261],[1257033600000,3.4261],[1257120000000,3.4261],[1257206400000,3.42133],[1257292800000,3.40112],[1257379200000,3.42639],[1257465600000,3.45057],[1257552000000,3.44045],[1257638400000,3.44045],[1257724800000,3.44045],[1257811200000,3.46752],[1257897600000,3.46323],[1257984000000,3.48044],[1258070400000,3.45577],[1258156800000,3.44313],[1258243200000,3.44313],[1258329600000,3.44313],[1258416000000,3.46443],[1258502400000,3.4423],[1258588800000,3.46154],[1258675200000,3.43939],[1258761600000,3.42829],[1258848000000,3.42829],[1258934400000,3.42829],[1259020800000,3.46369],[1259107200000,3.46392],[1259193600000,3.48812],[1259280000000,3.4836],[1259366400000,3.44819],[1259452800000,3.44819],[1259539200000,3.44819],[1259625600000,3.47546],[1259712000000,3.48787],[1259798400000,3.49214],[1259884800000,3.49886],[1259971200000,3.48421],[1260057600000,3.48421],[1260144000000,3.48421],[1260230400000,3.41924],[1260316800000,3.41644],[1260403200000,3.41591],[1260489600000,3.40712],[1260576000000,3.41179],[1260662400000,3.41179],[1260748800000,3.41179],[1260835200000,3.38542],[1260921600000,3.3578],[1261008000000,3.36093],[1261094400000,3.31075],[1261180800000,3.30937],[1261267200000,3.30937],[1261353600000,3.30937],[1261440000000,3.31652],[1261526400000,3.29557],[1261612800000,3.29446],[1261699200000,3.32178],[1261785600000,3.32157],[1261872000000,3.32157],[1261958400000,3.32157],[1262044800000,3.32298],[1262131200000,3.3309]], 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, 2.944688],[1231977600000, 2.944688],[1234656000000, 2.848491],[1237075200000, 2.908017],[1239753600000, 2.947065],[1242345600000, 3.016763],[1245024000000, 3.096067],[1247616000000, 3.119160],[1250294400000, 3.230042],[1252972800000, 3.370752],[1255564800000, 3.429762],[1258243200000, 3.446858],[1260835200000, 3.380866]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });