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

Chart - Change designtime chart series item value on NeedDataSource

2 Answers 73 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Thorsten
Top achievements
Rank 1
Thorsten asked on 27 Mar 2012, 10:55 AM
Hi,

i've created a chart with multiple series on design time ( http://www.telerik.com/help/reporting/buildingdesignpopulate.html)
I also added & styled the items I need for each series this way.

Now up on rendering, I tried to change some of the item values programmatically when the NeedDataSource-event is fired.
Via debugger I can see that each new value is applied properly, but however the chart of the rendering result always contains the design time values, so all of my changes are ignored.

Is this an intended behavior or did I miss something ?

Thanks in advance

Thorsten



2 Answers, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 29 Mar 2012, 02:47 PM
Hello Thorsten,

In the chart there are many things that depend on other. For example you may add labels to the XAxis but you won't see any change, unless you set AutoScale = false (there are other cases too). The best way to help you, would be to open a support ticket, attach a project and describe exactly what you want to achieve. Then we will be able to provide you details on how to accomplish your goals. 

Regards,
Elian
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Thorsten
Top achievements
Rank 1
answered on 02 Apr 2012, 06:44 AM
Hi,

thanks for the response.

Meanwhile I found a workaround that partly solves my problem and at least ends up in the required result.
But I agree, the support ticket would have been the better way.

Tags
General Discussions
Asked by
Thorsten
Top achievements
Rank 1
Answers by
Elian
Telerik team
Thorsten
Top achievements
Rank 1
Share this question
or