We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

OlapChart - I can't see all level elements in dimension hierarchy on the axis

Thread ID:

Created:

Updated:

Platform:

Replies:

106363 Jan 2,2013 04:36 AM Jan 3,2013 02:23 AM WPF 1
loading
Tags: OlapChart
Administrator [Syncfusion]
Asked On January 2, 2013 04:36 AM

Hello,
I'm testing an olapchart control using the ProductSalesCollection as the item source.
I can't see all level elements in the hierarchy "Geography Hierarchy" (Country,State) on the chart.
Only Country is visible.
My OlapReport is:
        private OlapReport OlapReport()
        {
            OlapReport olapReport = new OlapReport();
            //olapReport.CurrentCubeName = "Adventure Works";

            DimensionElement dimensionElementColumn = new DimensionElement();
            // Columns
            dimensionElementColumn.Name = "Product";
            dimensionElementColumn.Hierarchy = new HierarchyElement() { Name = "Product Hierarchy" };
            // Adding level Element along with Hierarchy Element
            dimensionElementColumn.Hierarchy.LevelElements.Add(new LevelElement() { Name = "Product" });
            //dimensionElementColumn.Hierarchy.LevelElements.Add(new LevelElement() { Name = "Date" });

            // Rows
            DimensionElement dimensionElementRow = new DimensionElement();
            dimensionElementRow.Name = "Geography";
            dimensionElementRow.Hierarchy = new HierarchyElement() { Name = "Geography Hierarchy" };
            dimensionElementRow.Hierarchy.LevelElements.Add(new LevelElement() { Name = "Country" });
            dimensionElementRow.Hierarchy.LevelElements.Add(new LevelElement() { Name = "State" });

            // Sumaries
            SummaryElements summaries = new SummaryElements();
            summaries.Add(new SummaryInfo { Column = "Amount", Key = "Amount", Type = SummaryType.Sum} );

            // Adding the Column Elements
            olapReport.CategoricalElements.Add(dimensionElementColumn);
            // Adding the Measure Elements
            olapReport.CategoricalElements.Add(summaries);
            // Adding the Row Elements
            olapReport.SeriesElements.Add(dimensionElementRow);
            return olapReport;
        }

Is it possible to see all the levels?.


Niranchana R [Syncfusion]
Replied On January 3, 2013 02:23 AM

Hi  Stanislaw Wanatowicz ,

 

We deeply regret for the inconvenience and we would like to let you know that it is not possible to see all the levels, while binding the relational data to itemsource of OlapDataManager through OlapChart.

 

We don’t provide complete support (like drill down) for IEnumerable type data source binding in OlapChart in WPF platform and further development activities are being handled targeting only OLAP data sources.

 

 

Please let me know, if you have any concerns.

 

Regards,

Niranchana R


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;