Articles in this section

How to change text in axis element builder in ASP.NET WebForms?

In order to change the label text in AxisElementBuilder from "Series" and "Categorical" to "Row" and "Column", you can use the following code example at the sample level.

C#

this.OlapClient1.OlapClientLayout.CategorialAxisHeaderText.Text = "Column";
this.OlapClient1.OlapClientLayout.SeriesAxisHeaderText.Text = "Row";

VB

Me.OlapClient1.OlapClientLayout.CategorialAxisHeaderText.Text = "Column"Me.OlapClient1.OlapClientLayout.SeriesAxisHeaderText.Text = "Row"

As an alternate solution, you can change the label text through the script as well. Refer to the following code example.

JS

<script type="text/javascript">
        $(document).ready(function () {
            $(".headertext:contains('Categorical')").text("Columns");
            $(".headertext:contains('Series')").text("Rows");
            $(".headertext:contains('Slicer')").text("Filters");
        });
</script>

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied