anychart.onDocumentReady(function () {
var chart = anychart.scatter();
chart.xAxis(1, {orientation: 'top'});
chart.xAxis(1).scale('log');
var crosshair = chart.crosshair();
var xLabel1 = crosshair.xLabel();
xLabel1.background({fill: '#CFD8DC', stroke: '#455A64'});
xLabel1.fontColor('black');
var xLabel2 = crosshair.xLabel(1);
chart.title('Get and modify X-label by index');
chart.container('container');