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.
Hello,
the sample provided is not working at all with 14.2:
hiding the "bar" is ok, but the "auto expand" hierarchy first level features don't work and show me one only bar instead of a multiple bars.
I need help to expand all levels at first loading of the chart.
Can you provide a full working sample project or show me how to change the previous sample?
Thanks you in advance.
Stefan"] 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.
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.
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
Hi Stefan,
your solution solve my issue. Thks.