Page 1 of 1
ImageTransparent property
Posted: Tue Oct 27, 2009 6:22 pm
by 14045174
On a ChartBrush object you have a property "ImageTransparent". In Win32 it used to make the image, assigned to a brush transparent. I cannot make this work in .NET. Am I missing something?
Re: ImageTransparent property
Posted: Fri Oct 30, 2009 9:03 am
by yeray
Hi UserLS,
I'm not sure to see that. I'm trying to reproduce it with the following code and it seems to work fine:
Code: Select all
Steema.TeeChart.Styles.Bar bar1;
private void InitializeChart()
{
chartController1.Chart = tChart1;
Steema.TeeChart.Themes.BlackIsBackTheme blacktheme = new Steema.TeeChart.Themes.BlackIsBackTheme(tChart1.Chart);
Steema.TeeChart.Themes.TeeChartTheme teecharttheme = new Steema.TeeChart.Themes.TeeChartTheme(tChart1.Chart);
blacktheme.Apply();
bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
bar1.FillSampleValues(6);
tChart1.Draw();
Image b = tChart1.Bitmap;
bar1.Brush.Image = b;
teecharttheme.Apply();
}
private void button1_Click(object sender, EventArgs e)
{
bar1.Brush.ImageTransparent = true;
}
Could you please modify it or send us a simple example project where we can see what you exactly mean? Thanks in advance.
Re: ImageTransparent property
Posted: Fri Oct 30, 2009 4:19 pm
by 14045174
Well, I am not sure about the code... I am just trying to get it work using you chart editor... There is a checkbox to make the image transparent and it does nothing! I cannot expect my users to write code to make anything work! The editor should do it.
Re: ImageTransparent property
Posted: Mon Nov 02, 2009 9:27 am
by 10050769
Hello UserLs,
Please you could say Where can we find the checkbox? because we do not know exactly what checkBox Transparent you are referring
Thanks,