We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

UnsetValue error in SfChart3D

Thread ID:

Created:

Updated:

Platform:

Replies:

121000 Nov 2,2015 12:00 PM UTC Nov 4,2015 10:47 AM UTC WPF 3
loading
Tags: SfChart
Theodosia Konstantinidou
Asked On November 2, 2015 12:00 PM UTC

Hello,

Using the 13.1451.0.21 version, I am trying to set the visibility of the numeric axis labels in a SfChart3D depending on their value. I am binding the Interval property in the ViewModel and I have created a converter for the LabelTemplate of the NumericalAxis.

The problem is that when debugging the converter, the expected values are shown, and then there are some unknown values and an "Unable to cast object of type 'MS.Internal.NamedObject' to type 'System.IConvertible'" exception is thrown, because the value of the internal has UnsetValue. Can you provide me with a solution?

I am attaching a sample which you can run to reproduce the problem.

Thanks in advance,


Theodosia




Attachment: Bar_32ff8277.zip

Santhiya Arulsamy [Syncfusion]
Replied On November 3, 2015 12:31 PM UTC

Hi Theodosia,

Thanks for contacting Syncfusion support.

We have analyzed your problem, it is a framework level problem. We have resolved it in an alternate way. Please change the binding as like in below code sample.

[XAML]

<Binding Source="{x:Reference columnChart}" Path="SecondaryAxis.Interval"/>




 

 

Thanks,

Santhiya A.


Theodosia Konstantinidou
Replied On November 3, 2015 12:49 PM UTC

Thank you very much for your help Santhiya. This change solved my issue.


Theodosia

Santhiya Arulsamy [Syncfusion]
Replied On November 4, 2015 10:47 AM UTC

Hi Theodosia,

Thanks for your update.

Please let us know if you have any query.

Thanks,

Santhiya A.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;