Category / Section
How to disable zooming option in Chart inside OLAP Client?
1 min read
You can disable the zooming option in OLAP Chart inside OLAP Client using the following code example.
C#
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { OlapDataManager olapDataManager = new OlapDataManager(@"<Vaild ConnectionString>"); this.OlapClient1.OlapDataManager = olapDataManager; this.OlapClient1.DataBind(); } this.OlapClient1.OlapChart.ForceLabelReadability = false; }
VB
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) If (Not IsPostBack) Then Dim olapDataManager As OlapDataManager = New OlapDataManager("<Vaild ConnectionString>") Me.OlapClient1.OlapDataManager = olapDataManager Me.OlapClient1.DataBind() End If Me.OlapClient1.OlapChart.ForceLabelReadability = False End Sub