shivinder Posted May 3, 2007 Report Share Posted May 3, 2007 Hey I have a slight problem. It seems that initally my code was using the inside Color of the chart. Now the inside Color( PrintareaColor) is using the Color gien to the rectangle. I get it is a transparency issue. How do i get over the hump. This is the code i am using. The only difference fromt the 6.2 code is that i was using PaintFlags.Normal. Rectangle R = RectangleP(x, y, width, height, e); SolidBrush B = new SolidBrush(chart.BackColor);//chart.BackColor); SolidBrush B = new SolidBrush(chart.BackColor);//chart.BackColor);e.Graphics.FillRectangle(B, R); B.Dispose(); chart.Paint(e.Graphics, R, ChartFX.WinForms.PaintStyles.None); e.Graphics.PageUnit = GraphicsUnit.Display; PaintStyles.None); e.Graphics.PageUnit = GraphicsUnit.Display; GraphicsUnit.Display; Link to comment Share on other sites More sharing options...
shivinder Posted May 3, 2007 Author Report Share Posted May 3, 2007 sorry got it The PaintStyles should be background Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.