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

rendering bar char with bars not filled in

3 Answers 55 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Bill
Top achievements
Rank 2
Bill asked on 21 Apr 2010, 07:14 PM
I'm using 2010 1 309

Some of  my bar charts are showing with the bars not filled in - just dashed lines around border.
(See file)

Anyone else seen this?

3 Answers, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 26 Apr 2010, 12:53 PM
Hello Bill,

This is actually the Empty Values feature of RadChart. If you have nulls (or DBNull) for certain positions RadChart can approximate their values. You can control the empty values appearance as shown in the above help topic. You can also disable them by setting the EmptyValue.Mode property to EmptyValuesMode.Zero:

RadChart1.Series[0].Appearance.EmptyValue.Mode = Telerik.Charting.Styles.EmtyValuesMode.Zero;


Best regards,
Ves
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.
0
Bill
Top achievements
Rank 2
answered on 10 Jun 2010, 12:47 AM
This worked for a while then stopped when I went to the latest release.
This code goes in the page load handler?

0
Ves
Telerik team
answered on 15 Jun 2010, 10:31 AM
Hello Bill,

We have not made any changes related this functionality. The line of code from my previous reply should be placed in your code after the chart series have been created. Note, that if you databind the chart, it creates new series. In this case you may wire the DataBound event and update the series there.

Best regards,
Ves
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
Chart (Obsolete)
Asked by
Bill
Top achievements
Rank 2
Answers by
Ves
Telerik team
Bill
Top achievements
Rank 2
Share this question
or