measuresAxis
Gets the name of the axis on which the measures are displayed.
Returns
String
—The axis name.
Example - set the measures
<script>
var dataSource = new kendo.data.PivotDataSourceV2({
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: "https://demos.telerik.com/olap/msmdpump.dll"
}
});
var axis = dataSource.measuresAxis();
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(axis); // "rows"
</script>