Category / Section
How to hide Chart or Grid in OLAP Client?
1 min read
This KB illustrates that how to hide Chart or Grid in OLAP Client.
Solution
Hiding the Grid or Chart option in OLAP Client can be achieved through the following the code example.
Displaying Grid only
C#
this.OlapClient1.DisplayMode = DisplayMode.GridOnly;
VB
Me.OlapClient1.DisplayMode = DisplayMode.GridOnly
HTML
<cc1:olapclient ID="OlapClient1" runat="server" height="600px" width="800px" DisplayMode="GridOnly"> </cc1:olapclient>
Displaying Chart only
C#
this.OlapClient1.DisplayMode = DisplayMode.ChartOnly;
VB
Me.OlapClient1.DisplayMode = DisplayMode.ChartOnly
HTML
<cc1:olapclient ID="OlapClient1" runat="server" height="600px" width="800px" DisplayMode="ChartOnly"> </cc1:olapclient>