Skip to main content

QRow

ON THIS PAGE

QRow

Note: STABLE.

This API is reliable and breaking changes are unlikely.

Class

QRow()

Wrapper around a hypercube data row.

Version history

Introduced 2.1

Properties

dimensions

Type: Array.QDimensionCell

Dimension cells.

measures

Type: Array.QMeasureCell

Measure cells.

cells

Type: Array

All cells, in the order they are defined in the properties.

Example

<div ng-repeat="row in data.rows" class="row"  title="{{row.dimensions[0].qText}}"
   data-value="{{ row.dimensions[0].qElemNumber }}">
   <div class="bar" style="width:{{row.measures[0].getPercent()}}%">
       <span>{{row.dimensions[0].qText}}</span>
   </div>
   <div class="per">
       <span class="{{row.measures[0].getPercent()>95 ? 'over':'' }}">{{row.measures[0].qText}}</span>
   </div>
</div>