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

exception when add marked zone but data has only zero points

3 Answers 67 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anatoly Chekh
Top achievements
Rank 1
Anatoly Chekh asked on 15 May 2012, 06:12 PM
Hello.

We get exception in any chart (bar, line etc.) when:
1) All data points equal 0
2) Add marked zone with any value (i.e. EndY =10)

Please, try to reproduce, and if you cannot reproduce this - I try to write simple app.

Thanks, Anatoly.

3 Answers, 1 is accepted

Sort by
0
Rosko
Telerik team
answered on 16 May 2012, 03:02 PM
Hello Anatoly,

The team was aware of the bug and was fixed last April. We tested the chart under the specified circumstances with the latest internal build and the issue does not persist anymore. You can download it from your Account -> Manage Products -> Latest Internal Builds.

Kind Regards,
Rosko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
figueiredorj
Top achievements
Rank 1
answered on 18 May 2012, 12:50 PM
Hi. I am not sure but I do believe that my issue is related to this.

I am trying to show in a radchart an sample of data on a xAxis of time. However this amount of data is related to collected data not in a regular period.

When showing data I have set it as zoomable. When I try to display my data on a interval that has no data the chart breaks. Not even setting new data seems to refresh it.

I have downloaded your latest build (Silverlight5_2012_1_0514_dev) and tried it out but no luck.

Thanks in advance
0
Rosko
Telerik team
answered on 23 May 2012, 09:44 AM
Hello Ricardo,

If by the chart breaks you mean a message saying "No data series". We can present two possible solutions.
  1. The first one is to set the RadChart.DefaultView.ChartArea.ZoomScrollSettingsX.MinZoomRange to value which is bigger than the gap. For example, to 0.1, which means that the application cannot zoom to an interval smaller than 1/10 of the whole X Axis. This way the application will not be able to end up only in that gap.
  2. The other possibility is to use the newer control - RadChartView. It has a feature which overcomes this issue.


Greetings,
Rosko
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Chart
Asked by
Anatoly Chekh
Top achievements
Rank 1
Answers by
Rosko
Telerik team
figueiredorj
Top achievements
Rank 1
Share this question
or