Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
715
OlapAxis: Expand level "All"
posted

Hi,

I use XamDataChart with SSAS. My Datasource is an AdomdDataSource.

How i can expand the level "All" when the chart display? And i want to hide this line when it's expanded

This line: "All Periods"  ----------->

Thanks for your help.

Parents
  • 138253
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I handled the XamDataChart’s Loaded event and used the DataSourceBase’s ExpandToLevelAsync method in order to expand the hierarchy. I also created a style for the OlapLabelControl and in its Loaded event I hide the “All Sellers”, in the sample, label.

     

    Hope this helps you.

    XamDataChartFlatDataSourceExpand.zip
Reply Children