Gets the name of the axis on which the measures are displayed.


String—The axis name.

Example - set the measures

var dataSource = new{
  type: "xmla",
  measures: {
      values: ["[Measures].[Internet Order Lines Count]", "[Measures].[Days Current Quarter to Date]"],
      axis: "rows"
  transport: {
    connection: {
        catalog: "Adventure Works DW 2008R2",
        cube: "Adventure Works"
    read: ""

var axis = dataSource.measuresAxis();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(axis); // "rows"
In this article