$(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: 'Курс TRY, грн'}, 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: 'Курс TRY', data: [[1326758400000,4.34424],[1326844800000,null],[1326931200000,null],[1327017600000,4.36733],[1327104000000,4.36059],[1327190400000,4.36059],[1327276800000,4.36059],[1327363200000,4.39017],[1327449600000,4.37125],[1327536000000,4.37041],[1327622400000,4.45402],[1327708800000,4.49034],[1327795200000,4.49034],[1327881600000,4.49034],[1327968000000,4.46141],[1328054400000,4.51231],[1328140800000,4.53101],[1328227200000,4.52105],[1328313600000,4.54934],[1328400000000,4.54934],[1328486400000,4.54934],[1328572800000,4.52716],[1328659200000,4.54017],[1328745600000,4.57324],[1328832000000,4.55059],[1328918400000,4.52172],[1329004800000,4.52172],[1329091200000,4.52172],[1329177600000,4.54139],[1329264000000,4.51346],[1329350400000,4.52709],[1329436800000,4.49903],[1329523200000,4.55175],[1329609600000,4.55175],[1329696000000,4.55175],[1329782400000,4.5883],[1329868800000,4.55566],[1329955200000,4.56002],[1330041600000,4.52801],[1330128000000,4.53145],[1330214400000,4.53145],[1330300800000,4.53145],[1330387200000,4.51221],[1330473600000,4.55696],[1330560000000,4.57847],[1330646400000,4.55464],[1330732800000,4.5357],[1330819200000,4.5357],[1330905600000,4.5357],[1330992000000,4.52157],[1331078400000,4.47376],[1331164800000,4.4672],[1331251200000,4.4672],[1331337600000,4.4672],[1331424000000,4.4672],[1331510400000,4.4672],[1331596800000,4.44216],[1331683200000,4.44606],[1331769600000,4.4455],[1331856000000,4.42569],[1331942400000,4.44096],[1332028800000,4.44096],[1332115200000,4.44096],[1332201600000,4.41169],[1332288000000,4.39109],[1332374400000,4.40208],[1332460800000,4.40133],[1332547200000,4.43159],[1332633600000,4.43159],[1332720000000,4.43159],[1332806400000,4.4609],[1332892800000,4.47198],[1332979200000,4.48198],[1333065600000,4.4769],[1333152000000,4.48752],[1333238400000,4.48752],[1333324800000,4.48752],[1333411200000,4.47773],[1333497600000,4.49208],[1333584000000,4.4512],[1333670400000,4.44779],[1333756800000,4.44779],[1333843200000,null],[1333929600000,4.44779],[1334016000000,4.44639],[1334102400000,4.43258],[1334188800000,4.42204],[1334275200000,4.43825],[1334361600000,4.46069],[1334448000000,4.46069],[1334534400000,4.46069],[1334620800000,4.46069],[1334707200000,4.45924],[1334793600000,4.45718],[1334880000000,4.45747],[1334966400000,4.46009],[1335052800000,4.46009],[1335139200000,4.46009],[1335225600000,4.45],[1335312000000,4.47155],[1335398400000,4.50466],[1335484800000,4.51892],[1335571200000,4.54031],[1335657600000,4.54031],[1335744000000,4.54031],[1335830400000,4.54031],[1335916800000,4.54031],[1336003200000,4.54031],[1336089600000,4.53412],[1336176000000,4.5514],[1336262400000,4.5514],[1336348800000,4.5514],[1336435200000,4.52681],[1336521600000,4.52533],[1336608000000,4.52533],[1336694400000,4.47626],[1336780800000,4.47039],[1336867200000,4.47039],[1336953600000,4.47039],[1337040000000,4.42045],[1337126400000,4.42118],[1337212800000,4.39071],[1337299200000,4.36837],[1337385600000,4.36871],[1337472000000,4.36871],[1337558400000,4.36871],[1337644800000,4.35975],[1337731200000,4.37712],[1337817600000,4.32214],[1337904000000,4.32967],[1337990400000,4.33973],[1338076800000,4.33973],[1338163200000,4.33973],[1338249600000,4.35268],[1338336000000,4.35023],[1338422400000,4.3354],[1338508800000,4.31755],[1338595200000,4.27298],[1338681600000,4.27298],[1338768000000,4.27298],[1338854400000,4.27298],[1338940800000,4.3187],[1339027200000,4.33929],[1339113600000,4.38362],[1339200000000,4.36145],[1339286400000,4.36145],[1339372800000,4.36145],[1339459200000,4.39208],[1339545600000,4.36756],[1339632000000,4.3187],[1339718400000,4.38243],[1339804800000,4.39431],[1339891200000,4.39431],[1339977600000,4.39431],[1340064000000,4.40717],[1340150400000,4.43212],[1340236800000,4.45395],[1340323200000,4.45414],[1340409600000,4.42249],[1340496000000,4.42249],[1340582400000,4.42249],[1340668800000,4.39635],[1340755200000,4.39565],[1340841600000,4.41539],[1340928000000,4.41539],[1341014400000,4.41539],[1341100800000,4.41539],[1341187200000,4.41539],[1341273600000,4.4193],[1341360000000,4.43538],[1341446400000,4.42677],[1341532800000,4.42047],[1341619200000,4.39132],[1341705600000,4.39159],[1341792000000,4.39159],[1341878400000,4.3785],[1341964800000,4.39288],[1342051200000,4.41594],[1342137600000,4.39631],[1342224000000,4.39408],[1342310400000,4.39408],[1342396800000,4.39408],[1342483200000,4.40112],[1342569600000,4.41118],[1342656000000,4.41852],[1342742400000,4.43807],[1342828800000,4.41742],[1342915200000,4.41742],[1343001600000,4.41742],[1343088000000,4.38939],[1343174400000,4.37129],[1343260800000,4.38063],[1343347200000,4.39101],[1343433600000,4.39783],[1343520000000,4.39783],[1343606400000,4.39783],[1343692800000,4.42706],[1343779200000,4.46503],[1343865600000,4.44546],[1343952000000,4.45575],[1344038400000,4.46976],[1344124800000,4.46976],[1344211200000,4.46976],[1344297600000,4.49037],[1344384000000,4.48925],[1344470400000,4.46282],[1344556800000,4.47752],[1344643200000,4.46678],[1344729600000,4.46678],[1344816000000,4.46678],[1344902400000,4.4629],[1344988800000,4.45792],[1345075200000,4.43249],[1345161600000,4.44341],[1345248000000,4.43249],[1345334400000,4.43249],[1345420800000,4.43249],[1345507200000,4.43635],[1345593600000,4.44779],[1345680000000,4.44977],[1345766400000,4.45507],[1345852800000,4.45507],[1345939200000,4.45507],[1346025600000,4.45507],[1346112000000,4.44036],[1346198400000,4.43886],[1346284800000,4.40408],[1346371200000,4.37434],[1346457600000,4.3977],[1346544000000,4.3977],[1346630400000,4.3977],[1346716800000,4.39094],[1346803200000,4.39421],[1346889600000,4.38926],[1346976000000,4.40136],[1347062400000,4.43141],[1347148800000,4.43141],[1347235200000,4.43141],[1347321600000,4.43512],[1347408000000,4.43124],[1347494400000,4.42698],[1347580800000,4.41245],[1347667200000,4.45378],[1347753600000,4.45378],[1347840000000,4.45378],[1347926400000,4.44297],[1348012800000,4.44267],[1348099200000,4.4559],[1348185600000,4.43717],[1348272000000,4.45282],[1348358400000,4.45282],[1348444800000,4.45282],[1348531200000,4.43861],[1348617600000,4.45656],[1348704000000,4.45365],[1348790400000,4.46662],[1348876800000,4.45414],[1348963200000,4.45414],[1349049600000,4.45414],[1349136000000,4.45239],[1349222400000,4.46049],[1349308800000,4.45979],[1349395200000,4.42647],[1349481600000,4.44599],[1349568000000,4.44599],[1349654400000,4.44599],[1349740800000,4.4085],[1349827200000,4.40755],[1349913600000,4.40735],[1350000000000,4.41123],[1350086400000,4.42331],[1350172800000,4.42331],[1350259200000,4.42331],[1350345600000,4.41875],[1350432000000,4.42131],[1350518400000,4.43811],[1350604800000,4.44854],[1350691200000,4.44397],[1350777600000,4.44397],[1350864000000,4.44397],[1350950400000,4.45275],[1351036800000,4.43525],[1351123200000,4.42737],[1351209600000,4.44405],[1351296000000,4.43034],[1351382400000,4.43034],[1351468800000,4.43034],[1351555200000,4.43662],[1351641600000,4.44524],[1351728000000,4.45492],[1351814400000,4.46042],[1351900800000,4.47051],[1351987200000,4.47051],[1352073600000,4.47051],[1352160000000,4.48061],[1352246400000,4.49894],[1352332800000,4.48548],[1352419200000,4.47861],[1352505600000,4.45796],[1352592000000,4.45796],[1352678400000,4.45796],[1352764800000,4.44502],[1352851200000,4.43431],[1352937600000,4.4293],[1353024000000,4.43646],[1353110400000,4.43997],[1353196800000,4.43997],[1353283200000,4.43997],[1353369600000,4.43372],[1353456000000,4.44831],[1353542400000,4.43133],[1353628800000,4.44312],[1353715200000,4.44729],[1353801600000,4.44729],[1353888000000,4.44729],[1353974400000,4.453],[1354060800000,4.45771],[1354147200000,4.46032],[1354233600000,4.46887],[1354320000000,4.47151],[1354406400000,4.47151],[1354492800000,4.47151],[1354579200000,4.4736],[1354665600000,4.4783],[1354752000000,4.47232],[1354838400000,4.46744],[1354924800000,4.46188],[1355011200000,4.46188],[1355097600000,4.46188],[1355184000000,4.46106],[1355270400000,4.48164],[1355356800000,4.49301],[1355443200000,4.48988],[1355529600000,4.48625],[1355616000000,4.48625],[1355702400000,4.48625],[1355788800000,4.48142],[1355875200000,4.48679],[1355961600000,4.48961],[1356048000000,4.47297],[1356134400000,4.45314],[1356220800000,4.45314],[1356307200000,4.45314],[1356393600000,4.44493],[1356480000000,4.44493],[1356566400000,4.44493],[1356652800000,4.46332],[1356739200000,4.46793],[1356825600000,4.46793]], 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: [[1326585600000, 4.408587],[1326585600000, 4.408587],[1329264000000, 4.537947],[1331769600000, 4.465615],[1334448000000, 4.470401],[1337040000000, 4.433135],[1339718400000, 4.374404],[1342310400000, 4.404744],[1344988800000, 4.451673],[1347667200000, 4.433038],[1350259200000, 4.435055],[1352937600000, 4.454922],[1355529600000, 4.469943]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });