$(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: [[1262736000000,0.26453],[1262822400000,0.26453],[1262908800000,0.26453],[1262995200000,0.26453],[1263081600000,0.26453],[1263168000000,0.26453],[1263254400000,0.27152],[1263340800000,0.27226],[1263427200000,0.27003],[1263513600000,0.27191],[1263600000000,0.27067],[1263686400000,0.27067],[1263772800000,0.27067],[1263859200000,0.27034],[1263945600000,0.2712],[1264032000000,0.2696],[1264118400000,0.26926],[1264204800000,0.26923],[1264291200000,0.26923],[1264377600000,0.26923],[1264464000000,0.26609],[1264550400000,0.26407],[1264636800000,0.26417],[1264723200000,0.26352],[1264809600000,0.26286],[1264896000000,0.26286],[1264982400000,0.26286],[1265068800000,0.26314],[1265155200000,0.26506],[1265241600000,0.2678],[1265328000000,0.26666],[1265414400000,0.2626],[1265500800000,0.2626],[1265587200000,0.2626],[1265673600000,0.2624],[1265760000000,0.26369],[1265846400000,0.26483],[1265932800000,0.2659],[1266019200000,0.26534],[1266105600000,0.26534],[1266192000000,0.26534],[1266278400000,0.26479],[1266364800000,0.26571],[1266451200000,0.26696],[1266537600000,0.26565],[1266624000000,0.26526],[1266710400000,0.26526],[1266796800000,0.26526],[1266883200000,0.26501],[1266969600000,0.265],[1267056000000,0.26606],[1267142400000,0.26587],[1267228800000,0.26599],[1267315200000,0.26599],[1267401600000,0.26599],[1267488000000,0.26696],[1267574400000,0.26636],[1267660800000,0.26779],[1267747200000,0.26773],[1267833600000,0.26758],[1267920000000,0.26758],[1268006400000,0.26758],[1268092800000,0.26758],[1268179200000,0.26837],[1268265600000,0.26854],[1268352000000,0.27034],[1268438400000,0.27146],[1268524800000,0.27146],[1268611200000,0.27146],[1268697600000,0.27191],[1268784000000,0.27109],[1268870400000,0.27322],[1268956800000,0.27294],[1269043200000,0.27208],[1269129600000,0.27208],[1269216000000,0.27208],[1269302400000,0.27112],[1269388800000,0.26976],[1269475200000,0.26829],[1269561600000,0.26742],[1269648000000,0.26868],[1269734400000,0.26868],[1269820800000,0.26868],[1269907200000,0.26746],[1269993600000,0.26989],[1270080000000,0.26868],[1270166400000,0.2692],[1270252800000,0.27122],[1270339200000,0.27122],[1270425600000,0.27122],[1270512000000,0.27122],[1270598400000,0.27102],[1270684800000,0.27051],[1270771200000,0.2696],[1270857600000,0.27031],[1270944000000,0.27031],[1271030400000,0.27031],[1271116800000,0.27387],[1271203200000,0.27304],[1271289600000,0.2729],[1271376000000,0.27396],[1271462400000,0.273],[1271548800000,0.273],[1271635200000,0.273],[1271721600000,0.27146],[1271808000000,0.272],[1271894400000,0.27246],[1271980800000,0.27209],[1272067200000,0.27074],[1272153600000,0.27074],[1272240000000,0.27074],[1272326400000,0.27249],[1272412800000,0.27272],[1272499200000,0.26977],[1272585600000,0.27061],[1272672000000,0.27187],[1272758400000,0.27187],[1272844800000,0.27187],[1272931200000,0.27187],[1273017600000,0.27187],[1273104000000,0.26703],[1273190400000,0.26161],[1273276800000,0.25801],[1273363200000,0.25801],[1273449600000,0.25801],[1273536000000,0.25801],[1273622400000,0.26106],[1273708800000,0.26241],[1273795200000,0.26544],[1273881600000,0.26369],[1273968000000,null],[1274054400000,0.26369],[1274140800000,0.25818],[1274227200000,0.26077],[1274313600000,0.25821],[1274400000000,0.25773],[1274486400000,0.25519],[1274572800000,0.25519],[1274659200000,0.25519],[1274745600000,0.25519],[1274832000000,0.25217],[1274918400000,0.25277],[1275004800000,0.25665],[1275091200000,0.25988],[1275177600000,0.25988],[1275264000000,0.25988],[1275350400000,0.25781],[1275436800000,0.25507],[1275523200000,0.25411],[1275609600000,0.25653],[1275696000000,0.25496],[1275782400000,0.25496],[1275868800000,0.25496],[1275955200000,0.24925],[1276041600000,0.25046],[1276128000000,0.24954],[1276214400000,0.25074],[1276300800000,0.25172],[1276387200000,0.25172],[1276473600000,0.25172],[1276560000000,0.25169],[1276646400000,0.25157],[1276732800000,0.25397],[1276819200000,0.25372],[1276905600000,0.25618],[1276992000000,0.25618],[1277078400000,0.25618],[1277164800000,0.25745],[1277251200000,0.25603],[1277337600000,0.25541],[1277424000000,0.25502],[1277510400000,0.25445],[1277596800000,0.25445],[1277683200000,0.25445],[1277769600000,0.25445],[1277856000000,0.25347],[1277942400000,0.25293],[1278028800000,0.25211],[1278115200000,0.25359],[1278201600000,0.25359],[1278288000000,0.25359],[1278374400000,0.25423],[1278460800000,0.25419],[1278547200000,0.25431],[1278633600000,0.25546],[1278720000000,0.25666],[1278806400000,0.25666],[1278892800000,0.25666],[1278979200000,0.25591],[1279065600000,0.25611],[1279152000000,0.25874],[1279238400000,0.25852],[1279324800000,0.25934],[1279411200000,0.25934],[1279497600000,0.25934],[1279584000000,0.25837],[1279670400000,0.25975],[1279756800000,0.25973],[1279843200000,0.25874],[1279929600000,0.25987],[1280016000000,0.25987],[1280102400000,0.25987],[1280188800000,0.26056],[1280275200000,0.26106],[1280361600000,0.26131],[1280448000000,0.26121],[1280534400000,0.26146],[1280620800000,0.26146],[1280707200000,0.26146],[1280793600000,0.26145],[1280880000000,0.26333],[1280966400000,0.26484],[1281052800000,0.26423],[1281139200000,0.26449],[1281225600000,null],[1281312000000,0.26449],[1281398400000,0.2646],[1281484800000,0.26279],[1281571200000,0.26122],[1281657600000,0.25912],[1281744000000,0.25937],[1281830400000,0.25937],[1281916800000,0.25937],[1282003200000,0.25855],[1282089600000,0.2591],[1282176000000,0.25932],[1282262400000,0.25901],[1282348800000,0.25861],[1282435200000,null],[1282521600000,null],[1282608000000,0.2586],[1282694400000,0.2586],[1282780800000,0.25537],[1282867200000,0.25598],[1282953600000,0.25693],[1283040000000,0.25693],[1283126400000,0.25693],[1283212800000,0.25718],[1283299200000,0.25551],[1283385600000,0.25604],[1283472000000,0.25738],[1283558400000,0.25766],[1283644800000,0.25766],[1283731200000,0.25766],[1283817600000,0.25863],[1283904000000,0.25733],[1283990400000,0.25603],[1284076800000,0.25609],[1284163200000,0.25598],[1284249600000,0.25598],[1284336000000,0.25598],[1284422400000,0.25774],[1284508800000,0.25788],[1284595200000,0.25761],[1284681600000,0.25527],[1284768000000,0.25478],[1284854400000,0.25478],[1284940800000,0.25478],[1285027200000,0.25562],[1285113600000,0.25479],[1285200000000,0.2556],[1285286400000,0.25534],[1285372800000,0.25557],[1285459200000,0.25557],[1285545600000,0.25557],[1285632000000,0.25851],[1285718400000,0.2586],[1285804800000,0.26029],[1285891200000,0.25924],[1285977600000,0.25926],[1286064000000,0.25926],[1286150400000,0.25926],[1286236800000,0.25938],[1286323200000,0.25989],[1286409600000,0.26461],[1286496000000,0.26693],[1286582400000,0.26447],[1286668800000,0.26447],[1286755200000,0.26447],[1286841600000,0.26515],[1286928000000,0.26299],[1287014400000,0.26255],[1287100800000,0.26423],[1287187200000,0.26255],[1287273600000,0.26255],[1287360000000,0.26255],[1287446400000,0.2592],[1287532800000,0.26012],[1287619200000,0.2569],[1287705600000,0.25742],[1287792000000,0.25942],[1287878400000,0.25942],[1287964800000,0.25942],[1288051200000,0.26175],[1288137600000,0.26025],[1288224000000,0.25882],[1288310400000,0.25789],[1288396800000,0.257],[1288483200000,0.257],[1288569600000,0.257],[1288656000000,0.25729],[1288742400000,0.25715],[1288828800000,0.25738],[1288915200000,0.25738],[1289001600000,0.25721],[1289088000000,0.25721],[1289174400000,0.25721],[1289260800000,0.25701],[1289347200000,0.25633],[1289433600000,0.25772],[1289520000000,0.2596],[1289606400000,0.25769],[1289692800000,0.25769],[1289779200000,0.25769],[1289865600000,0.25703],[1289952000000,0.25553],[1290038400000,0.25321],[1290124800000,0.25441],[1290211200000,0.25648],[1290297600000,0.25648],[1290384000000,0.25648],[1290470400000,0.2561],[1290556800000,0.25389],[1290643200000,0.25369],[1290729600000,0.25376],[1290816000000,0.25317],[1290902400000,0.25317],[1290988800000,0.25317],[1291075200000,0.25356],[1291161600000,0.25334],[1291248000000,0.25236],[1291334400000,0.25325],[1291420800000,0.25403],[1291507200000,0.25403],[1291593600000,0.25403],[1291680000000,0.25438],[1291766400000,0.25468],[1291852800000,0.2545],[1291939200000,0.25664],[1292025600000,0.25771],[1292112000000,0.25771],[1292198400000,0.25771],[1292284800000,0.25738],[1292371200000,0.25901],[1292457600000,0.25922],[1292544000000,0.25895],[1292630400000,0.25967],[1292716800000,0.25967],[1292803200000,0.25967],[1292889600000,0.25877],[1292976000000,0.25924],[1293062400000,0.25924],[1293148800000,0.26031],[1293235200000,0.26037],[1293321600000,0.26037],[1293408000000,0.26037],[1293494400000,0.26145],[1293580800000,0.26299],[1293667200000,0.26218]], 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: [[1263513600000, 0.267560],[1263513600000, 0.267560],[1266192000000, 0.264963],[1268611200000, 0.269425],[1271289600000, 0.271447],[1273881600000, 0.261107],[1276560000000, 0.253941],[1279152000000, 0.257519],[1281830400000, 0.260096],[1284508800000, 0.256541],[1287100800000, 0.260917],[1289779200000, 0.256056],[1292371200000, 0.257886]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });