$(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: [[1104883200000,8.53041],[1104969600000,10.1827],[1105056000000,10.0284],[1105142400000,null],[1105228800000,10.0284],[1105315200000,null],[1105401600000,9.86022],[1105488000000,9.91551],[1105574400000,9.89701],[1105660800000,10.0089],[1105747200000,9.89645],[1105833600000,9.89645],[1105920000000,9.89645],[1106006400000,9.89645],[1106092800000,9.84119],[1106179200000,9.82259],[1106265600000,9.82259],[1106352000000,9.76832],[1106438400000,9.76832],[1106524800000,9.76832],[1106611200000,null],[1106697600000,9.82241],[1106784000000,9.80425],[1106870400000,9.8771],[1106956800000,9.84026],[1107043200000,9.84026],[1107129600000,9.82167],[1107216000000,9.82167],[1107302400000,9.83933],[1107388800000,9.85465],[1107475200000,9.81722],[1107561600000,9.78044],[1107648000000,9.78044],[1107734400000,9.78044],[1107820800000,9.69013],[1107907200000,9.61906],[1107993600000,9.636],[1108080000000,9.65337],[1108166400000,9.70586],[1108252800000,9.70586],[1108339200000,9.70586],[1108425600000,9.75948],[1108512000000,9.77749],[1108598400000,9.81315],[1108684800000,9.83135],[1108771200000,9.84963],[1108857600000,9.84963],[1108944000000,9.84963],[1109030400000,9.84963],[1109116800000,9.92341],[1109203200000,9.97947],[1109289600000,9.97928],[1109376000000,9.96053],[1109462400000,9.96053],[1109548800000,9.96053],[1109635200000,10.017],[1109721600000,9.96015],[1109808000000,9.92247],[1109894400000,9.90392],[1109980800000,9.9028],[1110067200000,9.88433],[1110153600000,9.88433],[1110240000000,9.88433],[1110326400000,9.88433],[1110412800000,10.0522],[1110499200000,10.1283],[1110585600000,10.1069],[1110672000000,10.1069],[1110758400000,10.1069],[1110844800000,10.1241],[1110931200000,10.0646],[1111017600000,10.0259],[1111104000000,10.1011],[1111190400000,10.0599],[1111276800000,10.0599],[1111363200000,10.0599],[1111449600000,null],[1111536000000,9.90786],[1111622400000,9.83389],[1111708800000,9.83445],[1111795200000,9.83445],[1111881600000,9.83445],[1111968000000,9.83445],[1112054400000,9.76174],[1112140800000,9.70754],[1112227200000,9.72523],[1112313600000,9.70698],[1112400000000,9.7428],[1112486400000,9.7428],[1112572800000,9.7428],[1112659200000,9.68789],[1112745600000,9.63485],[1112832000000,9.66117],[1112918400000,9.67835],[1113004800000,9.61679],[1113091200000,9.61679],[1113177600000,9.61679],[1113264000000,9.68566],[1113350400000,9.71679],[1113436800000,9.70572],[1113523200000,9.62637],[1113609600000,9.51818],[1113696000000,9.51818],[1113782400000,9.51818],[1113868800000,9.57798],[1113955200000,9.61111],[1114041600000,9.38662],[1114128000000,9.4041],[1114214400000,9.3692],[1114300800000,9.3692],[1114387200000,9.3692],[1114473600000,9.35185],[1114560000000,9.35185],[1114646400000,9.31734],[1114732800000,9.30018],[1114819200000,9.28309],[1114905600000,9.28309],[1114992000000,9.28309],[1115078400000,9.28309],[1115164800000,9.28309],[1115251200000,9.21533],[1115337600000,9.30018],[1115424000000,9.30018],[1115510400000,9.30018],[1115596800000,9.30018],[1115683200000,9.30018],[1115769600000,9.23218],[1115856000000,9.24908],[1115942400000,9.18182],[1116028800000,9.0991],[1116115200000,9.0991],[1116201600000,9.0991],[1116288000000,9.06643],[1116374400000,9.08273],[1116460800000,9.06643],[1116547200000,9.11552],[1116633600000,9.08273],[1116720000000,9.08273],[1116806400000,9.08273],[1116892800000,9.01786],[1116979200000,9.03399],[1117065600000,9.05018],[1117152000000,9.03399],[1117238400000,9.00178],[1117324800000,9.00178],[1117411200000,9.00178],[1117497600000,9.00178],[1117584000000,8.90653],[1117670400000,8.86842],[1117756800000,8.76083],[1117843200000,8.83741],[1117929600000,8.83741],[1118016000000,8.83741],[1118102400000,8.80662],[1118188800000,8.82199],[1118275200000,8.86842],[1118361600000,8.7913],[1118448000000,8.7913],[1118534400000,8.7913],[1118620800000,8.7913],[1118707200000,8.70052],[1118793600000,8.73057],[1118880000000,8.67067],[1118966400000,null],[1119052800000,8.70052],[1119139200000,8.70052],[1119225600000,8.70052],[1119312000000,null],[1119398400000,8.73057],[1119484800000,8.73057],[1119571200000,8.73057],[1119657600000,8.73057],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,8.67067],[1120176000000,null],[1120262400000,8.67067],[1120348800000,8.67067],[1120435200000,8.67067],[1120521600000,8.58234],[1120608000000,8.5678],[1120694400000,8.5678],[1120780800000,8.58234],[1120867200000,8.58234],[1120953600000,8.58234],[1121040000000,8.58234],[1121126400000,8.64103],[1121212800000,8.74568],[1121299200000,8.77604],[1121385600000,8.67067],[1121472000000,8.70052],[1121558400000,8.70052],[1121644800000,8.70052],[1121731200000,8.67067],[1121817600000,8.64103],[1121904000000,8.67698],[1121990400000,8.73702],[1122076800000,8.75217],[1122163200000,8.75217],[1122249600000,8.75217],[1122336000000,8.66209],[1122422400000,8.64726],[1122508800000,8.63248],[1122595200000,8.67698],[1122681600000,8.67698],[1122768000000,8.67698],[1122854400000,8.67698],[1122940800000,8.75217],[1123027200000,8.78261],[1123113600000,8.73702],[1123200000000,8.85965],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,8.89085],[1123718400000,8.89085],[1123804800000,8.92226],[1123891200000,8.9539],[1123977600000,8.9539],[1124064000000,8.9539],[1124150400000,8.92226],[1124236800000,8.87522],[1124323200000,8.85965],[1124409600000,8.82867],[1124496000000,8.75217],[1124582400000,8.75217],[1124668800000,8.75217],[1124755200000,8.75217],[1124841600000,8.76736],[1124928000000,8.76736],[1125014400000,8.84413],[1125100800000,8.84413],[1125187200000,8.84413],[1125273600000,8.84413],[1125360000000,8.85965],[1125446400000,8.78261],[1125532800000,8.78261],[1125619200000,8.85965],[1125705600000,8.9698],[1125792000000,8.9698],[1125878400000,8.9698],[1125964800000,9.03399],[1126051200000,8.98577],[1126137600000,8.9698],[1126224000000,8.92226],[1126310400000,8.93805],[1126396800000,8.93805],[1126483200000,8.93805],[1126569600000,null],[1126656000000,null],[1126742400000,8.82867],[1126828800000,null],[1126915200000,null],[1127001600000,8.84413],[1127088000000,8.84413],[1127174400000,8.72193],[1127260800000,8.73702],[1127347200000,8.76736],[1127433600000,8.76736],[1127520000000,8.72193],[1127606400000,8.72193],[1127692800000,8.72193],[1127779200000,8.64726],[1127865600000,8.64726],[1127952000000,8.64726],[1128038400000,8.66209],[1128124800000,8.64726],[1128211200000,8.64726],[1128297600000,8.64726],[1128384000000,8.58844],[1128470400000,8.57385],[1128556800000,8.58844],[1128643200000,8.66209],[1128729600000,8.73702],[1128816000000,8.73702],[1128902400000,8.73702],[1128988800000,8.7069],[1129075200000,8.64726],[1129161600000,8.60307],[1129248000000,8.61775],[1129334400000,8.64726],[1129420800000,8.64726],[1129507200000,8.64726],[1129593600000,8.69191],[1129680000000,8.61775],[1129766400000,8.57385],[1129852800000,8.60307],[1129939200000,8.64726],[1130025600000,8.64726],[1130112000000,8.64726],[1130198400000,8.57385],[1130284800000,8.60307],[1130371200000,8.69191],[1130457600000,8.7069],[1130544000000,8.72193],[1130630400000,8.72193],[1130716800000,8.72193],[1130803200000,8.67698],[1130889600000,8.60307],[1130976000000,8.64726],[1131062400000,8.67698],[1131148800000,8.57385],[1131235200000,8.57385],[1131321600000,8.57385],[1131408000000,8.48739],[1131494400000,8.43072],[1131580800000,8.45896],[1131667200000,8.44482],[1131753600000,8.40266],[1131840000000,8.40266],[1131926400000,8.40266],[1132012800000,8.45896],[1132099200000,8.40266],[1132185600000,8.41667],[1132272000000,8.3887],[1132358400000,8.3887],[1132444800000,8.3887],[1132531200000,8.3887],[1132617600000,8.45896],[1132704000000,8.43072],[1132790400000,8.51602],[1132876800000,8.48739],[1132963200000,8.45896],[1133049600000,8.45896],[1133136000000,8.45896],[1133222400000,8.40266],[1133308800000,8.50168],[1133395200000,8.47315],[1133481600000,8.47315],[1133568000000,8.43072],[1133654400000,8.43072],[1133740800000,8.43072],[1133827200000,8.40266],[1133913600000,8.47315],[1134000000000,8.45896],[1134086400000,8.41667],[1134172800000,8.48739],[1134259200000,8.48739],[1134345600000,8.48739],[1134432000000,8.50168],[1134518400000,8.58844],[1134604800000,8.61775],[1134691200000,8.61775],[1134777600000,8.60307],[1134864000000,8.60307],[1134950400000,8.60307],[1135036800000,8.63248],[1135123200000,8.61775],[1135209600000,8.53041],[1135296000000,8.50168],[1135382400000,8.50168],[1135468800000,8.50168],[1135555200000,8.50168],[1135641600000,8.53041],[1135728000000,8.50168],[1135814400000,8.51602],[1135900800000,8.51602]], 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, 9.826440],[1105747200000, 9.826440],[1108425600000, 9.811931],[1110844800000, 9.950477],[1113523200000, 9.547628],[1116115200000, 9.146175],[1118793600000, 8.771105],[1121385600000, 8.664974],[1124064000000, 8.830446],[1126742400000, 8.829152],[1129334400000, 8.653300],[1132012800000, 8.478771],[1134604800000, 8.514613]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });