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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cannot read the ChartSetting Attributes from report definition

Thread ID:

Created:

Updated:

Platform:

Replies:

113679 Oct 4,2013 04:35 AM UTC Oct 11,2013 01:17 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: OlapChart
ericpoon
Asked On October 4, 2013 04:35 AM UTC

According to your example(http://bi.syncfusion.com/demos/aspnet/OLAPChart/Defining%20Reports/Report%20In%20File/CS/ReportInFile.aspx),
I have tried to change the setting of "<ChartType>Line</ChartType>" from column to line, but it doesn't work. Please comment.

The attachment shows the chart setting of the report definition.


ReportDefinition__ChartStyle_cba2c3ea.zip

Solai A L [Syncfusion]
Replied On October 11, 2013 01:17 PM UTC

Hi Ericpoon,

Please add the following code in your sample to get the chart type modified. The below sample illustrates the same.

Code Snippet[c#]:

void Page_Load(object sender, EventArgs e)

{

this.OlapChart1.ChartSeriesType = (ChartSeriesType)Enum.Parse(typeof(ChartSeriesType), DataManager.CurrentReport.ChartSettings.ChartType);//add this line before DataBind.

DataBind();

}

Sample:http://www.syncfusion.com/downloads/support/directtrac/general/OLAPChartSample-806105540.zip

Please let us know if you have any concerns.

Thanks,

AL.Solai.


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.

Warning Icon 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.Close Icon

;