$(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: [[1104883200000,1.73498],[1104969600000,2.03725],[1105056000000,2.03054],[1105142400000,null],[1105228800000,2.03054],[1105315200000,null],[1105401600000,2.01023],[1105488000000,2.01788],[1105574400000,2.01558],[1105660800000,2.03573],[1105747200000,2.01577],[1105833600000,2.01577],[1105920000000,2.01577],[1106006400000,2.01523],[1106092800000,1.99977],[1106179200000,1.99616],[1106265600000,1.99616],[1106352000000,1.99489],[1106438400000,1.99489],[1106524800000,1.99489],[1106611200000,null],[1106697600000,2.00336],[1106784000000,1.99417],[1106870400000,2.01413],[1106956800000,2.00215],[1107043200000,2.00215],[1107129600000,1.99981],[1107216000000,1.99981],[1107302400000,2.00143],[1107388800000,2.00712],[1107475200000,1.99981],[1107561600000,1.99136],[1107648000000,1.99136],[1107734400000,1.99136],[1107820800000,1.97316],[1107907200000,1.95966],[1107993600000,1.96405],[1108080000000,1.96708],[1108166400000,1.97643],[1108252800000,1.97643],[1108339200000,1.97643],[1108425600000,1.98643],[1108512000000,1.99031],[1108598400000,1.9902],[1108684800000,2.00246],[1108771200000,2.0061],[1108857600000,2.0061],[1108944000000,2.0061],[1109030400000,2.00503],[1109116800000,2.02395],[1109203200000,2.02867],[1109289600000,2.0305],[1109376000000,2.02553],[1109462400000,2.02553],[1109548800000,2.02553],[1109635200000,2.03416],[1109721600000,2.02461],[1109808000000,2.02052],[1109894400000,2.01491],[1109980800000,2.01468],[1110067200000,2.01215],[1110153600000,2.01215],[1110240000000,2.01215],[1110326400000,2.01215],[1110412800000,2.04924],[1110499200000,2.04909],[1110585600000,2.0615],[1110672000000,2.0615],[1110758400000,2.0615],[1110844800000,2.05819],[1110931200000,2.04639],[1111017600000,2.04666],[1111104000000,2.05386],[1111190400000,2.04558],[1111276800000,2.04558],[1111363200000,2.04558],[1111449600000,null],[1111536000000,2.01754],[1111622400000,2.00023],[1111708800000,1.98904],[1111795200000,1.98904],[1111881600000,1.98904],[1111968000000,1.98904],[1112054400000,1.98172],[1112140800000,1.98002],[1112227200000,1.98191],[1112313600000,1.97746],[1112400000000,1.98437],[1112486400000,1.98437],[1112572800000,1.98437],[1112659200000,1.97026],[1112745600000,1.96002],[1112832000000,1.96704],[1112918400000,1.97443],[1113004800000,1.95569],[1113091200000,1.95569],[1113177600000,1.95569],[1113264000000,1.97333],[1113350400000,1.98175],[1113436800000,1.97949],[1113523200000,1.95812],[1113609600000,1.94292],[1113696000000,1.94292],[1113782400000,1.94292],[1113868800000,1.9574],[1113955200000,1.95635],[1114041600000,1.91092],[1114128000000,1.91527],[1114214400000,1.90796],[1114300800000,1.90796],[1114387200000,1.90796],[1114473600000,1.90638],[1114560000000,1.90028],[1114646400000,1.88785],[1114732800000,1.89004],[1114819200000,1.8965],[1114905600000,1.8965],[1114992000000,1.8965],[1115078400000,1.8965],[1115164800000,1.8965],[1115251200000,1.89373],[1115337600000,1.89572],[1115424000000,1.89273],[1115510400000,1.89273],[1115596800000,1.89273],[1115683200000,1.89273],[1115769600000,1.87732],[1115856000000,1.88482],[1115942400000,1.8656],[1116028800000,1.85457],[1116115200000,1.85457],[1116201600000,1.85457],[1116288000000,1.84233],[1116374400000,1.84671],[1116460800000,1.84637],[1116547200000,1.85478],[1116633600000,1.84772],[1116720000000,1.84772],[1116806400000,1.84772],[1116892800000,1.8337],[1116979200000,1.84233],[1117065600000,1.84058],[1117152000000,1.83676],[1117238400000,1.83217],[1117324800000,1.83217],[1117411200000,1.83217],[1117497600000,1.83197],[1117584000000,1.81017],[1117670400000,1.804],[1117756800000,1.79147],[1117843200000,1.79542],[1117929600000,1.79542],[1118016000000,1.79542],[1118102400000,1.79555],[1118188800000,1.79957],[1118275200000,1.80471],[1118361600000,1.78843],[1118448000000,1.78938],[1118534400000,1.78938],[1118620800000,1.78938],[1118707200000,1.77095],[1118793600000,1.77799],[1118880000000,1.76428],[1118966400000,null],[1119052800000,1.77393],[1119139200000,1.77393],[1119225600000,1.77393],[1119312000000,null],[1119398400000,1.77755],[1119484800000,1.78471],[1119571200000,1.78471],[1119657600000,1.78471],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,1.76261],[1120176000000,null],[1120262400000,1.76194],[1120348800000,1.76194],[1120435200000,1.76194],[1120521600000,1.74799],[1120608000000,1.73897],[1120694400000,1.73897],[1120780800000,1.74636],[1120867200000,1.74431],[1120953600000,1.74431],[1121040000000,1.74431],[1121126400000,1.76004],[1121212800000,1.78106],[1121299200000,1.78609],[1121385600000,1.76853],[1121472000000,1.77668],[1121558400000,1.77668],[1121644800000,1.77668],[1121731200000,1.76742],[1121817600000,1.7571],[1121904000000,1.76438],[1121990400000,1.77986],[1122076800000,1.78093],[1122163200000,1.78093],[1122249600000,1.78093],[1122336000000,1.76173],[1122422400000,1.76161],[1122508800000,1.75414],[1122595200000,1.76351],[1122681600000,1.77324],[1122768000000,1.77324],[1122854400000,1.77324],[1122940800000,1.78206],[1123027200000,1.7847],[1123113600000,1.78502],[1123200000000,1.8046],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,1.81335],[1123718400000,1.81205],[1123804800000,1.81485],[1123891200000,1.81485],[1123977600000,1.81485],[1124064000000,1.81485],[1124150400000,1.82455],[1124236800000,1.80777],[1124323200000,1.79786],[1124409600000,1.79409],[1124496000000,1.77879],[1124582400000,1.77879],[1124668800000,1.77879],[1124755200000,1.78193],[1124841600000,1.78926],[1124928000000,1.78926],[1125014400000,1.80081],[1125100800000,1.801],[1125187200000,1.801],[1125273600000,1.801],[1125360000000,1.80531],[1125446400000,1.78761],[1125532800000,1.78755],[1125619200000,1.80441],[1125705600000,1.83051],[1125792000000,1.83051],[1125878400000,1.83051],[1125964800000,1.83516],[1126051200000,1.82449],[1126137600000,1.83183],[1126224000000,1.82041],[1126310400000,1.81576],[1126396800000,1.81576],[1126483200000,1.81576],[1126569600000,null],[1126656000000,null],[1126742400000,1.79536],[1126828800000,null],[1126915200000,null],[1127001600000,1.79741],[1127088000000,1.79741],[1127174400000,1.77125],[1127260800000,1.77804],[1127347200000,1.78483],[1127433600000,1.78761],[1127520000000,1.77317],[1127606400000,1.77317],[1127692800000,1.77317],[1127779200000,1.75897],[1127865600000,1.75573],[1127952000000,1.75573],[1128038400000,1.76469],[1128124800000,1.75854],[1128211200000,1.75854],[1128297600000,1.75854],[1128384000000,1.74989],[1128470400000,1.74318],[1128556800000,1.74801],[1128643200000,1.76487],[1128729600000,1.78024],[1128816000000,1.78024],[1128902400000,1.78024],[1128988800000,1.77455],[1129075200000,1.75842],[1129161600000,1.74952],[1129248000000,1.75487],[1129334400000,1.75811],[1129420800000,1.75811],[1129507200000,1.75811],[1129593600000,1.76802],[1129680000000,1.75353],[1129766400000,1.7385],[1129852800000,1.75329],[1129939200000,1.76075],[1130025600000,1.76075],[1130112000000,1.76075],[1130198400000,1.74777],[1130284800000,1.74759],[1130371200000,1.76938],[1130457600000,1.77112],[1130544000000,1.77112],[1130630400000,1.77112],[1130716800000,1.77112],[1130803200000,1.77679],[1130889600000,1.77679],[1130976000000,1.76001],[1131062400000,1.76358],[1131148800000,1.74559],[1131235200000,1.74559],[1131321600000,1.74559],[1131408000000,1.72461],[1131494400000,1.71494],[1131580800000,1.72126],[1131667200000,1.72161],[1131753600000,1.71157],[1131840000000,1.71157],[1131926400000,1.71157],[1132012800000,1.71821],[1132099200000,1.71146],[1132185600000,1.71291],[1132272000000,1.70499],[1132358400000,1.71355],[1132444800000,1.71355],[1132531200000,1.71355],[1132617600000,1.72261],[1132704000000,1.71494],[1132790400000,1.73058],[1132876800000,1.72768],[1132963200000,1.71932],[1133049600000,1.71932],[1133136000000,1.71932],[1133222400000,1.70937],[1133308800000,1.73087],[1133395200000,1.72473],[1133481600000,1.72279],[1133568000000,1.71361],[1133654400000,1.71361],[1133740800000,1.71361],[1133827200000,1.71047],[1133913600000,1.72355],[1134000000000,1.71903],[1134086400000,1.71757],[1134172800000,1.72443],[1134259200000,1.72443],[1134345600000,1.72443],[1134432000000,1.73046],[1134518400000,1.74874],[1134604800000,1.75707],[1134691200000,1.75701],[1134777600000,1.75268],[1134864000000,1.75268],[1134950400000,1.75268],[1135036800000,1.75744],[1135123200000,1.75244],[1135209600000,1.73946],[1135296000000,1.73058],[1135382400000,1.73058],[1135468800000,1.73058],[1135555200000,1.73058],[1135641600000,1.73058],[1135728000000,1.73713],[1135814400000,1.74385],[1135900800000,1.73528]], 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: [[1105747200000, 1.998658],[1105747200000, 1.998658],[1108425600000, 1.997426],[1110844800000, 2.023325],[1113523200000, 1.944524],[1116115200000, 1.863000],[1118793600000, 1.786567],[1121385600000, 1.763859],[1124064000000, 1.797491],[1126742400000, 1.796508],[1129334400000, 1.760606],[1132012800000, 1.727111],[1134604800000, 1.733402]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });