$(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: [[962409600000,0.1938],[962496000000,0.1938],[962582400000,0.1938],[962668800000,0.194],[962755200000,0.19401],[962841600000,0.19402],[962928000000,0.19416],[963014400000,0.1943],[963100800000,0.1943],[963187200000,0.1943],[963273600000,0.19444],[963360000000,0.19479],[963446400000,0.19494],[963532800000,0.19515],[963619200000,0.1952],[963705600000,0.1952],[963792000000,0.1952],[963878400000,0.19542],[963964800000,0.19556],[964051200000,0.19599],[964137600000,0.19663],[964224000000,0.19678],[964310400000,0.19678],[964396800000,0.19678],[964483200000,0.19678],[964569600000,0.19677],[964656000000,0.19677],[964742400000,0.19635],[964828800000,0.19564],[964915200000,0.19564],[965001600000,0.19564],[965088000000,0.1955],[965174400000,0.19529],[965260800000,0.19542],[965347200000,0.19563],[965433600000,0.19584],[965520000000,0.19584],[965606400000,0.19584],[965692800000,0.19613],[965779200000,0.19612],[965865600000,0.19634],[965952000000,0.19634],[966038400000,0.19641],[966124800000,0.19641],[966211200000,0.19641],[966297600000,0.19641],[966384000000,0.19605],[966470400000,0.19612],[966556800000,0.19612],[966643200000,0.19612],[966729600000,0.19612],[966816000000,0.19612],[966902400000,0.19612],[966988800000,0.19626],[967075200000,0.19626],[967161600000,0.19626],[967248000000,0.19626],[967334400000,0.19626],[967420800000,0.19633],[967507200000,0.19632],[967593600000,0.19598],[967680000000,0.19598],[967766400000,0.19598],[967852800000,0.19598],[967939200000,0.19598],[968025600000,0.19598],[968112000000,0.19598],[968198400000,0.19535],[968284800000,0.19509],[968371200000,0.19537],[968457600000,0.19523],[968544000000,0.19523],[968630400000,0.19523],[968716800000,0.19537],[968803200000,0.19551],[968889600000,0.19551],[968976000000,0.19577],[969062400000,0.19614],[969148800000,0.19614],[969235200000,0.19614],[969321600000,0.19614],[969408000000,0.19586],[969494400000,0.19551],[969580800000,0.19551],[969667200000,0.19573],[969753600000,0.19573],[969840000000,0.19573],[969926400000,0.19531],[970012800000,0.19553],[970099200000,0.1956],[970185600000,0.19603],[970272000000,0.19603],[970358400000,0.19603],[970444800000,0.19603],[970531200000,0.19597],[970617600000,0.19597],[970704000000,0.19561],[970790400000,0.19526],[970876800000,0.19512],[970963200000,0.19512],[971049600000,0.19512],[971136000000,0.19512],[971222400000,0.1947],[971308800000,0.19526],[971395200000,0.19491],[971481600000,0.19495],[971568000000,0.19495],[971654400000,0.19495],[971740800000,0.19544],[971827200000,0.19563],[971913600000,0.19513],[972000000000,0.1947],[972086400000,0.19469],[972172800000,0.19469],[972259200000,0.19469],[972345600000,0.19468],[972432000000,0.19482],[972518400000,0.19482],[972604800000,0.19474],[972691200000,0.19495],[972777600000,0.19495],[972864000000,0.19495],[972950400000,0.19536],[973036800000,0.19543],[973123200000,0.19515],[973209600000,0.1953],[973296000000,0.19551],[973382400000,0.19551],[973468800000,0.19551],[973555200000,0.1955],[973641600000,0.19552],[973728000000,0.19566],[973814400000,0.19615],[973900800000,0.19572],[973987200000,0.19572],[974073600000,0.19572],[974160000000,0.19579],[974246400000,0.1963],[974332800000,0.19651],[974419200000,0.19587],[974505600000,0.19551],[974592000000,0.19551],[974678400000,0.19551],[974764800000,0.19537],[974851200000,0.19536],[974937600000,0.19522],[975024000000,0.19522],[975110400000,0.19501],[975196800000,0.19501],[975283200000,0.19501],[975369600000,0.19515],[975456000000,0.19514],[975542400000,0.19521],[975628800000,0.19493],[975715200000,0.19493],[975801600000,0.19493],[975888000000,0.19493],[975974400000,0.19479],[976060800000,0.19451],[976147200000,0.19464],[976233600000,0.19464],[976320000000,0.1945],[976406400000,0.1945],[976492800000,0.1945],[976579200000,0.1945],[976665600000,0.19451],[976752000000,0.19437],[976838400000,0.19471],[976924800000,0.19435],[977011200000,0.19435],[977097600000,0.19435],[977184000000,0.19448],[977270400000,0.19448],[977356800000,0.1944],[977443200000,0.1944],[977529600000,0.19432],[977616000000,0.19432],[977702400000,0.19432],[977788800000,0.19432],[977875200000,0.19362],[977961600000,0.193],[978048000000,0.19299],[978134400000,0.19299]], 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: [[963619200000, 0.195256],[963619200000, 0.195256],[966297600000, 0.196084],[968976000000, 0.195690],[971568000000, 0.195139],[974246400000, 0.195503],[976838400000, 0.194309]], tooltip: {valueSuffix: ' грн'}, type: 'spline', step: false, color: '#0000CC', threshold: null }] }); });