Interface IChartScrollBar
This interface codifies interaction of scrollbars with the ChartArea.
Namespace: Syncfusion.Windows.Forms.Chart.Scrolling
Assembly: Syncfusion.Chart.Base.dll
Syntax
public interface IChartScrollBar
Properties
ChartArea
Used for storing chart area reference.
Declaration
IChartArea ChartArea { get; set; }
Property Value
Type |
---|
IChartArea |
ChartAxis
Used for storing chart area reference.
Declaration
ChartAxis ChartAxis { get; set; }
Property Value
Type |
---|
ChartAxis |
Dimension
Returns the dimensions of the scroll bar. That is the width for vertical scroll bars and the height for horizontal ones.
Declaration
int Dimension { get; }
Property Value
Type |
---|
System.Int32 |
LargeChange
Gets or sets the ccroll bar's large change value.
Declaration
int LargeChange { get; set; }
Property Value
Type |
---|
System.Int32 |
Maximum
Gets or sets the scroll bar's maximum value.
Declaration
int Maximum { get; set; }
Property Value
Type |
---|
System.Int32 |
Minimum
Gets or sets the scroll bar's minimum value.
Declaration
int Minimum { get; set; }
Property Value
Type |
---|
System.Int32 |
ScrollBar
Returns the Windows scrollbar instance.
Declaration
ScrollBar ScrollBar { get; }
Property Value
Type |
---|
System.Windows.Forms.ScrollBar |
ShouldPosition
Indicates whether the chart should attempt to position this scrollbar.
Declaration
bool ShouldPosition { get; }
Property Value
Type |
---|
System.Boolean |
SmallChange
Gets or sets the scroll bar's small change value.
Declaration
int SmallChange { get; set; }
Property Value
Type |
---|
System.Int32 |
Value
Gets or sets the scroll bar's current value.
Declaration
int Value { get; set; }
Property Value
Type |
---|
System.Int32 |
Visible
Indicates the scroll bar's visibility flag.
Declaration
bool Visible { get; set; }
Property Value
Type |
---|
System.Boolean |
ZoomButton
Gets the zoom button.
Declaration
ChartZoomButton ZoomButton { get; }
Property Value
Type | Description |
---|---|
ChartZoomButton | The zoom button. |
Methods
ResetScrollBar()
Resets the scroll bar.
Declaration
[Obsolete("This method isn't used anymore and might be deleted.")]
void ResetScrollBar()
SetOtherVisible(Boolean)
Informs this scroll bar that it's complementary scroll bar's visibilty has changed.
Declaration
[Obsolete("This method isn't used anymore and might be deleted.")]
void SetOtherVisible(bool b)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | b | Visibility flag. |
SetPosition(Rectangle)
Sets the position of this scroll bar if the scroll bar is contained within the chart.
Declaration
void SetPosition(Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Rectangle | rect | Bounding rectangle. |
Events
ValueChanged
Event that is to be raised when value of scroll bar changes.
Declaration
event ChartScrollBarValueChangedEventHandler ValueChanged
Event Type
Type |
---|
Syncfusion.Windows.Forms.Chart.Scrolling.ChartScrollBarValueChangedEventHandler |
ZoomButtonClicked
Event that is to be raised when the zoom buttom that is associated with this scroll bar is clicked.
Declaration
event ChartScrollBarZoomButtonClickedEventHandler ZoomButtonClicked
Event Type
Type |
---|
Syncfusion.Windows.Forms.Chart.Scrolling.ChartScrollBarZoomButtonClickedEventHandler |