XY Chart NET 3 Control Reference > Properties > Scrollbars Property |
Use this property to return/set values that determines the chart's horizontal and vertical scrollbar characteristics. Unless its visible property is set to FALSE, the horizontal and vertical scrollbars are displayed when a zoom-in occurs (see Toolbar).
Scrollbars uses the Scrollbar Class set of properties for its characteristics.
[Visual Basic] Property Scrollbars() As C_Scrollbar |
[C#] XYChartNet.XYChartNETCtl.C_Scrollbar XYChartNETCtl.Scrollbars |
[C++] property XYChartNet::XYChartNETCtl::C_Scrollbar ^ XYChartNet::XYChartNETCtl::Scrollbars |
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. Dim bValue As Boolean bValue = XYChartNETCtl1.Scrollbars.HorizontalVisible 'Get horizontal scrollbar visible setting bValue = XYChartNETCtl1.Scrollbars.VerticalVisible 'Get vertical scrollbar visible setting XYChartNETCtl1.Scrollbars.HorizontalVisible = True 'Display the horizontal scrollbar XYChartNETCtl1.Scrollbars.VerticalVisible = False 'Do not display the vertical scrollbar XYChartNETCtl1.Refresh 'Refresh required to update chart with changes made
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. XYChartNETCtl1.Scrollbars.HorizontalVisible = true; //Display the horizontal scrollbar XYChartNETCtl1.Scrollbars.VerticalVisible = false; //Do not display the vertical scrollbar XYChartNETCtl1.Refresh(); //Refresh required to update chart with changes made
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form. XYChartNETCtl1->Scrollbars->HorizontalVisible = true; //Display the horizontal scrollbar XYChartNETCtl1->Scrollbars->VerticalVisible = false; //Do not display the vertical scrollbar XYChartNETCtl1->Refresh(); //Refresh required to update chart with changes made