$(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: [[1041379200000,8.53842],[1041465600000,8.53842],[1041552000000,8.52528],[1041638400000,8.52528],[1041724800000,8.52528],[1041811200000,8.52528],[1041897600000,8.52528],[1041984000000,8.51952],[1042070400000,8.58034],[1042156800000,8.57182],[1042243200000,8.57182],[1042329600000,8.57182],[1042416000000,8.5648],[1042502400000,8.5648],[1042588800000,8.51549],[1042675200000,8.55532],[1042761600000,8.63052],[1042848000000,8.63052],[1042934400000,8.63052],[1043020800000,8.56238],[1043107200000,8.56238],[1043193600000,8.57401],[1043280000000,8.60166],[1043366400000,8.70572],[1043452800000,8.70572],[1043539200000,8.70572],[1043625600000,8.70572],[1043712000000,8.72102],[1043798400000,8.737],[1043884800000,8.78284],[1043971200000,8.7968],[1044057600000,8.7968],[1044144000000,8.7968],[1044230400000,8.7968],[1044316800000,8.73137],[1044403200000,8.78326],[1044489600000,8.80644],[1044576000000,8.68182],[1044662400000,8.68182],[1044748800000,8.68182],[1044835200000,8.68182],[1044921600000,8.71585],[1045008000000,8.64405],[1045094400000,8.63717],[1045180800000,8.62244],[1045267200000,8.62244],[1045353600000,8.62244],[1045440000000,8.62244],[1045526400000,8.5139],[1045612800000,8.49856],[1045699200000,8.49856],[1045785600000,8.51445],[1045872000000,8.51445],[1045958400000,8.51445],[1046044800000,8.51445],[1046131200000,8.40262],[1046217600000,8.40262],[1046304000000,8.40837],[1046390400000,8.4064],[1046476800000,8.4064],[1046563200000,8.4064],[1046649600000,8.4064],[1046736000000,8.40692],[1046822400000,8.50758],[1046908800000,8.50758],[1046995200000,8.57544],[1047081600000,8.57544],[1047168000000,8.57544],[1047254400000,8.57544],[1047340800000,8.5562],[1047427200000,8.5562],[1047513600000,8.607],[1047600000000,8.48152],[1047686400000,8.48152],[1047772800000,8.48152],[1047859200000,8.43972],[1047945600000,8.43972],[1048032000000,8.30789],[1048118400000,8.30789],[1048204800000,8.34636],[1048291200000,8.34636],[1048377600000,8.34636],[1048464000000,8.38786],[1048550400000,8.40671],[1048636800000,8.39403],[1048723200000,8.39845],[1048809600000,8.39845],[1048896000000,8.39845],[1048982400000,8.39845],[1049068800000,8.33783],[1049155200000,8.42798],[1049241600000,8.41026],[1049328000000,8.33063],[1049414400000,8.35562],[1049500800000,8.35562],[1049587200000,8.35562],[1049673600000,8.35562],[1049760000000,8.27437],[1049846400000,8.30163],[1049932800000,8.35273],[1050019200000,8.36897],[1050105600000,8.36897],[1050192000000,8.36897],[1050278400000,8.38892],[1050364800000,8.38878],[1050451200000,8.38878],[1050537600000,8.40471],[1050624000000,8.42073],[1050710400000,8.42073],[1050796800000,8.42073],[1050883200000,8.42073],[1050969600000,8.40658],[1051056000000,8.40658],[1051142400000,8.41718],[1051228800000,8.46511],[1051315200000,8.46511],[1051401600000,8.46511],[1051488000000,8.46511],[1051574400000,8.46511],[1051660800000,8.51769],[1051747200000,8.51769],[1051833600000,8.51769],[1051920000000,8.51769],[1052006400000,8.51769],[1052092800000,8.51769],[1052179200000,8.5522],[1052265600000,8.58933],[1052352000000,8.56669],[1052438400000,8.56669],[1052524800000,8.56669],[1052611200000,8.56669],[1052697600000,8.56669],[1052784000000,8.59374],[1052870400000,8.57315],[1052956800000,8.61553],[1053043200000,8.67487],[1053129600000,8.67487],[1053216000000,8.67487],[1053302400000,8.71302],[1053388800000,8.70948],[1053475200000,8.70948],[1053561600000,8.72578],[1053648000000,8.73158],[1053734400000,8.73158],[1053820800000,8.73158],[1053907200000,null],[1053993600000,8.73769],[1054080000000,8.77236],[1054166400000,8.7587],[1054252800000,8.76136],[1054339200000,8.76136],[1054425600000,8.76136],[1054512000000,8.76136],[1054598400000,8.67551],[1054684800000,8.71585],[1054771200000,8.69327],[1054857600000,8.88182],[1054944000000,8.88182],[1055030400000,8.88182],[1055116800000,8.88182],[1055203200000,8.88182],[1055289600000,8.83097],[1055376000000,8.8906],[1055462400000,8.88531],[1055548800000,8.88531],[1055635200000,8.88531],[1055721600000,8.88531],[1055808000000,8.88531],[1055894400000,8.96202],[1055980800000,8.95776],[1056067200000,8.92278],[1056153600000,8.92278],[1056240000000,8.92278],[1056326400000,8.92278],[1056412800000,8.85814],[1056499200000,8.88705],[1056585600000,8.87403],[1056672000000,8.87403],[1056758400000,8.87403],[1056844800000,8.87403],[1056931200000,8.87403],[1057017600000,8.81948],[1057104000000,8.8675],[1057190400000,8.85957],[1057276800000,8.90316],[1057363200000,8.90316],[1057449600000,8.90316],[1057536000000,8.79763],[1057622400000,8.74383],[1057708800000,8.74383],[1057795200000,8.6632],[1057881600000,8.72065],[1057968000000,8.72065],[1058054400000,8.72065],[1058140800000,8.66853],[1058227200000,8.582],[1058313600000,8.582],[1058400000000,8.49278],[1058486400000,8.48077],[1058572800000,8.48077],[1058659200000,8.48077],[1058745600000,8.48696],[1058832000000,8.53856],[1058918400000,8.54963],[1059004800000,8.59187],[1059091200000,8.60662],[1059177600000,8.60662],[1059264000000,8.60662],[1059350400000,8.66681],[1059436800000,8.65379],[1059523200000,8.65379],[1059609600000,8.64412],[1059696000000,8.5537],[1059782400000,8.5537],[1059868800000,8.5537],[1059955200000,8.59396],[1060041600000,8.59396],[1060128000000,8.57705],[1060214400000,8.61558],[1060300800000,8.56968],[1060387200000,8.58576],[1060473600000,8.58576],[1060560000000,8.53677],[1060646400000,8.53692],[1060732800000,8.55028],[1060819200000,8.55028],[1060905600000,8.52087],[1060992000000,8.52087],[1061078400000,8.52087],[1061164800000,8.4816],[1061251200000,8.4816],[1061337600000,8.43874],[1061424000000,8.45286],[1061510400000,8.39447],[1061596800000,8.39447],[1061683200000,8.39447],[1061769600000,8.39447],[1061856000000,8.33557],[1061942400000,8.37544],[1062028800000,8.36235],[1062115200000,8.41139],[1062201600000,8.41139],[1062288000000,8.41139],[1062374400000,8.41139],[1062460800000,8.35738],[1062547200000,8.33182],[1062633600000,8.37464],[1062720000000,8.41682],[1062806400000,8.41682],[1062892800000,8.41682],[1062979200000,8.45026],[1063065600000,8.45071],[1063152000000,8.47276],[1063238400000,8.49964],[1063324800000,8.49694],[1063411200000,8.49694],[1063497600000,8.49694],[1063584000000,8.5457],[1063670400000,8.49878],[1063756800000,8.5371],[1063843200000,8.5371],[1063929600000,8.67677],[1064016000000,8.67677],[1064102400000,8.67677],[1064188800000,8.77496],[1064275200000,8.77496],[1064361600000,null],[1064448000000,null],[1064534400000,null],[1064620800000,null],[1064707200000,null],[1064793600000,8.85495],[1064880000000,8.77917],[1064966400000,8.89278],[1065052800000,8.82985],[1065139200000,8.89835],[1065225600000,8.89835],[1065312000000,8.89835],[1065398400000,8.87995],[1065484800000,8.90513],[1065571200000,8.90513],[1065657600000,8.86803],[1065744000000,8.87116],[1065830400000,8.87116],[1065916800000,8.87116],[1066003200000,8.87116],[1066089600000,8.84677],[1066176000000,8.83571],[1066262400000,8.90002],[1066348800000,8.90077],[1066435200000,8.90077],[1066521600000,8.90077],[1066608000000,8.90077],[1066694400000,8.93615],[1066780800000,8.90685],[1066867200000,8.97157],[1066953600000,9.04075],[1067040000000,9.04075],[1067126400000,9.04075],[1067212800000,9.04075],[1067299200000,9.03232],[1067385600000,9.01496],[1067472000000,9.08398],[1067558400000,9.09193],[1067644800000,9.02902],[1067731200000,9.02902],[1067817600000,9.02902],[1067904000000,9.03845],[1067990400000,8.93934],[1068076800000,8.93793],[1068163200000,8.8652],[1068249600000,8.8652],[1068336000000,8.8652],[1068422400000,8.8652],[1068508800000,8.91747],[1068595200000,8.8895],[1068681600000,8.92514],[1068768000000,8.97633],[1068854400000,9.00014],[1068940800000,9.00014],[1069027200000,9.00014],[1069113600000,9.01164],[1069200000000,9.00944],[1069286400000,9.04488],[1069372800000,9.08553],[1069459200000,9.08553],[1069545600000,9.08553],[1069632000000,9.08553],[1069718400000,9.03786],[1069804800000,9.03786],[1069891200000,9.05093],[1069977600000,9.17401],[1070064000000,9.17401],[1070150400000,9.17401],[1070236800000,9.17401],[1070323200000,9.20105],[1070409600000,9.17593],[1070496000000,9.21958],[1070582400000,9.1793],[1070668800000,9.1793],[1070755200000,9.1793],[1070841600000,9.1793],[1070928000000,9.24981],[1071014400000,9.29262],[1071100800000,9.29059],[1071187200000,9.31723],[1071273600000,9.31723],[1071360000000,9.31723],[1071446400000,9.31723],[1071532800000,9.29815],[1071619200000,9.35682],[1071705600000,9.35682],[1071792000000,9.41941],[1071878400000,9.41941],[1071964800000,9.41941],[1072051200000,9.41941],[1072137600000,9.39795],[1072224000000,9.40487],[1072310400000,9.42614],[1072396800000,9.42614],[1072483200000,9.42614],[1072569600000,9.42614],[1072656000000,9.42614],[1072742400000,9.46568]], 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: [[1042588800000, 8.605532],[1042588800000, 8.605532],[1045267200000, 8.611229],[1047686400000, 8.443920],[1050364800000, 8.398489],[1052956800000, 8.640481],[1055635200000, 8.863027],[1058227200000, 8.669015],[1060905600000, 8.492255],[1063584000000, 8.536916],[1066176000000, 8.930545],[1068854400000, 9.007640],[1071446400000, 9.330077]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });