$(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: 'Курс SEK, грн'}, 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: 'Курс SEK', data: [[1104883200000,0.634551],[1104969600000,0.776293],[1105056000000,0.774149],[1105142400000,null],[1105228800000,0.774149],[1105315200000,null],[1105401600000,0.768648],[1105488000000,0.772275],[1105574400000,0.769738],[1105660800000,0.775763],[1105747200000,0.76745],[1105833600000,0.76745],[1105920000000,0.76745],[1106006400000,0.767531],[1106092800000,0.766746],[1106179200000,0.760557],[1106265600000,0.760557],[1106352000000,0.759174],[1106438400000,0.759174],[1106524800000,0.759174],[1106611200000,null],[1106697600000,0.761688],[1106784000000,0.760318],[1106870400000,0.76107],[1106956800000,0.760785],[1107043200000,0.760785],[1107129600000,0.759236],[1107216000000,0.759236],[1107302400000,0.759661],[1107388800000,0.762941],[1107475200000,0.760454],[1107561600000,0.75606],[1107648000000,0.75606],[1107734400000,0.75606],[1107820800000,0.750412],[1107907200000,0.744369],[1107993600000,0.74526],[1108080000000,0.744849],[1108166400000,0.748819],[1108252800000,0.748819],[1108339200000,0.748819],[1108425600000,0.755368],[1108512000000,0.760446],[1108598400000,0.761343],[1108684800000,0.759001],[1108771200000,0.760004],[1108857600000,0.760004],[1108944000000,0.760004],[1109030400000,0.75855],[1109116800000,0.768312],[1109203200000,0.769004],[1109289600000,0.774404],[1109376000000,0.76894],[1109462400000,0.76894],[1109548800000,0.76894],[1109635200000,0.775579],[1109721600000,0.773655],[1109808000000,0.765963],[1109894400000,0.769862],[1109980800000,0.767305],[1110067200000,0.767305],[1110153600000,0.767305],[1110240000000,0.767305],[1110326400000,0.767305],[1110412800000,0.780961],[1110499200000,0.783179],[1110585600000,0.783969],[1110672000000,0.783969],[1110758400000,0.783969],[1110844800000,0.780203],[1110931200000,0.778927],[1111017600000,0.778797],[1111104000000,0.777933],[1111190400000,0.770932],[1111276800000,0.770932],[1111363200000,0.770932],[1111449600000,null],[1111536000000,0.762718],[1111622400000,0.756354],[1111708800000,0.752679],[1111795200000,0.752679],[1111881600000,0.752679],[1111968000000,0.752679],[1112054400000,0.752679],[1112140800000,0.7485],[1112227200000,0.748419],[1112313600000,0.748744],[1112400000000,0.746358],[1112486400000,0.746358],[1112572800000,0.746358],[1112659200000,0.740824],[1112745600000,0.737051],[1112832000000,0.740476],[1112918400000,0.745151],[1113004800000,0.737536],[1113091200000,0.737536],[1113177600000,0.737536],[1113264000000,0.745278],[1113350400000,0.746746],[1113436800000,0.742787],[1113523200000,0.734969],[1113609600000,0.733932],[1113696000000,0.733932],[1113782400000,0.733932],[1113868800000,0.73758],[1113955200000,0.733104],[1114041600000,0.716877],[1114128000000,0.71845],[1114214400000,0.720131],[1114300800000,0.720131],[1114387200000,0.720131],[1114473600000,0.71543],[1114560000000,0.716806],[1114646400000,0.713828],[1114732800000,0.712921],[1114819200000,0.712737],[1114905600000,0.712737],[1114992000000,0.712737],[1115078400000,0.712737],[1115164800000,0.712737],[1115251200000,0.713193],[1115337600000,0.713544],[1115424000000,0.713524],[1115510400000,0.713524],[1115596800000,0.713524],[1115683200000,0.713524],[1115769600000,0.705534],[1115856000000,0.707048],[1115942400000,0.700218],[1116028800000,0.693047],[1116115200000,0.693047],[1116201600000,0.693047],[1116288000000,0.690707],[1116374400000,0.691652],[1116460800000,0.691565],[1116547200000,0.694615],[1116633600000,0.692881],[1116720000000,0.692881],[1116806400000,0.692881],[1116892800000,0.690277],[1116979200000,0.693982],[1117065600000,0.691285],[1117152000000,0.687404],[1117238400000,0.689128],[1117324800000,0.689128],[1117411200000,0.689128],[1117497600000,0.686335],[1117584000000,0.679761],[1117670400000,0.676286],[1117756800000,0.677273],[1117843200000,0.679585],[1117929600000,0.679585],[1118016000000,0.679585],[1118102400000,0.679039],[1118188800000,0.680153],[1118275200000,0.677666],[1118361600000,0.672407],[1118448000000,0.670269],[1118534400000,0.670269],[1118620800000,0.670269],[1118707200000,0.657998],[1118793600000,0.659407],[1118880000000,0.658558],[1118966400000,null],[1119052800000,0.666155],[1119139200000,0.666155],[1119225600000,0.666155],[1119312000000,null],[1119398400000,0.66172],[1119484800000,0.660343],[1119571200000,0.650703],[1119657600000,0.649625],[1119744000000,null],[1119830400000,null],[1119916800000,null],[1120003200000,null],[1120089600000,0.645935],[1120176000000,null],[1120262400000,0.644064],[1120348800000,0.644064],[1120435200000,0.644064],[1120521600000,0.634623],[1120608000000,0.636643],[1120694400000,0.64274],[1120780800000,0.64105],[1120867200000,0.638147],[1120953600000,0.638147],[1121040000000,0.638147],[1121126400000,0.640572],[1121212800000,0.650372],[1121299200000,0.656226],[1121385600000,0.650243],[1121472000000,0.648224],[1121558400000,0.648224],[1121644800000,0.648224],[1121731200000,0.65009],[1121817600000,0.641703],[1121904000000,0.646552],[1121990400000,0.650781],[1122076800000,0.648719],[1122163200000,0.648719],[1122249600000,0.648719],[1122336000000,0.646728],[1122422400000,0.640623],[1122508800000,0.641516],[1122595200000,0.650053],[1122681600000,0.649346],[1122768000000,0.649346],[1122854400000,0.649346],[1122940800000,0.656935],[1123027200000,0.658293],[1123113600000,0.662616],[1123200000000,0.666177],[1123286400000,null],[1123372800000,null],[1123459200000,null],[1123545600000,null],[1123632000000,0.667308],[1123718400000,0.668169],[1123804800000,0.671993],[1123891200000,0.676312],[1123977600000,0.676312],[1124064000000,0.676312],[1124150400000,0.671459],[1124236800000,0.668006],[1124323200000,0.665475],[1124409600000,0.661522],[1124496000000,0.658541],[1124582400000,0.658541],[1124668800000,0.658541],[1124755200000,0.65949],[1124841600000,0.659486],[1124928000000,0.659486],[1125014400000,0.664148],[1125100800000,0.666199],[1125187200000,0.666199],[1125273600000,0.666199],[1125360000000,0.665924],[1125446400000,0.658707],[1125532800000,0.659521],[1125619200000,0.670339],[1125705600000,0.681686],[1125792000000,0.681686],[1125878400000,0.681686],[1125964800000,0.681266],[1126051200000,0.676938],[1126137600000,0.674073],[1126224000000,0.672864],[1126310400000,0.671476],[1126396800000,0.671476],[1126483200000,0.671476],[1126569600000,null],[1126656000000,null],[1126742400000,0.666299],[1126828800000,null],[1126915200000,null],[1127001600000,0.662635],[1127088000000,0.662635],[1127174400000,0.657041],[1127260800000,0.657198],[1127347200000,0.661377],[1127433600000,0.659416],[1127520000000,0.653223],[1127606400000,0.653223],[1127692800000,0.653223],[1127779200000,0.649317],[1127865600000,0.645808],[1127952000000,0.647447],[1128038400000,0.650036],[1128124800000,0.652022],[1128211200000,0.652022],[1128297600000,0.652022],[1128384000000,0.647376],[1128470400000,0.646786],[1128556800000,0.648637],[1128643200000,0.654166],[1128729600000,0.656784],[1128816000000,0.656784],[1128902400000,0.656784],[1128988800000,0.652623],[1129075200000,0.650339],[1129161600000,0.648512],[1129248000000,0.645529],[1129334400000,0.642107],[1129420800000,0.642107],[1129507200000,0.642107],[1129593600000,0.641563],[1129680000000,0.636475],[1129766400000,0.637283],[1129852800000,0.637746],[1129939200000,0.639205],[1130025600000,0.639205],[1130112000000,0.639205],[1130198400000,0.632939],[1130284800000,0.639606],[1130371200000,0.641504],[1130457600000,0.6445],[1130544000000,0.643233],[1130630400000,0.643233],[1130716800000,0.643233],[1130803200000,0.636705],[1130889600000,0.633122],[1130976000000,0.631007],[1131062400000,0.632432],[1131148800000,0.628282],[1131235200000,0.628282],[1131321600000,0.628282],[1131408000000,0.6217],[1131494400000,0.620697],[1131580800000,0.61976],[1131667200000,0.619259],[1131753600000,0.61603],[1131840000000,0.61603],[1131926400000,0.61603],[1132012800000,0.619651],[1132099200000,0.611662],[1132185600000,0.613454],[1132272000000,0.614197],[1132358400000,0.616451],[1132444800000,0.616451],[1132531200000,0.616451],[1132617600000,0.623112],[1132704000000,0.619224],[1132790400000,0.624922],[1132876800000,0.625635],[1132963200000,0.627628],[1133049600000,0.627628],[1133136000000,0.627628],[1133222400000,0.626064],[1133308800000,0.626759],[1133395200000,0.623829],[1133481600000,0.62327],[1133568000000,0.626669],[1133654400000,0.626669],[1133740800000,0.626669],[1133827200000,0.630533],[1133913600000,0.633954],[1134000000000,0.629443],[1134086400000,0.630547],[1134172800000,0.631625],[1134259200000,0.631625],[1134345600000,0.631625],[1134432000000,0.637903],[1134518400000,0.637836],[1134604800000,0.643019],[1134691200000,0.643395],[1134777600000,0.638402],[1134864000000,0.638402],[1134950400000,0.638402],[1135036800000,0.641432],[1135123200000,0.643036],[1135209600000,0.635775],[1135296000000,0.632916],[1135382400000,0.633065],[1135468800000,0.633065],[1135555200000,0.633065],[1135641600000,0.633065],[1135728000000,0.63167],[1135814400000,0.637678],[1135900800000,0.634577]], 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, 0.760196],[1105747200000, 0.760196],[1108425600000, 0.758396],[1110844800000, 0.768189],[1113523200000, 0.732454],[1116115200000, 0.699599],[1118793600000, 0.668121],[1121385600000, 0.645222],[1124064000000, 0.664359],[1126742400000, 0.664360],[1129334400000, 0.645343],[1132012800000, 0.622818],[1134604800000, 0.633772]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });