QRow

Note: STABLE.
This API is reliable and breaking changes are unlikely.

QRow()

Wrapper around a hypercube data row.

Version history

Introduced 2.1

Properties

Name Type Description
dimensions Array.QDimensionCell

Dimension cells

measures Array.QMeasureCell

Measure cells

cells 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>

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?