Page 1 of 1

Cannot hide marks for a pie graph on .aspx page

Posted: Sun May 22, 2005 11:51 pm
by 8123676
this.pieSeries = new Steema.TeeChart.Styles.Pie();

pieSeries.Marks.Visible = false;

The above line does not seem to work for pie graphs. It works fine for a bar graph.

I am using version 1.1.1452.42972 TeeChart Pro
Is this a problem with the version I have?

Cheers

Posted: Mon May 23, 2005 9:29 am
by narcis
Hi Bev,

Yes, you are right. I've been able to reproduce it here and added this bug to our defect list to be fixed in future releases.

Posted: Tue Jul 05, 2005 10:43 am
by narcis
Hi Bev,

We have found that this is not a bug. The following code works fine (with checkbox's AutoRepaint property set to true):

Code: Select all

static private bool isVisible = false;

private void Page_Load(object sender, System.EventArgs e)
{
WebChart1.Chart[0].FillSampleValues();

isVisible = !isVisible;
Label1.Text = isVisible.ToString();
WebChart1.Chart[0].Marks.Visible = isVisible;
}