# Axis Scrolling and Scaling

## Content



In circumstances when you have a substantial amount of X-values or Y-values in your chart data, you can add a scrollbar to the axes. Adding a scrollbar can make the data on the chart easier to read by scrolling through it so you can closely view pieces of data one at a time. The following image has the AxisScrollBar set to the AxisY object:

<br />![](https://cdn.mescius.io/document-site-files/images/70bd33a2-280e-4cc3-a1c0-7b827eceb8aa/imagesext/image9_186.png)

A scrollbar can appear on the X-Axis or Y-Axis simply by assigning the [ScrollBar](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.Axis.ScrollBar.html) property to either the [AxisX](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.Area.AxisX.html) or [AxisY](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.Area.AxisY.html) object and then specifying the [Min](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.AxisScrollBar.Min.html) and [Max](/componentone/api/win/online-chart2d/dotnet-framework-api/C1.Win.C1Chart.4.8/C1.Win.C1Chart.AxisScrollBar.Max.html) values of the chart's data series. Setting the Min and Max values will prevent the scrollbar from changing the Axis values when you are scrolling.

## See Also

[Scrollbar Appearance](/componentone/docs/win/online-chart2d/chartareaandplotarea/axes/axisscrollingandscal/scrollbarappearance)

[Scrollbar Scaling](/componentone/docs/win/online-chart2d/chartareaandplotarea/axes/axisscrollingandscal/scrollbarscaling)

[Axis Scroll Events](/componentone/docs/win/online-chart2d/chartareaandplotarea/axes/axisscrollingandscal/axisscrollevents)