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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ColumnChart_2008 unhandled exception when 3-D enabled

Thread ID:

Created:

Updated:

Platform:

Replies:

79521 Feb 13,2009 03:40 AM UTC Feb 13,2009 03:44 PM UTC WPF 2
loading
Tags: Chart
Anne Kim
Asked On February 13, 2009 03:40 AM UTC

Hi!

I would like to use your 3-D column chart, I am using WPF and C#. When I run your sample code ColumnChart_2008, the initial chart comes up okay, but when I click on the 3-D Enabled check box, I get the following error:

An unhandled exception of type 'System.NullReferenceException' occurred in ColumnChart.exe.

Additional information: Object reference no set to an instance of an object.

If I break, the error is in:

private void checkBox1_Click(object sender, RoutedEventArgs e)
{

if (checkBox1.IsChecked == true)
{
this.Chart1.Areas[0].View3DMode = true;
this.Chart1.Areas[0].Chart3DSettings.ShowBackWall = false;
this.Chart1.Areas[0].Chart3DSettings.BackWallThickness = 0;
this.Chart1.Areas[0].Chart3DSettings.BackWallBackground = Brushes.Transparent;
this.Chart1.Areas[0].Chart3DSettings.BottomWallThickness = 0;
this.Chart1.Areas[0].Chart3DSettings.BottomWallBackground = Brushes.Transparent;
this.Chart1.Areas[0].Chart3DSettings.LeftWallThickness = 0;
this.Chart1.Areas[0].Chart3DSettings.LeftWallBackground = Brushes.Transparent;
}
else
{
this.Chart1.Areas[0].View3DMode = false;

}
}

Chart3DSettings is null.

Is there a bug in the sample program? I am on version 7.103.0.21.

Thanks so much!
Anne


Pavithra J [Syncfusion]
Replied On February 13, 2009 12:27 PM UTC

Hi Anne,

Thanks for your interest in Syncfusion products.

We could reproduce the issue mentioned by you. We have logged a defect report on this.

But as per our company policy we dont provide defect fix related information in Forum.

Since the Forum is considered as a discussion venue for developers and not the primary source for support you can use your Direct Trac account for our further assistance.

Regards,
Pavithra.J


Anne Kim
Replied On February 13, 2009 03:44 PM UTC

Thanks for your note!

I'll send a note to Direct-Trac.

Thanks a lot!
Anne


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

;