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. Image for the cookie policy date
close icon

ASP.NET MVC Olap Chart

Greetings,

I'm trying to use the Olap Chart in my project with my own Cube database. I have written the same code in my controller than in your "Olap Chart Demo". The point is that I cannot access my database.

In your example, you wrote

private OlapDataManager GetOlapDataManger(bool isGetRequest)
        {
            var manager = new OlapDataManager(this.GetDataProvider());
            if (isGetRequest)
                manager.SetCurrentReport(CreateOlapReport());
            return manager;
        }
What is the code example for the method GetDataProvider()? It's not specified in the example.
Thank you

2 Replies

FO FORT September 17, 2013 12:19 PM UTC

Someone?


PS Prabu S Syncfusion Team September 18, 2013 12:01 PM UTC

Hi Fort,

 

Thank you for using Syncfusion products.                                

 

We are using the method “this.GetDataProvider()” to get connection string for dashboard samples. So, kindly provide the connection string instead of  “this.GetDataProvider()” method for “OLAPDataManager” only.

 

Please refer the below online UG link which explains how to connect with a cube by using an OlapDataManager.

http://help.syncfusion.com/ug/asp.net%20mvc/olap%20common/default.htm#!documents/42olapdatamanager.htm

 

Find the sample in following location for your convenience.

http://www.syncfusion.com/downloads/support/directtrac/general/OlapClient_MVC_Sample-304886911.zip

 

Please let us know if you have any concerns.        

 

 

Regards,

Prabu S.


Loader.
Live Chat Icon For mobile
Up arrow icon