Add the elements to an Axis
1 Nov 2019 / 1 minute to read
After creating the element, add the element to the specific axis. The OlapReport contains the axis as CategoricalElements, SeriesElement and SliceElements. By adding the created elements to any of these elements group, you can specify the axis position of the elements.
The following codes will describe the adding of the elements to categorical, series element:
///Adding Column Members
olapReport.CategoricalElements.Add(dimensionElementColumn);
///Adding Measure Element
olapReport.CategoricalElements.Add(measureElementColumn);
///Adding Row Members
olapReport.SeriesElements.Add(dimensionElementRow);
'''Adding Column Members
olapReport.CategoricalElements.Add(dimensionElementColumn)
'''Adding Measure Element
olapReport.CategoricalElements.Add(measureElementColumn)
'''Adding Row Members
olapReport.SeriesElements.Add(dimensionElementRow)
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page