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.
Unfortunately, activation email could not send to your email. Please try again.

ColumnChart_2008 unhandled exception when 3-D enabled

Thread ID:





79521 Feb 12,2009 10:40 PM Feb 13,2009 10:44 AM WPF 2
Tags: Chart
Anne Kim
Asked On February 12, 2009 10:40 PM


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;
this.Chart1.Areas[0].View3DMode = false;


Chart3DSettings is null.

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

Thanks so much!

Pavithra J [Syncfusion]
Replied On February 13, 2009 07:27 AM

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.


Anne Kim
Replied On February 13, 2009 10:44 AM

Thanks for your note!

I'll send a note to Direct-Trac.

Thanks a lot!


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.

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.