$(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: 'Курс AZN, грн'}, 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: 'Курс AZN', data: [[1231200000000,9.60699],[1231286400000,9.601],[1231372800000,9.601],[1231459200000,9.601],[1231545600000,9.60459],[1231632000000,9.60459],[1231718400000,9.60459],[1231804800000,9.59382],[1231891200000,9.59023],[1231977600000,9.58069],[1232064000000,9.57711],[1232150400000,9.57831],[1232236800000,null],[1232323200000,9.57831],[1232409600000,9.58188],[1232496000000,9.58188],[1232582400000,9.57116],[1232668800000,9.57235],[1232755200000,9.56047],[1232841600000,9.56047],[1232928000000,9.56047],[1233014400000,9.56284],[1233100800000,9.56759],[1233187200000,9.56759],[1233273600000,9.55572],[1233360000000,9.54506],[1233446400000,9.54506],[1233532800000,9.54506],[1233619200000,9.53797],[1233705600000,9.54033],[1233792000000,9.54151],[1233878400000,9.5297],[1233964800000,9.5297],[1234051200000,9.5297],[1234137600000,9.5297],[1234224000000,9.53324],[1234310400000,9.53324],[1234396800000,9.54151],[1234483200000,9.54743],[1234569600000,null],[1234656000000,null],[1234742400000,9.54743],[1234828800000,9.54743],[1234915200000,9.54979],[1235001600000,9.54979],[1235088000000,9.55098],[1235174400000,9.55098],[1235260800000,9.55098],[1235347200000,9.55098],[1235433600000,9.56284],[1235520000000,9.56165],[1235606400000,9.56759],[1235692800000,9.56284],[1235779200000,9.56284],[1235865600000,9.56284],[1235952000000,9.56284],[1236038400000,9.56047],[1236124800000,9.56403],[1236211200000,9.56165],[1236297600000,9.56522],[1236384000000,9.56522],[1236470400000,9.56522],[1236556800000,9.56522],[1236643200000,9.56522],[1236729600000,null],[1236816000000,9.56759],[1236902400000,9.57116],[1236988800000,9.57116],[1237075200000,9.57116],[1237161600000,9.57116],[1237248000000,9.57116],[1237334400000,9.57711],[1237420800000,9.57711],[1237507200000,9.59382],[1237593600000,9.59382],[1237680000000,9.59382],[1237766400000,9.59382],[1237852800000,9.59382],[1237939200000,9.59382],[1238025600000,9.59382],[1238112000000,9.59382],[1238198400000,9.59382],[1238284800000,9.59382],[1238371200000,9.59382],[1238457600000,9.59143],[1238544000000,9.59143],[1238630400000,9.59023],[1238716800000,9.59023],[1238803200000,9.59143],[1238889600000,9.59143],[1238976000000,9.59143],[1239062400000,9.59143],[1239148800000,9.59023],[1239235200000,9.58785],[1239321600000,9.58785],[1239408000000,9.58665],[1239494400000,9.58665],[1239580800000,9.58665],[1239667200000,9.58665],[1239753600000,9.58665],[1239840000000,9.58785],[1239926400000,9.58665],[1240012800000,9.58665],[1240099200000,9.58665],[1240185600000,9.58665],[1240272000000,9.58665],[1240358400000,9.58307],[1240444800000,9.58307],[1240531200000,9.58307],[1240617600000,9.58307],[1240704000000,9.58307],[1240790400000,9.58307],[1240876800000,9.58427],[1240963200000,9.58188],[1241049600000,9.58427],[1241136000000,9.58427],[1241222400000,9.58427],[1241308800000,null],[1241395200000,9.58427],[1241481600000,9.58427],[1241568000000,9.58427],[1241654400000,9.58188],[1241740800000,9.60129],[1241827200000,9.55059],[1241913600000,9.55059],[1242000000000,9.55059],[1242086400000,9.55059],[1242172800000,9.52888],[1242259200000,9.49116],[1242345600000,9.48668],[1242432000000,9.48494],[1242518400000,9.48494],[1242604800000,9.48494],[1242691200000,9.48289],[1242777600000,9.48214],[1242864000000,9.4763],[1242950400000,9.47748],[1243036800000,9.47735],[1243123200000,9.47735],[1243209600000,9.47735],[1243296000000,9.4771],[1243382400000,9.48109],[1243468800000,9.48109],[1243555200000,9.48084],[1243641600000,9.48046],[1243728000000,9.48046],[1243814400000,9.48046],[1243900800000,9.47169],[1243987200000,9.47293],[1244073600000,9.47224],[1244160000000,9.4725],[1244246400000,9.47225],[1244332800000,9.47225],[1244419200000,9.47225],[1244505600000,9.47225],[1244592000000,9.46648],[1244678400000,9.46871],[1244764800000,9.46673],[1244851200000,9.46927],[1244937600000,9.46927],[1245024000000,9.46927],[1245110400000,9.46927],[1245196800000,9.46809],[1245283200000,9.47755],[1245369600000,9.47556],[1245456000000,9.47363],[1245542400000,9.47363],[1245628800000,9.47363],[1245715200000,9.46555],[1245801600000,9.46537],[1245888000000,9.48197],[1245974400000,9.487],[1246060800000,9.48924],[1246147200000,9.48924],[1246233600000,9.48924],[1246320000000,9.48924],[1246406400000,9.50193],[1246492800000,9.4995],[1246579200000,9.49813],[1246665600000,9.49726],[1246752000000,9.49726],[1246838400000,9.49726],[1246924800000,9.49726],[1247011200000,9.48769],[1247097600000,9.47967],[1247184000000,9.47706],[1247270400000,9.47955],[1247356800000,9.47955],[1247443200000,9.47955],[1247529600000,9.47837],[1247616000000,9.48203],[1247702400000,9.48788],[1247788800000,9.50075],[1247875200000,9.51561],[1247961600000,9.51561],[1248048000000,9.51561],[1248134400000,9.52891],[1248220800000,9.52668],[1248307200000,9.52897],[1248393600000,9.52991],[1248480000000,9.53258],[1248566400000,9.53258],[1248652800000,9.53258],[1248739200000,9.56535],[1248825600000,9.56361],[1248912000000,9.57473],[1248998400000,9.57106],[1249084800000,9.57242],[1249171200000,9.57242],[1249257600000,9.57242],[1249344000000,9.55795],[1249430400000,9.55173],[1249516800000,9.55478],[1249603200000,9.57344],[1249689600000,9.57946],[1249776000000,9.57946],[1249862400000,9.57946],[1249948800000,9.58597],[1250035200000,9.60885],[1250121600000,9.62253],[1250208000000,9.63806],[1250294400000,9.66082],[1250380800000,9.66082],[1250467200000,9.66082],[1250553600000,9.70833],[1250640000000,9.7371],[1250726400000,9.76119],[1250812800000,9.80647],[1250899200000,9.87562],[1250985600000,9.87562],[1251072000000,9.87562],[1251158400000,9.87562],[1251244800000,9.9046],[1251331200000,9.93657],[1251417600000,9.93533],[1251504000000,9.9378],[1251590400000,9.9378],[1251676800000,9.9378],[1251763200000,9.9378],[1251849600000,9.92661],[1251936000000,9.93159],[1252022400000,9.93159],[1252108800000,9.94403],[1252195200000,9.94403],[1252281600000,9.94403],[1252368000000,9.9465],[1252454400000,9.95023],[1252540800000,9.95022],[1252627200000,9.95071],[1252713600000,9.95568],[1252800000000,9.95568],[1252886400000,9.95568],[1252972800000,9.95258],[1253059200000,9.96291],[1253145600000,9.96415],[1253232000000,9.96825],[1253318400000,9.96701],[1253404800000,9.96701],[1253491200000,9.96701],[1253577600000,9.96739],[1253664000000,9.96739],[1253750400000,9.96862],[1253836800000,9.96614],[1253923200000,9.96614],[1254009600000,9.96614],[1254096000000,9.96614],[1254182400000,9.96889],[1254268800000,9.97013],[1254355200000,9.96142],[1254441600000,9.96888],[1254528000000,9.96889],[1254614400000,9.96889],[1254700800000,9.96889],[1254787200000,9.96889],[1254873600000,9.97137],[1254960000000,9.97137],[1255046400000,9.97261],[1255132800000,9.97137],[1255219200000,9.97137],[1255305600000,9.97137],[1255392000000,9.97013],[1255478400000,9.96788],[1255564800000,9.96015],[1255651200000,9.93897],[1255737600000,9.92528],[1255824000000,9.92528],[1255910400000,9.92528],[1255996800000,9.92528],[1256083200000,9.93897],[1256169600000,9.95268],[1256256000000,9.96762],[1256342400000,9.95891],[1256428800000,9.95891],[1256515200000,9.95891],[1256601600000,9.9599],[1256688000000,9.96962],[1256774400000,9.96838],[1256860800000,9.95768],[1256947200000,9.95144],[1257033600000,9.95144],[1257120000000,9.95144],[1257206400000,9.95519],[1257292800000,9.97336],[1257379200000,9.9761],[1257465600000,9.97734],[1257552000000,9.95268],[1257638400000,9.95268],[1257724800000,9.95268],[1257811200000,9.95056],[1257897600000,9.95143],[1257984000000,9.95367],[1258070400000,9.95927],[1258156800000,9.95766],[1258243200000,9.95766],[1258329600000,9.95766],[1258416000000,9.95678],[1258502400000,9.95304],[1258588800000,9.95255],[1258675200000,9.95391],[1258761600000,9.95391],[1258848000000,9.95391],[1258934400000,9.95391],[1259020800000,9.95515],[1259107200000,9.95515],[1259193600000,9.95016],[1259280000000,9.94641],[1259366400000,9.94629],[1259452800000,9.94629],[1259539200000,9.94629],[1259625600000,9.95489],[1259712000000,9.95539],[1259798400000,9.95701],[1259884800000,9.95639],[1259971200000,9.94767],[1260057600000,9.94767],[1260144000000,9.94767],[1260230400000,9.94643],[1260316800000,9.94581],[1260403200000,9.94831],[1260489600000,9.94831],[1260576000000,9.9437],[1260662400000,9.9437],[1260748800000,9.9437],[1260835200000,9.93848],[1260921600000,9.92926],[1261008000000,9.92553],[1261094400000,9.92281],[1261180800000,9.92281],[1261267200000,9.92281],[1261353600000,9.92281],[1261440000000,9.92281],[1261526400000,9.92033],[1261612800000,9.91908],[1261699200000,9.91659],[1261785600000,9.91597],[1261872000000,9.91597],[1261958400000,9.91597],[1262044800000,9.91658],[1262131200000,9.92218]], 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, 9.580388],[1231977600000, 9.580388],[1234656000000, 9.546165],[1237075200000, 9.577967],[1239753600000, 9.586893],[1242345600000, 9.516678],[1245024000000, 9.474559],[1247616000000, 9.511435],[1250294400000, 9.717319],[1252972800000, 9.956010],[1255564800000, 9.958599],[1258243200000, 9.955151],[1260835200000, 9.934818]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });