I have an ultraChart that has three data series. The chart types are ScatterChart, set on the same chart Area, using the same x-axis and y-axis. I want to overlay these three series on some specified image(s).
However, no matter what settings I adjust...I CAN NOT make the ultraChart transparent! I need everything to be transparent, except for the data. I've tried setting the following:
this.ultraChart1.Axis.BackColor = Color.Transparent;
this.ultraChart1.BackColor = Color.Transparent;
Along with every setting inside the chart wizard that I can find to be transparent.
Does anyone have any ideas?
I've attached a sample project so you can see exactly what I've done!
Thanks in advance for any help anyone can give to help me solve this issue.
Hello Amy,
I believe that this topic has already been discussed in the following forum thread: http://es.infragistics.com/community/forums/t/31553.aspx.
Please feel free to let me know if a question about our tool set comes up on your mind.
I know you said there is not an answer...but this is not an option!
I've come up with another solutions that others may be interested in...creating a background image from the control you are trying to see through the grid...make it your background image!
SO...set your UltraChart.BackgroundImage
UltraChart.BackgroundImage = CreateBitmap(ControlTryingToView);
And add the subroutine to create a bitmap out of a control:
public Bitmap CreateBitmap(Control control) { //getthe instance of the graphics from the control Graphics g = control.CreateGraphics();
//new bitmap object to save the image Bitmap bmp = new Bitmap(control.Width, control.Height);
//Drawing control to the bitmap control.DrawToBitmap(bmp, new Rectangle(0, 0, control.Width, control.Height));
return bmp; }