This can be achieved by adding the OlapChart in a separate user control. The procedure to bind the data to OlapChart is, First the OlapChart’s framework must be loaded with applied templates and then the OlapDatamanager should set and bind the data. So while you add the OlapChart dynamically from the Usercontrol, we have to set the OlapDataManager in the Loaded event of OlapChart (i.e., After the OlapChart is initialized).
Please find the code snippet as below.
This page will automatically be redirected to the sign-in page in 10 seconds.