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

Charts in Reports

10 Answers 195 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Martin
Top achievements
Rank 1
Martin asked on 18 Apr 2008, 11:01 AM
Hi

I've just upgraded to the final production releases of RadControls for ASP.NET AJAX and Telerik reporting.

I'm having a problem with Charts in Reporting.

My report either binds to a datasource OR in some cases I create the chart programmatically....

Before upgrading, the programmatic charts worked fine but now I simply get a message on the chart saying there IS NO OR EMPTY SERIES.

To try to resolve the problem I've stripped my code down to the following basic code:

    Private Sub Chart1_NeedDataSource(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Chart1.NeedDataSource

        With Me.Chart1
            .ChartTitle.Visible = True
            .ChartTitle.TextBlock.Text = "MY TEST"
            .DefaultType = Charting.ChartSeriesType.Bar

            .Series.RemoveSeries()

            Dim ChartSeries As New Charting.ChartSeries("Test", Charting.ChartSeriesType.Bar)
            ChartSeries.Items.Add(New Charting.ChartSeriesItem(600, "Test"))

            .Series.Add(ChartSeries)


        End With

However I'm still not getting the chart produced...

The code worked fine in the previous release of Reporting.

Binding to a datasource still works OK

Regards

Martin Hoey

10 Answers, 1 is accepted

Sort by
0
Martin
Top achievements
Rank 1
answered on 18 Apr 2008, 12:06 PM

I reverted back to Q3 2007 Reporting SP1
and the code works fine ....

Then moved forward to Q1 2008, the problem reappears...

Regards

Martin

0
Accepted
Chavdar
Telerik team
answered on 18 Apr 2008, 04:15 PM
Hi Martin,

We have managed to reproduce the issue. Currently if you are populating the chart by programmatically creating the series it will no work as expected. We will correct this behavior for the service pack release in a few weeks. For now the only workaround is to populate the chart by setting a valid data source to the DataSource property of the chart and configuring the databound fields.

Hope this helps. Your Telerik points are updated for submitting the problem.

Regards,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Martin
Top achievements
Rank 1
answered on 18 Apr 2008, 04:42 PM
Hi Chavdar

Many thanks for the answer...

Not too concerned about it but nice to know I wasn't imagining it!

Congratulations on the release, I'm well pleased with the new features!

Regards

Martin

0
Maxime
Top achievements
Rank 1
answered on 14 May 2008, 09:23 AM
Hi,

I have the same problem Martin. I am forced to use Q3 2007.

Do you have a release date for 2008 Q1 SP1 ?

Regards,
0
Chavdar
Telerik team
answered on 14 May 2008, 02:36 PM
Hello Seb,

The Q1 2008 SP1 release is scheduled for the beginning of the next week (19-21 May 2008).
 

Sincerely yours,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Martin
Top achievements
Rank 1
answered on 17 May 2008, 02:51 PM
Hi Seb

Good news on the release date, like yourself I prefer to have the option to create my charts programmatically....

Hi Chavdar, does the report web component support RadAJAX updates currently,

if not is it something you are planning for the future....?

Regards

Martin

0
Accepted
Chavdar
Telerik team
answered on 19 May 2008, 03:24 PM
Hello Martin,

The report viewer cannot be updated currently by using AJAX requests. We do plan to include this functionality, but at the moment we cannot give any specific time-frame.

 
All the best,
Chavdar
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Martin
Top achievements
Rank 1
answered on 29 May 2008, 10:20 AM
Thanks Chavdar

Appreciate the answer

Regards

Martin

0
Accepted
Steve
Telerik team
answered on 29 May 2008, 12:02 PM
Hi Martin,

Just a quick follow up - implementing ajax update for the ReportViewer has been included in our TODO list for Q2 2008 and our developers are already working on it.

Thank you for the patience everyone!

Best wishes,
Steve
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Martin
Top achievements
Rank 1
answered on 29 May 2008, 04:37 PM
Many thanks, Steve

Great to know it's on the list...!

Regards

Martin

Tags
General Discussions
Asked by
Martin
Top achievements
Rank 1
Answers by
Martin
Top achievements
Rank 1
Chavdar
Telerik team
Maxime
Top achievements
Rank 1
Steve
Telerik team
Share this question
or