$(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: 'Курс GBP, грн'}, 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: 'Курс GBP', data: [[978307200000,8.10255],[978393600000,8.10255],[978480000000,8.10915],[978566400000,8.18797],[978652800000,8.12512],[978739200000,8.16985],[978825600000,8.16985],[978912000000,8.16985],[978998400000,8.16985],[979084800000,8.09076],[979171200000,8.10793],[979257600000,8.14854],[979344000000,8.09329],[979430400000,8.09329],[979516800000,8.09329],[979603200000,8.01911],[979689600000,7.98176],[979776000000,8.01937],[979862400000,8.00187],[979948800000,8.00429],[980035200000,8.00429],[980121600000,8.00429],[980208000000,7.89795],[980294400000,7.99993],[980380800000,7.9608],[980467200000,7.88001],[980553600000,7.93681],[980640000000,7.93681],[980726400000,7.93681],[980812800000,7.91948],[980899200000,7.93033],[980985600000,7.92613],[981072000000,8.01747],[981158400000,8.02744],[981244800000,null],[981331200000,8.02744],[981417600000,8.01383],[981504000000,7.95225],[981590400000,7.93151],[981676800000,7.87799],[981763200000,7.85003],[981849600000,7.85003],[981936000000,7.85003],[982022400000,7.88173],[982108800000,7.88173],[982195200000,7.90187],[982281600000,7.85947],[982368000000,7.8728],[982454400000,7.8728],[982540800000,7.8728],[982627200000,7.88391],[982713600000,7.79914],[982800000000,7.83799],[982886400000,7.84174],[982972800000,7.8545],[983059200000,7.8545],[983145600000,7.8545],[983232000000,7.86714],[983318400000,7.83495],[983404800000,7.86015],[983491200000,7.87184],[983577600000,7.99626],[983664000000,7.99626],[983750400000,7.99626],[983836800000,7.97819],[983923200000,7.95752],[984009600000,7.93759],[984096000000,7.93759],[984182400000,7.93759],[984268800000,7.93759],[984355200000,7.9602],[984441600000,7.93154],[984528000000,7.86545],[984614400000,7.89297],[984700800000,7.81509],[984787200000,7.75545],[984873600000,7.75545],[984960000000,7.75545],[985046400000,7.74711],[985132800000,7.74194],[985219200000,7.74043],[985305600000,7.69708],[985392000000,7.7257],[985478400000,7.7257],[985564800000,7.7257],[985651200000,7.76991],[985737600000,7.77447],[985824000000,7.75114],[985910400000,7.77447],[985996800000,7.72971],[986083200000,7.72971],[986169600000,7.72971],[986256000000,7.69296],[986342400000,7.71788],[986428800000,7.78455],[986515200000,7.78455],[986601600000,7.73392],[986688000000,7.73392],[986774400000,7.73392],[986860800000,7.82846],[986947200000,7.81962],[987033600000,7.75242],[987120000000,7.76714],[987206400000,7.76671],[987292800000,7.76671],[987379200000,7.76671],[987465600000,7.76671],[987552000000,7.77009],[987638400000,7.77009],[987724800000,7.74822],[987811200000,7.80983],[987897600000,null],[987984000000,7.80983],[988070400000,7.80692],[988156800000,7.79396],[988243200000,7.78218],[988329600000,7.81545],[988416000000,7.81368],[988502400000,7.81368],[988588800000,7.81368],[988675200000,7.81368],[988761600000,7.81368],[988848000000,7.81368],[988934400000,7.74927],[989020800000,7.77547],[989107200000,7.77547],[989193600000,7.77547],[989280000000,7.78974],[989366400000,7.76123],[989452800000,7.76123],[989539200000,7.69991],[989625600000,7.69991],[989712000000,7.68365],[989798400000,7.68365],[989884800000,7.66959],[989971200000,7.67317],[990057600000,7.72066],[990144000000,7.73876],[990230400000,7.74041],[990316800000,7.74041],[990403200000,7.74041],[990489600000,7.77985],[990576000000,7.74495],[990662400000,7.69635],[990748800000,7.66191],[990835200000,7.69211],[990921600000,7.69211],[991008000000,7.69211],[991094400000,7.68203],[991180800000,7.67837],[991267200000,7.69311],[991353600000,7.68765],[991440000000,7.67913],[991526400000,7.67913],[991612800000,7.67913],[991699200000,7.67913],[991785600000,7.64108],[991872000000,7.59832],[991958400000,7.48461],[992044800000,7.47804],[992131200000,7.47804],[992217600000,7.47804],[992304000000,7.48845],[992390400000,7.44946],[992476800000,7.44585],[992563200000,7.50432],[992649600000,7.60974],[992736000000,7.60974],[992822400000,7.60974],[992908800000,7.56625],[992995200000,7.5334],[993081600000,7.5115],[993168000000,7.60146],[993254400000,7.60937],[993340800000,7.60937],[993427200000,7.60937],[993513600000,7.61964],[993600000000,7.60935],[993686400000,7.61952],[993772800000,7.61952],[993859200000,7.61952],[993945600000,7.61952],[994032000000,7.61952],[994118400000,7.61952],[994204800000,7.61952],[994291200000,7.54752],[994377600000,7.57179],[994464000000,7.52323],[994550400000,null],[994636800000,null],[994723200000,7.565],[994809600000,7.59152],[994896000000,7.6146],[994982400000,7.55552],[995068800000,7.55552],[995155200000,7.55552],[995241600000,7.55552],[995328000000,7.52351],[995414400000,7.51137],[995500800000,7.57037],[995587200000,7.61667],[995673600000,7.7003],[995760000000,7.7003],[995846400000,7.7003],[995932800000,7.63707],[996019200000,7.60712],[996105600000,7.65464],[996192000000,7.63905],[996278400000,7.64534],[996364800000,7.64534],[996451200000,7.64534],[996537600000,7.63502],[996624000000,7.62981],[996710400000,7.66861],[996796800000,7.6555],[996883200000,7.64539],[996969600000,7.64539],[997056000000,7.64539],[997142400000,7.61085],[997228800000,7.57247],[997315200000,7.57793],[997401600000,null],[997488000000,7.62617],[997574400000,7.62617],[997660800000,7.62617],[997747200000,7.62084],[997833600000,7.60135],[997920000000,7.68541],[998006400000,7.72789],[998092800000,7.72231],[998179200000,7.72231],[998265600000,7.72231],[998352000000,7.7252],[998438400000,7.73737],[998524800000,7.77941],[998611200000,7.71543],[998697600000,7.71543],[998784000000,7.71543],[998870400000,7.71543],[998956800000,7.69342],[999043200000,7.69342],[999129600000,7.76803],[999216000000,7.76266],[999302400000,7.77986],[999388800000,7.77986],[999475200000,7.77986],[999561600000,7.7686],[999648000000,7.73067],[999734400000,7.72207],[999820800000,7.73932],[999907200000,7.75864],[999993600000,7.75864],[1000080000000,7.75864],[1000166400000,7.82964],[1000252800000,7.77885],[1000339200000,7.82977],[1000425600000,7.84559],[1000512000000,7.88359],[1000598400000,7.88359],[1000684800000,7.88359],[1000771200000,7.85439],[1000857600000,7.84337],[1000944000000,7.81945],[1001030400000,7.82224],[1001116800000,7.82224],[1001203200000,7.82224],[1001289600000,7.79467],[1001376000000,7.80534],[1001462400000,7.86128],[1001548800000,7.85963],[1001635200000,7.82609],[1001721600000,7.82609],[1001808000000,7.82609],[1001894400000,7.82609],[1001980800000,7.88055],[1002067200000,7.89236],[1002153600000,7.86075],[1002240000000,7.8708],[1002326400000,7.8708],[1002412800000,7.8708],[1002499200000,7.8708],[1002585600000,7.84568],[1002672000000,7.8175],[1002758400000,7.72868],[1002844800000,7.68328],[1002931200000,7.68328],[1003017600000,7.68328],[1003104000000,7.68328],[1003190400000,7.67512],[1003276800000,7.67512],[1003363200000,7.66119],[1003449600000,7.64287],[1003536000000,7.64287],[1003622400000,7.64287],[1003708800000,7.57959],[1003795200000,7.57959],[1003881600000,7.57959],[1003968000000,7.54689],[1004054400000,7.56792],[1004140800000,7.56792],[1004227200000,7.56792],[1004313600000,7.56792],[1004400000000,7.67731],[1004486400000,7.70411],[1004572800000,7.70411],[1004659200000,7.75436],[1004745600000,7.75436],[1004832000000,7.75436],[1004918400000,7.75436],[1005004800000,7.70658],[1005091200000,7.71706],[1005177600000,7.75673],[1005264000000,7.69355],[1005350400000,7.69355],[1005436800000,7.69355],[1005523200000,7.69355],[1005609600000,7.69472],[1005696000000,7.64266],[1005782400000,7.60225],[1005868800000,7.57161],[1005955200000,7.57161],[1006041600000,7.57161],[1006128000000,7.57161],[1006214400000,7.50959],[1006300800000,7.48247],[1006387200000,7.48697],[1006473600000,7.46253],[1006560000000,7.46253],[1006646400000,7.46253],[1006732800000,7.46253],[1006819200000,7.47488],[1006905600000,7.43513],[1006992000000,7.47569],[1007078400000,7.54076],[1007164800000,7.54076],[1007251200000,7.54076],[1007337600000,7.54076],[1007424000000,7.52047],[1007510400000,7.52709],[1007596800000,7.52709],[1007683200000,7.52769],[1007769600000,7.56386],[1007856000000,7.56386],[1007942400000,7.56386],[1008028800000,7.56419],[1008115200000,7.62718],[1008201600000,7.62718],[1008288000000,7.67948],[1008374400000,7.67948],[1008460800000,7.67948],[1008547200000,7.67948],[1008633600000,7.71255],[1008720000000,7.7108],[1008806400000,7.67607],[1008892800000,7.66483],[1008979200000,7.66483],[1009065600000,7.66483],[1009152000000,7.66483],[1009238400000,7.59928],[1009324800000,7.59928],[1009411200000,7.60071],[1009497600000,7.6739],[1009584000000,7.6739],[1009670400000,7.6739]], 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: [[979516800000, 8.044121],[979516800000, 8.044121],[982195200000, 7.892434],[984614400000, 7.840058],[987292800000, 7.773214],[989884800000, 7.730076],[992563200000, 7.580262],[995155200000, 7.605019],[997833600000, 7.678450],[1000512000000, 7.809797],[1003104000000, 7.707959],[1005782400000, 7.605260],[1008374400000, 7.619557]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });