# Zoom and pan on charts

Zooming and panning can help you focus on specific areas of a data-dense visualization, such as when you want to highlight a portion of your data or review more granular details.

When the **Zoom** option is enabled for a Cartesian chart, you can zoom in to magnify a portion of that chart. After you zoom into a chart, you can also pan on that chart to view all the data that is present.

## Enable zoom and pan for a chart

> [!IMPORTANT]
> **Important:** The **Zoom** option is not available when [chart cross-filtering](https://docs.cloud.google.com/data-studio/chart-cross-filtering) is enabled.

To enable zooming and panning on a chart, follow these steps:

1. [Edit your report](https://docs.cloud.google.com/data-studio/edit-a-report).
2. Select a chart from among the [supported chart types](https://docs.cloud.google.com/data-studio/zoom-and-pan-on-charts#visualization-support).
3. Scroll to the bottom of the **Setup** tab of the properties panel.
4. In the **Chart interactions** section, select **Zoom**.
5. Navigate to the **Style** tab of the properties panel. Under **Zoom** , select an option:
   - **Click and drag to zoom** : Zoom by clicking and dragging to select the portion of the visualization that you want to magnify.
   - **Scroll to zoom** : Zoom by scrolling with your mouse.
6. Optionally, for the following chart types, select the **Pan/Zoom X-axis only** checkbox to allow zooming and panning only along the X-axis:
   - Area charts
   - Scatter and bubble charts
   - Time series charts

Repeat these steps for each chart for which you want to enable zooming and panning.

### Visualization support for zoom and pan

> Pan and zoom are only available in [view mode](https://docs.cloud.google.com/data-studio/view-mode).

When the **Zoom** option is enabled, the following Cartesian chart types support zooming and panning along the X-axis, the Y-axis, or both the X-axis and the Y-axis:

|---|---|
| **Chart type** | **Axis support for zoom and pan** |
| [Area](https://docs.cloud.google.com/data-studio/area-chart-reference) | Support for pan and zoom along both the X-axis and the Y-axis |
| [Bar and column](https://docs.cloud.google.com/data-studio/bar-chart-and-column-chart-reference) | Support for pan and zoom along the X-axis for bar charts and along the Y-axis for column charts |
| [Line and combo](https://docs.cloud.google.com/data-studio/line-chart-and-combo-chart-reference) | Support for pan and zoom along the Y-axis |
| [Scatter and bubble](https://docs.cloud.google.com/data-studio/scatter-chart-reference) | Support for pan and zoom along both the X-axis and the Y-axis |
| [Time series](https://docs.cloud.google.com/data-studio/time-series-reference) | Support for pan and zoom along both the X-axis and the Y-axis |

## Zoom in and out of a section of a chart

To zoom in and out of a chart:

1. View the chart.
2. You can zoom in on the chart in one of the following ways:

   1. **Click and drag to zoom** : Zoom by clicking and dragging to select the portion of the visualization that you want to magnify.

   2. **Scroll to zoom** : Zoom by scrolling with your mouse. You can then [pan on the chart](https://docs.cloud.google.com/data-studio/zoom-and-pan-on-charts#pan-on-a-section-of-a-chart) to view more data points.

      The zoom options for each chart can be configured in the **Zoom** section of the **Style** tab of the properties panel.
3. To zoom out and reset the visualization to its default view, select the **Reset Zoom** button. If you are zooming in by scrolling, you can also use your cursor to scroll in and out of the chart without having to select **Reset Zoom**.

## Pan on a section of a chart

To pan on a section of a chart:

1. View the chart.
2. Hold down the shift key and drag your cursor to pan on a selection of the chart.
3. To zoom out and reset the chart to its default view, select the **Reset Zoom** button.