$(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: 'Курс KZT, грн'}, 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: 'Курс KZT', data: [[1262736000000,0.053807],[1262822400000,0.053873],[1262908800000,0.053873],[1262995200000,0.053873],[1263081600000,0.053873],[1263168000000,0.053873],[1263254400000,0.053935],[1263340800000,0.054003],[1263427200000,0.054052],[1263513600000,0.054048],[1263600000000,0.054048],[1263686400000,0.054048],[1263772800000,0.054048],[1263859200000,0.054062],[1263945600000,0.054106],[1264032000000,0.054109],[1264118400000,0.054155],[1264204800000,0.054155],[1264291200000,0.054155],[1264377600000,0.054155],[1264464000000,0.05413],[1264550400000,0.05409],[1264636800000,0.054045],[1264723200000,0.053993],[1264809600000,0.053971],[1264896000000,0.053971],[1264982400000,0.053971],[1265068800000,0.054068],[1265155200000,0.054053],[1265241600000,0.054099],[1265328000000,0.054113],[1265414400000,0.054137],[1265500800000,0.054137],[1265587200000,0.054137],[1265673600000,0.054119],[1265760000000,0.054066],[1265846400000,0.054045],[1265932800000,0.054118],[1266019200000,0.054115],[1266105600000,0.054115],[1266192000000,0.054115],[1266278400000,0.054038],[1266364800000,0.054012],[1266451200000,0.054132],[1266537600000,0.05414],[1266624000000,0.054125],[1266710400000,0.054125],[1266796800000,0.054125],[1266883200000,0.054109],[1266969600000,0.054162],[1267056000000,0.054228],[1267142400000,0.054232],[1267228800000,0.054236],[1267315200000,0.054236],[1267401600000,0.054236],[1267488000000,0.054269],[1267574400000,0.054187],[1267660800000,0.054147],[1267747200000,0.054211],[1267833600000,0.054238],[1267920000000,0.054238],[1268006400000,0.054238],[1268092800000,0.054238],[1268179200000,0.054243],[1268265600000,0.054195],[1268352000000,0.054229],[1268438400000,0.054224],[1268524800000,0.054224],[1268611200000,0.054224],[1268697600000,0.05423],[1268784000000,0.054245],[1268870400000,0.054247],[1268956800000,0.05424],[1269043200000,0.054169],[1269129600000,0.054169],[1269216000000,0.054169],[1269302400000,0.05413],[1269388800000,0.054101],[1269475200000,0.053998],[1269561600000,0.053993],[1269648000000,0.053975],[1269734400000,0.053975],[1269820800000,0.053975],[1269907200000,0.053926],[1269993600000,0.053871],[1270080000000,0.053919],[1270166400000,0.053886],[1270252800000,0.053912],[1270339200000,0.053912],[1270425600000,0.053912],[1270512000000,0.053912],[1270598400000,0.053952],[1270684800000,0.053943],[1270771200000,0.053975],[1270857600000,0.053999],[1270944000000,0.053999],[1271030400000,0.053999],[1271116800000,0.054006],[1271203200000,0.054042],[1271289600000,0.054056],[1271376000000,0.054071],[1271462400000,0.054105],[1271548800000,0.054105],[1271635200000,0.054105],[1271721600000,0.054061],[1271808000000,0.054033],[1271894400000,0.054117],[1271980800000,0.054053],[1272067200000,0.054086],[1272153600000,0.054086],[1272240000000,0.054086],[1272326400000,0.054081],[1272412800000,0.054135],[1272499200000,0.054087],[1272585600000,0.053999],[1272672000000,0.054128],[1272758400000,0.054128],[1272844800000,0.054128],[1272931200000,0.054128],[1273017600000,0.054128],[1273104000000,0.054024],[1273190400000,0.053969],[1273276800000,0.053903],[1273363200000,0.053903],[1273449600000,0.053903],[1273536000000,0.053903],[1273622400000,0.054061],[1273708800000,0.053999],[1273795200000,0.054065],[1273881600000,0.054098],[1273968000000,null],[1274054400000,0.054098],[1274140800000,0.054013],[1274227200000,0.054002],[1274313600000,0.054089],[1274400000000,0.054082],[1274486400000,0.053922],[1274572800000,0.053922],[1274659200000,0.053922],[1274745600000,0.053922],[1274832000000,0.054062],[1274918400000,0.053973],[1275004800000,0.054052],[1275091200000,0.054096],[1275177600000,0.054096],[1275264000000,0.054096],[1275350400000,0.054026],[1275436800000,0.053967],[1275523200000,0.053967],[1275609600000,0.054042],[1275696000000,0.053978],[1275782400000,0.053978],[1275868800000,0.053978],[1275955200000,0.053866],[1276041600000,0.053793],[1276128000000,0.05378],[1276214400000,0.053886],[1276300800000,0.053838],[1276387200000,0.053838],[1276473600000,0.053838],[1276560000000,0.053814],[1276646400000,0.053736],[1276732800000,0.053793],[1276819200000,0.053808],[1276905600000,0.053826],[1276992000000,0.053826],[1277078400000,0.053826],[1277164800000,0.053833],[1277251200000,0.053816],[1277337600000,0.053764],[1277424000000,0.053732],[1277510400000,0.053682],[1277596800000,0.053682],[1277683200000,0.053682],[1277769600000,0.053682],[1277856000000,0.053621],[1277942400000,0.053577],[1278028800000,0.053626],[1278115200000,0.053638],[1278201600000,0.053638],[1278288000000,0.053638],[1278374400000,0.053683],[1278460800000,0.053674],[1278547200000,0.053699],[1278633600000,0.053602],[1278720000000,0.053578],[1278806400000,0.053578],[1278892800000,0.053578],[1278979200000,0.053545],[1279065600000,0.053502],[1279152000000,0.053487],[1279238400000,0.053539],[1279324800000,0.05354],[1279411200000,0.05354],[1279497600000,0.05354],[1279584000000,0.053565],[1279670400000,0.053531],[1279756800000,0.053519],[1279843200000,0.053485],[1279929600000,0.053547],[1280016000000,0.053547],[1280102400000,0.053547],[1280188800000,0.053599],[1280275200000,0.053564],[1280361600000,0.053491],[1280448000000,0.053484],[1280534400000,0.053441],[1280620800000,0.053441],[1280707200000,0.053441],[1280793600000,0.053405],[1280880000000,0.053444],[1280966400000,0.053513],[1281052800000,0.05353],[1281139200000,0.053576],[1281225600000,null],[1281312000000,0.053576],[1281398400000,0.053586],[1281484800000,0.053539],[1281571200000,0.053568],[1281657600000,0.053426],[1281744000000,0.053535],[1281830400000,0.053535],[1281916800000,0.053535],[1282003200000,0.053538],[1282089600000,0.053579],[1282176000000,0.053611],[1282262400000,0.053614],[1282348800000,0.053632],[1282435200000,null],[1282521600000,null],[1282608000000,0.05363],[1282694400000,0.05363],[1282780800000,0.053575],[1282867200000,0.053619],[1282953600000,0.053602],[1283040000000,0.053602],[1283126400000,0.053602],[1283212800000,0.053596],[1283299200000,0.053531],[1283385600000,0.053559],[1283472000000,0.053624],[1283558400000,0.053691],[1283644800000,0.053691],[1283731200000,0.053691],[1283817600000,0.053695],[1283904000000,0.053669],[1283990400000,0.053619],[1284076800000,0.053626],[1284163200000,0.053659],[1284249600000,0.053659],[1284336000000,0.053659],[1284422400000,0.05371],[1284508800000,0.053792],[1284595200000,0.053814],[1284681600000,0.05377],[1284768000000,0.05373],[1284854400000,0.05373],[1284940800000,0.05373],[1285027200000,0.053719],[1285113600000,0.053697],[1285200000000,0.053759],[1285286400000,0.053673],[1285372800000,0.053609],[1285459200000,0.053609],[1285545600000,0.053609],[1285632000000,0.053636],[1285718400000,0.05368],[1285804800000,0.053662],[1285891200000,0.053602],[1285977600000,0.053579],[1286064000000,0.053579],[1286150400000,0.053579],[1286236800000,0.053626],[1286323200000,0.053612],[1286409600000,0.053648],[1286496000000,0.053645],[1286582400000,0.053594],[1286668800000,0.053594],[1286755200000,0.053594],[1286841600000,0.05359],[1286928000000,0.053543],[1287014400000,0.053521],[1287100800000,0.053579],[1287187200000,0.053635],[1287273600000,0.053635],[1287360000000,0.053635],[1287446400000,0.053616],[1287532800000,0.053609],[1287619200000,0.05362],[1287705600000,0.053569],[1287792000000,0.053632],[1287878400000,0.053632],[1287964800000,0.053632],[1288051200000,0.053609],[1288137600000,0.053587],[1288224000000,0.053623],[1288310400000,0.053613],[1288396800000,0.05363],[1288483200000,0.05363],[1288569600000,0.05363],[1288656000000,0.053676],[1288742400000,0.053657],[1288828800000,0.053638],[1288915200000,0.053661],[1289001600000,0.053655],[1289088000000,0.053655],[1289174400000,0.053655],[1289260800000,0.053607],[1289347200000,0.053574],[1289433600000,0.053642],[1289520000000,0.053696],[1289606400000,0.05375],[1289692800000,0.05375],[1289779200000,0.05375],[1289865600000,0.053712],[1289952000000,0.053732],[1290038400000,0.053808],[1290124800000,0.053844],[1290211200000,0.053851],[1290297600000,0.053851],[1290384000000,0.053851],[1290470400000,0.053859],[1290556800000,0.053866],[1290643200000,0.053902],[1290729600000,0.053869],[1290816000000,0.053853],[1290902400000,0.053853],[1290988800000,0.053853],[1291075200000,0.053821],[1291161600000,0.053788],[1291248000000,0.05377],[1291334400000,0.053765],[1291420800000,0.053808],[1291507200000,0.053808],[1291593600000,0.053808],[1291680000000,0.053936],[1291766400000,0.053912],[1291852800000,0.05393],[1291939200000,0.053952],[1292025600000,0.05396],[1292112000000,0.05396],[1292198400000,0.05396],[1292284800000,0.053993],[1292371200000,0.054057],[1292457600000,0.054016],[1292544000000,0.054019],[1292630400000,0.054019],[1292716800000,0.054019],[1292803200000,0.054019],[1292889600000,0.054048],[1292976000000,0.054078],[1293062400000,0.0541],[1293148800000,0.054126],[1293235200000,0.054108],[1293321600000,0.054108],[1293408000000,0.054108],[1293494400000,0.05401],[1293580800000,0.054003],[1293667200000,0.053982]], 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.054017],[1263513600000, 0.054017],[1266192000000, 0.054118],[1268611200000, 0.054153],[1271289600000, 0.054021],[1273881600000, 0.054027],[1276560000000, 0.053830],[1279152000000, 0.053565],[1281830400000, 0.053553],[1284508800000, 0.053677],[1287100800000, 0.053606],[1289779200000, 0.053751],[1292371200000, 0.053974]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });