<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
anychart.onDocumentReady(function () {
// This sample uses 3rd party proj4 component
// that makes it possible to set coordinates
// for the points and labels on the map and
// required for custom projections and grid labels formatting.
// See https://docs.anychart.com/Maps/Map_Projections
var map = anychart.map();
map.geoData(anychart.maps.australia);
// enable crosshair
map.crosshair(true);
// disable y labels
map.crosshair().yLabel(false);
map.axes(true);
map.grids(true);
map.title("Disable Y Label of Crosshair");
map.container("container");
map.draw();
});