Can scrollbars be hidden/suppressed when changing ZoomFactorX?

Hi,

I would like to hide or suppress the scrollbars that show up when ZoomFactorX is changed. Is this possible?

I have included a screenshot noting what scrollbars I am talking about.

Best regards,
BenT

Syncfusion 4.4.0.51
C# Windows Forms
.NET 2.0

chart-with-scrollbar.zip

1 Reply

AD Administrator Syncfusion Team December 18, 2006 08:02 PM UTC

Hi BenT,

It is possible to hide or suppress the scrollbars that show up when ZoomFactorX is changed by using the following code in Chart Control’s Layout event.

if (this.chartControl1.Controls.Count == 4)
{
// To hide Horizontal ScrollBar
this.chartControl1.Controls[2].Visible = false;

//To hide Vertical ScrolllBar
this.chartControl1.Controls[3].Visible = false;
}

Please find the sample attached for more information.

Hiding ScrollBar Sample

Please let me know if this helps.

Thank you for using Syncfusion products.

Best Regards,
Sureshbabu

Loader.
Up arrow icon