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

RadChart: DefaultLabelFormat-Attribute not found?

2 Answers 104 Views
Chart
This is a migrated thread and some comments may be shown as answers.
ITC
Top achievements
Rank 1
ITC asked on 26 May 2015, 11:02 AM

Hi Telerik-Team,

I've got a question regarding the DefaultLabelFormat-Attribute of AxisX in RadCharts.

Attached is an image taken from my VS2013 that shows an error being found in XAML.

The message is german and reads "The 'DefaultLabelFormat'-Attribute was not found in Type 'AxisX' ".

Even though the IDE shows this error, compilation works and the Value of DefaultLabelFormat (#VAL)
takes effect.

I wanted to check what this error is related to. For now I'm using the following as a workaround:

this.YearChart.DefaultView.ChartArea.AxisX.DefaultLabelFormat = "#VAL";

Thanks

2 Answers, 1 is accepted

Sort by
0
ITC
Top achievements
Rank 1
answered on 26 May 2015, 11:03 AM
The missing image. (No edit function?)
0
Martin Ivanov
Telerik team
answered on 27 May 2015, 01:01 PM
Hi Rolf,

We are not aware of such error and we were not able to reproduce it on our side. It is possible to be caused by the Visual Studio caching mechanism. You can try to resolve it by manually deleting the "bin" and "obj" local folders of your project and then Clean and Rebuild it. 

Also, keep in mind that RadChart is our old charting control which has many known issues and limitation. If you are just starting to use a chart in your application or the RadChart's integration is not too complex, we recommend you to use the new RadChartView suite instead. The new controls have better implementation and improved performance. Furthermore, they are very flexible and easy to setup. You can read more about the differences between the charts in the RadChart vs. RadChartView help article.

Please give the new suite a try and let me know if it works for you.

Regards,
Martin
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
Chart
Asked by
ITC
Top achievements
Rank 1
Answers by
ITC
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or