This is a migrated thread and some comments may be shown as answers.

Report Chart Item

2 Answers 24 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 2
David asked on 29 Oct 2010, 09:49 AM
Hi,

I have a Bar chart on the detail section of the report. I have bound data to this by adding a binding to the DataSource of "=Fields.Field1".

This works ok and i can see the data on the report, but how would I style the bar. Change colour ect.

Thanks

2 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 2
answered on 01 Nov 2010, 04:03 PM
Hi,

Still have the above problem, but also if i bind to a chart this way how would I put this on the footer of the report. i have tried
DataSource of "=Sum(Fields.Field1)" but i just get:
"An error has occurred while processing chart 'chart1' the expression contains object 'Field1' that is not definef in the current context.'"



0
Peter
Telerik team
answered on 03 Nov 2010, 11:21 AM
Hi David ,

In order to style the bars our suggestion is to create a Chart Series, set the series DataYColumn to Item and then you can modify the series Appearance properties.

About your second question - aggregates are not acceptable as datasource because Fields.Field1 returns First(Fields.Field1) thus our suggestion is to aggregate your chart data prior to using it in a datasource component.

Kind regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
David
Top achievements
Rank 2
Answers by
David
Top achievements
Rank 2
Peter
Telerik team
Share this question
or