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

DocumentBytes is null when LabelStep in chart is greater than 1

5 Answers 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter Voigtmann
Top achievements
Rank 1
Peter Voigtmann asked on 16 Sep 2009, 06:53 AM
Hi Telerik Team,

I have a problem - again :-(.

Since the other one is still not solved I'm confrontated with another problem now.
I have a chart in my report which shows a StackedBar. There are 52 bars. One for every week of the year. So the Xaxis doesn't really look nice because the shown week numbers overlap. So I decided to use the LabelStep property. But whenever I use a value greater than 1 the DocumentBytes of the RenderingResult coming from the RenderReport Method is NULL. When using the value 1 everything is fine.

I have installed the latest version of Telerik Reporting shown in web.config as Version 3.1.9.807.

What do I have to regard when using the LabelStep Property?

Thank you for your help!

5 Answers, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 16 Sep 2009, 11:48 AM
Hello Peter Voigtmann,

We tried a configuration of the chart with two stacked bar series and a LabelStep different than 1 but nothing went wrong. The chart was rendered as expected.

In order to continue researching the problem I would ask you to send us the report definition with the chart with some instructions how to reproduce the issue. You can also check the Errors property of the RenderingResult in order to see exactly what is the exception which prevents the report from being rendered and the stack trace as well. In order to send us any files please open a support ticket as in forums attachments are not available.

All the best,
Chavdar
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Peter Voigtmann
Top achievements
Rank 1
answered on 16 Sep 2009, 02:14 PM
Hi Chavdar,

thanks for reponse. You could do the following to get an error situation:

1. Get the file classlibrary1-modified.zip from the following forum article:
http://www.telerik.com/community/forums/reporting/telerik-reporting/setting-bar-chart-bar-color.aspx

2. When I change the setting for PlotArea -> XAxis -> LabelStep to value 2 the first thing I recognize is, that the designer doesn't show the values 1 and 3 as exprected but only value 1. Additionally the legend disappears.

3. When I now move to the Preview and try to export as PDF there's nothing happening

Hope that helps you to reproduce the situation

Many greetz


I forgot to mention, that the Errors Property also contains no data.


0
Chavdar
Telerik team
answered on 17 Sep 2009, 02:58 PM
Hello Peter Voigtmann,

We have followed your steps but were unable to reproduce the issues. Please, check the report in the attachment.

All the best,
Chavdar
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Peter Voigtmann
Top achievements
Rank 1
answered on 18 Sep 2009, 08:56 AM
Hello again,

thank you for your tests. They made me try uninstalling my Visual Studio 2005 and reinstall it and reinstall Telerik reporting 2009 Q2 SP1. It took 3 hours. But unfortunately it had no effect. Same problem as before. So I changed to a collegue of mine and tried the sample again on his PC. There it nearly worked. So there must be some rest of an elderly installation of Telerik on my PC. I don't know where. In my Windows Software Folder there is just the current version.

But back to the PC of my collegue. If I switch on LabelStep = 2 then it works. But the bad thing is, that on the upper left corner of the chart, all the numbers that were left out in the X-Axis are printed. By the way it's a pitty, that I can't attach any files here. That makes it really hard to explain what the problem is. A picture tells more than a thousand words. Please think about changing that! That would increase the possibility for support enormous.
When I now switch of AutoScale on the X-Axis then it works. But the bad effect then is, that I then have to set the MaxValue Property, to see all my data in the chart. That's no satisfying situation. One problem follows the other.



0
Steve
Telerik team
answered on 18 Sep 2009, 03:31 PM
Hello Peter,

Attachments are not allowed in forum threads, that is why we've asked you to open a support ticket and attach the relevant files there. We would need the report with the chart and resulting PDF file. Please also elaborate on your machine setup: OS - service packs installed and VS exact version.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Peter Voigtmann
Top achievements
Rank 1
Answers by
Chavdar
Telerik team
Peter Voigtmann
Top achievements
Rank 1
Steve
Telerik team
Share this question
or