Cannot hide marks for a pie graph on .aspx page

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Bev
Newbie
Newbie
Posts: 7
Joined: Fri Jan 30, 2004 5:00 am

Cannot hide marks for a pie graph on .aspx page

Post by Bev » Sun May 22, 2005 11:51 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon May 23, 2005 9:29 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jul 05, 2005 10:43 am

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;
}
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply