$(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: 'Курс RUB, грн'}, 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: 'Курс RUB', data: [[1009843200000,0.17581],[1009929600000,0.17581],[1010016000000,0.17581],[1010102400000,0.17596],[1010188800000,0.17596],[1010275200000,0.17596],[1010361600000,0.17596],[1010448000000,0.17596],[1010534400000,0.17622],[1010620800000,0.17372],[1010707200000,0.17448],[1010793600000,0.17448],[1010880000000,0.17448],[1010966400000,0.17448],[1011052800000,0.17446],[1011139200000,0.17434],[1011225600000,0.17434],[1011312000000,0.17391],[1011398400000,0.17391],[1011484800000,0.17391],[1011571200000,0.17391],[1011657600000,0.17391],[1011744000000,0.17413],[1011830400000,0.17412],[1011916800000,0.1739],[1012003200000,0.1739],[1012089600000,0.1739],[1012176000000,0.1739],[1012262400000,0.17352],[1012348800000,0.17341],[1012435200000,0.17341],[1012521600000,0.17342],[1012608000000,0.17342],[1012694400000,0.17342],[1012780800000,0.17342],[1012867200000,0.17318],[1012953600000,0.17318],[1013040000000,0.17313],[1013126400000,0.17295],[1013212800000,0.17295],[1013299200000,0.17295],[1013385600000,0.17295],[1013472000000,0.17266],[1013558400000,0.17251],[1013644800000,0.1725],[1013731200000,0.17259],[1013817600000,null],[1013904000000,null],[1013990400000,null],[1014076800000,null],[1014163200000,0.17231],[1014249600000,0.17231],[1014336000000,0.17255],[1014422400000,0.17255],[1014508800000,0.17255],[1014595200000,0.17255],[1014681600000,0.17256],[1014768000000,0.17225],[1014854400000,0.17225],[1014940800000,0.17199],[1015027200000,0.17199],[1015113600000,0.17199],[1015200000000,0.17199],[1015286400000,0.17177],[1015372800000,0.17178],[1015459200000,0.17173],[1015545600000,0.17173],[1015632000000,0.17173],[1015718400000,0.17173],[1015804800000,0.17134],[1015891200000,0.17134],[1015977600000,0.17137],[1016064000000,0.17126],[1016150400000,0.17128],[1016236800000,0.17128],[1016323200000,0.17128],[1016409600000,0.17128],[1016496000000,0.17106],[1016582400000,0.17106],[1016668800000,0.17096],[1016755200000,0.17105],[1016841600000,0.17105],[1016928000000,0.17105],[1017014400000,0.17105],[1017100800000,0.17085],[1017187200000,0.17095],[1017273600000,0.1713],[1017360000000,0.17102],[1017446400000,0.17102],[1017532800000,0.17102],[1017619200000,0.17102],[1017705600000,0.17075],[1017792000000,0.17081],[1017878400000,0.17079],[1017964800000,0.17085],[1018051200000,0.17085],[1018137600000,0.17085],[1018224000000,0.17085],[1018310400000,0.17098],[1018396800000,0.17098],[1018483200000,0.17096],[1018569600000,0.17092],[1018656000000,0.17092],[1018742400000,0.17092],[1018828800000,0.17103],[1018915200000,0.17103],[1019001600000,0.17104],[1019088000000,0.17103],[1019174400000,0.17093],[1019260800000,0.17093],[1019347200000,0.17093],[1019433600000,0.17103],[1019520000000,0.17103],[1019606400000,0.17104],[1019692800000,0.17087],[1019779200000,0.17076],[1019865600000,0.17076],[1019952000000,0.17076],[1020038400000,0.17076],[1020124800000,0.17076],[1020211200000,0.17076],[1020297600000,0.17076],[1020384000000,0.17076],[1020470400000,0.17076],[1020556800000,0.17076],[1020643200000,0.17076],[1020729600000,0.17076],[1020816000000,0.17067],[1020902400000,0.17067],[1020988800000,0.17067],[1021075200000,0.17067],[1021161600000,0.17067],[1021248000000,0.17048],[1021334400000,0.17049],[1021420800000,0.17049],[1021507200000,0.17047],[1021593600000,0.17048],[1021680000000,0.17048],[1021766400000,0.17048],[1021852800000,0.17048],[1021939200000,0.17048],[1022025600000,0.17048],[1022112000000,0.17044],[1022198400000,0.17033],[1022284800000,0.17033],[1022371200000,0.17033],[1022457600000,0.17033],[1022544000000,0.17033],[1022630400000,0.17023],[1022716800000,0.17023],[1022803200000,0.17024],[1022889600000,0.17024],[1022976000000,0.17024],[1023062400000,0.17024],[1023148800000,0.1702],[1023235200000,0.17013],[1023321600000,0.16978],[1023408000000,0.16975],[1023494400000,0.16975],[1023580800000,0.16975],[1023667200000,0.1697],[1023753600000,0.1697],[1023840000000,0.16977],[1023926400000,0.16975],[1024012800000,0.16975],[1024099200000,0.16975],[1024185600000,0.16975],[1024272000000,0.16975],[1024358400000,0.16965],[1024444800000,0.16965],[1024531200000,0.16953],[1024617600000,0.16942],[1024704000000,0.16942],[1024790400000,0.16942],[1024876800000,0.16942],[1024963200000,0.1693],[1025049600000,0.1693],[1025136000000,0.1695],[1025222400000,0.1695],[1025308800000,0.1695],[1025395200000,0.1695],[1025481600000,0.1695],[1025568000000,0.1691],[1025654400000,0.1691],[1025740800000,0.1691],[1025827200000,0.16908],[1025913600000,0.16908],[1026000000000,0.16908],[1026086400000,0.16901],[1026172800000,0.16888],[1026259200000,0.16891],[1026345600000,0.16891],[1026432000000,0.16887],[1026518400000,0.16887],[1026604800000,0.16887],[1026691200000,0.1692],[1026777600000,0.1692],[1026864000000,0.16896],[1026950400000,0.16896],[1027036800000,0.16896],[1027123200000,0.16896],[1027209600000,0.16899],[1027296000000,0.16914],[1027382400000,0.16916],[1027468800000,0.16915],[1027555200000,0.16899],[1027641600000,0.16913],[1027728000000,0.16913],[1027814400000,0.16913],[1027900800000,0.16934],[1027987200000,0.1695],[1028073600000,0.16941],[1028160000000,0.16905],[1028246400000,0.16891],[1028332800000,0.16891],[1028419200000,0.16891],[1028505600000,0.16896],[1028592000000,0.169],[1028678400000,0.169],[1028764800000,0.16888],[1028851200000,0.16873],[1028937600000,0.16873],[1029024000000,0.16873],[1029110400000,0.16885],[1029196800000,0.16885],[1029283200000,0.16896],[1029369600000,0.16885],[1029456000000,0.16882],[1029542400000,0.16882],[1029628800000,0.16882],[1029715200000,0.16888],[1029801600000,0.16888],[1029888000000,0.16879],[1029974400000,0.16879],[1030060800000,0.1688],[1030147200000,0.1688],[1030233600000,0.1688],[1030320000000,0.1688],[1030406400000,0.1688],[1030492800000,0.16877],[1030579200000,0.16877],[1030665600000,0.16882],[1030752000000,0.16882],[1030838400000,0.16882],[1030924800000,0.16882],[1031011200000,0.16862],[1031097600000,0.16859],[1031184000000,0.16859],[1031270400000,0.16858],[1031356800000,0.16858],[1031443200000,0.16858],[1031529600000,0.1685],[1031616000000,0.16849],[1031702400000,0.16843],[1031788800000,0.1684],[1031875200000,0.16844],[1031961600000,0.16844],[1032048000000,0.16844],[1032134400000,0.16844],[1032220800000,0.16851],[1032307200000,0.16852],[1032393600000,0.16843],[1032480000000,0.16845],[1032566400000,0.16845],[1032652800000,0.16845],[1032739200000,0.16848],[1032825600000,0.16847],[1032912000000,0.16845],[1032998400000,0.16847],[1033084800000,0.16846],[1033171200000,0.16846],[1033257600000,0.16846],[1033344000000,0.16846],[1033430400000,0.16817],[1033516800000,0.16817],[1033603200000,0.16822],[1033689600000,0.16823],[1033776000000,0.16823],[1033862400000,0.16823],[1033948800000,0.16823],[1034035200000,0.16823],[1034121600000,0.16823],[1034208000000,0.16829],[1034294400000,0.16828],[1034380800000,0.16828],[1034467200000,0.16828],[1034553600000,0.16828],[1034640000000,0.16825],[1034726400000,0.16825],[1034812800000,0.16825],[1034899200000,0.16827],[1034985600000,0.16827],[1035072000000,0.16827],[1035158400000,0.16814],[1035244800000,0.16798],[1035331200000,0.16805],[1035417600000,0.16807],[1035504000000,0.16797],[1035590400000,0.16797],[1035676800000,0.16797],[1035763200000,0.16793],[1035849600000,0.16793],[1035936000000,0.16793],[1036022400000,0.16793],[1036108800000,0.16781],[1036195200000,0.16781],[1036281600000,0.16781],[1036368000000,0.16781],[1036454400000,0.16776],[1036540800000,0.16767],[1036627200000,0.16775],[1036713600000,0.16775],[1036800000000,0.16775],[1036886400000,0.16775],[1036972800000,0.16775],[1037059200000,0.1675],[1037145600000,0.16754],[1037232000000,0.16752],[1037318400000,0.1675],[1037404800000,0.1675],[1037491200000,0.1675],[1037577600000,0.1675],[1037664000000,0.1675],[1037750400000,0.1675],[1037836800000,0.16749],[1037923200000,0.16751],[1038009600000,0.16751],[1038096000000,0.16751],[1038182400000,0.1674],[1038268800000,0.1674],[1038355200000,0.16741],[1038441600000,0.16741],[1038528000000,0.16742],[1038614400000,0.16742],[1038700800000,null],[1038787200000,null],[1038873600000,null],[1038960000000,null],[1039046400000,0.16735],[1039132800000,0.16734],[1039219200000,0.16734],[1039305600000,0.16734],[1039392000000,0.16734],[1039478400000,0.16734],[1039564800000,0.16734],[1039651200000,0.16734],[1039737600000,0.16734],[1039824000000,0.16734],[1039910400000,0.16734],[1039996800000,0.16738],[1040083200000,0.16735],[1040169600000,0.16735],[1040256000000,0.16737],[1040342400000,0.16742],[1040428800000,0.16742],[1040515200000,0.16742],[1040601600000,0.16742],[1040688000000,0.16768],[1040774400000,0.1677],[1040860800000,0.1677],[1040947200000,0.16777],[1041033600000,0.16777],[1041120000000,0.16777],[1041206400000,0.16777]], 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: [[1011052800000, 0.174580],[1011052800000, 0.174580],[1013731200000, 0.172796],[1016150400000, 0.171365],[1018828800000, 0.170905],[1021420800000, 0.170525],[1024099200000, 0.169704],[1026691200000, 0.169086],[1029369600000, 0.168848],[1032048000000, 0.168509],[1034640000000, 0.168154],[1037318400000, 0.167582],[1039910400000, 0.167474]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });