RadChart: DefaultLabelFormat-Attribute not found?

3 posts, 0 answers
  1. Rolf
    Rolf avatar
    13 posts
    Member since:
    Nov 2013

    Posted 26 May 2015 Link to this post

    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";


  2. Rolf
    Rolf avatar
    13 posts
    Member since:
    Nov 2013

    Posted 26 May 2015 Link to this post

    The missing image. (No edit function?)
  3. Martin Ivanov
    Martin Ivanov avatar
    1410 posts

    Posted 27 May 2015 Link to this post

    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.

    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
Back to Top