jamesraynet Posted May 9, 2007 Report Share Posted May 9, 2007 I have some code to add an image to the PlotAreaBackground: bitmap = (Bitmap)Properties.Resources.Modified; // Modified is the image in the Resourceibg = new ImageBackground();ibg.Image = bitmap;ibg.Mode = ImageMode.Watermark;this.chtMain.PlotAreaBackground = ibg; If the graph is displayed in normal mode, I can see the image. However, if I click on the 3D button on the toolbar to change the graph to 3D, then the image disappears. Also, when I print the graph using the toolbar print button, the image never get printed (even without 3D mode). Is it a limitation for ChartFX or there is another way to display image background in 3D graph? Thank you,James Link to comment Share on other sites More sharing options...
Frank Posted May 10, 2007 Report Share Posted May 10, 2007 - Plot area images are not drawn in 3D because the "plot area" becomes a 3D figure. - By default the background of the chart is not drawn when printing. You can change this behaviour by doing: chart.Printer.DrawBackground = true Link to comment Share on other sites More sharing options...
jamesraynet Posted May 10, 2007 Author Report Share Posted May 10, 2007 Thank you for your response.Is there a way to place an image onto 3D figure? Link to comment Share on other sites More sharing options...
Frank Posted May 10, 2007 Report Share Posted May 10, 2007 You can use the Chart background which will put the image behind everything. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.