$(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: [[1168041600000,1.91364],[1168128000000,1.91364],[1168214400000,1.91364],[1168300800000,1.91364],[1168387200000,1.90399],[1168473600000,1.8996],[1168560000000,1.89901],[1168646400000,1.88571],[1168732800000,1.88571],[1168819200000,1.88571],[1168905600000,1.89273],[1168992000000,1.89448],[1169078400000,1.88805],[1169164800000,1.88995],[1169251200000,1.89521],[1169337600000,1.89521],[1169424000000,1.89521],[1169510400000,1.892],[1169596800000,1.90721],[1169683200000,1.90209],[1169769600000,1.89814],[1169856000000,1.88688],[1169942400000,1.88688],[1170028800000,1.88688],[1170115200000,1.8898],[1170201600000,1.89726],[1170288000000,1.89463],[1170374400000,1.90428],[1170460800000,1.90428],[1170547200000,1.90428],[1170633600000,1.90428],[1170720000000,1.89039],[1170806400000,1.89477],[1170892800000,1.89945],[1170979200000,1.90004],[1171065600000,1.90238],[1171152000000,1.90238],[1171238400000,1.90238],[1171324800000,1.89492],[1171411200000,1.90457],[1171497600000,1.91335],[1171584000000,1.92139],[1171670400000,1.91876],[1171756800000,1.91876],[1171843200000,1.91876],[1171929600000,1.92066],[1172016000000,1.92256],[1172102400000,1.92256],[1172188800000,1.91686],[1172275200000,1.92095],[1172361600000,null],[1172448000000,1.92095],[1172534400000,1.92476],[1172620800000,1.935],[1172707200000,1.93222],[1172793600000,1.93426],[1172880000000,1.92519],[1172966400000,1.92519],[1173052800000,1.92519],[1173139200000,1.91349],[1173225600000,1.91598],[1173312000000,1.9211],[1173398400000,1.9211],[1173484800000,1.9211],[1173571200000,1.9211],[1173657600000,1.9211],[1173744000000,1.92417],[1173830400000,1.93324],[1173916800000,1.92812],[1174003200000,1.93441],[1174089600000,1.94889],[1174176000000,1.94889],[1174262400000,1.94889],[1174348800000,1.94567],[1174435200000,1.94465],[1174521600000,1.94421],[1174608000000,1.95269],[1174694400000,1.94918],[1174780800000,1.94918],[1174867200000,1.94918],[1174953600000,1.94011],[1175040000000,1.95211],[1175126400000,1.95225],[1175212800000,1.95284],[1175299200000,1.94787],[1175385600000,1.94787],[1175472000000,1.94787],[1175558400000,1.95489],[1175644800000,1.95372],[1175731200000,1.95284],[1175817600000,1.95591],[1175904000000,1.95591],[1175990400000,1.95591],[1176076800000,1.95591],[1176163200000,1.95591],[1176249600000,1.96366],[1176336000000,1.96249],[1176422400000,1.96966],[1176508800000,1.97917],[1176595200000,1.97917],[1176681600000,1.97917],[1176768000000,1.9818],[1176854400000,1.98165],[1176940800000,1.98575],[1177027200000,1.98926],[1177113600000,1.98999],[1177200000000,1.98999],[1177286400000,1.98999],[1177372800000,1.98282],[1177459200000,1.98648],[1177545600000,1.99628],[1177632000000,1.98853],[1177718400000,1.9954],[1177804800000,1.9954],[1177891200000,1.9954],[1177977600000,1.9954],[1178064000000,1.9954],[1178150400000,1.9954],[1178236800000,1.99101],[1178323200000,1.98341],[1178409600000,1.98341],[1178496000000,1.98341],[1178582400000,1.9913],[1178668800000,1.98297],[1178755200000,1.98297],[1178841600000,1.97843],[1178928000000,1.97244],[1179014400000,1.97244],[1179100800000,1.97244],[1179187200000,1.98165],[1179273600000,1.98004],[1179360000000,1.98531],[1179446400000,1.97683],[1179532800000,1.97112],[1179619200000,1.97112],[1179705600000,1.97112],[1179792000000,1.96629],[1179878400000,1.96776],[1179964800000,1.97302],[1180051200000,1.96688],[1180137600000,1.96585],[1180224000000,1.96585],[1180310400000,1.96585],[1180396800000,1.96585],[1180483200000,1.9758],[1180569600000,1.96278],[1180656000000,1.96761],[1180742400000,1.96512],[1180828800000,1.96512],[1180915200000,1.96512],[1181001600000,1.97185],[1181088000000,1.97917],[1181174400000,1.97639],[1181260800000,1.9701],[1181347200000,1.9524],[1181433600000,1.9524],[1181520000000,1.9524],[1181606400000,null],[1181692800000,1.95181],[1181779200000,1.94333],[1181865600000,null],[1181952000000,null],[1182038400000,1.94728],[1182124800000,1.94728],[1182211200000,1.96044],[1182297600000,1.9603],[1182384000000,null],[1182470400000,1.95942],[1182556800000,1.96585],[1182643200000,1.96585],[1182729600000,1.96585],[1182816000000,1.96878],[1182902400000,1.96863],[1182988800000,1.96542],[1183075200000,1.96542],[1183161600000,1.96542],[1183248000000,1.96542],[1183334400000,1.96542],[1183420800000,1.98735],[1183507200000,1.98926],[1183593600000,1.99174],[1183680000000,1.99496],[1183766400000,1.98853],[1183852800000,1.98853],[1183939200000,1.98853],[1184025600000,1.99218],[1184112000000,1.99876],[1184198400000,2.01149],[1184284800000,2.01661],[1184371200000,2.01573],[1184457600000,2.01573],[1184544000000,2.01573],[1184630400000,2.01558],[1184716800000,2.01412],[1184803200000,2.01529],[1184889600000,2.02129],[1184976000000,2.0188],[1185062400000,2.0188],[1185148800000,2.0188],[1185235200000,2.02143],[1185321600000,2.02319],[1185408000000,2.01003],[1185494400000,2.00695],[1185580800000,1.99657],[1185667200000,1.99657],[1185753600000,1.99657],[1185840000000,null],[1185926400000,2.00476],[1186012800000,1.99832],[1186099200000,1.99847],[1186185600000,2.00286],[1186272000000,2.00286],[1186358400000,2.00286],[1186444800000,2.021],[1186531200000,2.01748],[1186617600000,2.01748],[1186704000000,2.00798],[1186790400000,1.99642],[1186876800000,1.99642],[1186963200000,1.99642],[1187049600000,1.99657],[1187136000000,1.98779],[1187222400000,1.97097],[1187308800000,1.96059],[1187395200000,1.96776],[1187481600000,1.96776],[1187568000000,1.96776],[1187654400000,1.97097],[1187740800000,1.97565],[1187827200000,1.97346],[1187913600000,1.98531],[1188000000000,1.98531],[1188086400000,1.98531],[1188172800000,1.98531],[1188259200000,1.99759],[1188345600000,1.99847],[1188432000000,1.99364],[1188518400000,1.99057],[1188604800000,2.00447],[1188691200000,2.00447],[1188777600000,2.00447],[1188864000000,1.99379],[1188950400000,1.98619],[1189036800000,1.98735],[1189123200000,1.9992],[1189209600000,2.00315],[1189296000000,2.00315],[1189382400000,2.00315],[1189468800000,2.01763],[1189555200000,2.02187],[1189641600000,2.03079],[1189728000000,2.03255],[1189814400000,2.02714],[1189900800000,2.02714],[1189987200000,2.02714],[1190073600000,2.02962],[1190160000000,2.02816],[1190246400000,2.04396],[1190332800000,2.052],[1190419200000,2.05478],[1190505600000,2.05478],[1190592000000,2.05478],[1190678400000,2.06414],[1190764800000,2.06312],[1190851200000,null],[1190937600000,null],[1191024000000,2.07379],[1191110400000,2.07379],[1191196800000,2.07379],[1191283200000,2.08155],[1191369600000,2.07175],[1191456000000,2.07613],[1191542400000,2.06356],[1191628800000,2.06751],[1191715200000,2.06751],[1191801600000,2.06751],[1191888000000,2.06063],[1191974400000,2.05302],[1192060800000,2.06897],[1192147200000,2.07672],[1192233600000,2.07292],[1192320000000,2.07292],[1192406400000,2.07292],[1192492800000,2.08067],[1192579200000,2.06955],[1192665600000,2.07687],[1192752000000,2.09135],[1192838400000,2.08974],[1192924800000,2.08974],[1193011200000,2.08974],[1193097600000,2.07189],[1193184000000,2.08476],[1193270400000,2.08125],[1193356800000,2.09281],[1193443200000,2.10378],[1193529600000,2.10378],[1193616000000,2.10378],[1193702400000,2.1048],[1193788800000,2.10714],[1193875200000,2.11299],[1193961600000,2.10948],[1194048000000,2.11767],[1194134400000,2.11767],[1194220800000,2.11767],[1194307200000,2.11899],[1194393600000,2.12762],[1194480000000,2.15321],[1194566400000,2.14502],[1194652800000,2.14751],[1194739200000,2.14751],[1194825600000,2.14751],[1194912000000,2.1323],[1194998400000,2.13639],[1195084800000,2.14999],[1195171200000,2.14107],[1195257600000,2.14283],[1195344000000,2.14283],[1195430400000,2.14283],[1195516800000,2.14327],[1195603200000,2.16243],[1195689600000,2.16667],[1195776000000,2.16886],[1195862400000,2.16594],[1195948800000,2.16594],[1196035200000,2.16594],[1196121600000,2.1712],[1196208000000,2.17544],[1196294400000,2.15687],[1196380800000,2.15555],[1196467200000,2.15892],[1196553600000,2.15892],[1196640000000,2.15892],[1196726400000,2.14502],[1196812800000,2.15599],[1196899200000,2.15292],[1196985600000,2.12864],[1197072000000,2.14254],[1197158400000,2.14254],[1197244800000,2.14254],[1197331200000,2.15263],[1197417600000,2.1459],[1197504000000,2.14634],[1197590400000,2.14751],[1197676800000,2.12206],[1197763200000,2.12206],[1197849600000,2.12206],[1197936000000,2.10509],[1198022400000,2.10846],[1198108800000,2.10392],[1198195200000,2.09866],[1198281600000,2.10319],[1198368000000,2.10319],[1198454400000,2.10319],[1198540800000,2.10582],[1198627200000,2.10582],[1198713600000,2.10582],[1198800000000,2.12308],[1198886400000,2.14882]], 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: [[1168819200000, 1.896625],[1168819200000, 1.896625],[1171497600000, 1.910310],[1173916800000, 1.936245],[1176595200000, 1.973958],[1179187200000, 1.977211],[1181865600000, 1.962261],[1184457600000, 2.003331],[1187136000000, 1.991101],[1189814400000, 2.027378],[1192406400000, 2.080290],[1195084800000, 2.144973],[1197676800000, 2.129674]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });