# Getting Started with the Graph Report Item

This guide shows how to add the Telerik Reporting Graph report item to reports and use it to create the major supported Chart types.

After the completion of this guide, you will be able to render different Chart types within a Graph report item.

## Adding the Graph

Depending on the Report Designer tool you are using, the Graph provides the following approaches for including it in your report:

* [Adding the Graph with the Graph Wizard of the Standalone Report Designer](https://www.telerik.com/products/reporting/documentation/report-items/graph/get-started#using-the-standalone-report-designer)
* [Adding or directly inserting the Graph with the Visual Studio Report Designer](https://www.telerik.com/products/reporting/documentation/report-items/graph/get-started#using-the-visual-studio-report-designer)

### Using the Standalone Report Designer

To add a Graph item to your report when working with the [Standalone Report Designer](https://www.telerik.com/products/reporting/documentation/designing-reports/report-designer-tools/desktop-designers/standalone-report-designer/overview), run a new `Bar`, `Column`, `Area`, `Line`, `Pie`, `Scatter`, or `Others` Chart Wizard, or use the ribbon tools:

1. From the ribbon bar, open the **Insert** tab and select the desired Chart type. As a result, the Graph will be placed in the center of the selected container.
2. Follow the steps indicated by the Graph Wizard.
3. When you finish with the prompts, a new Graph report item of the type you selected will appear on the design surface.

### Using the Visual Studio Report Designer

To add a Graph item to your report when working with the [Visual Studio Report Designer](https://www.telerik.com/products/reporting/documentation/designing-reports/report-designer-tools/desktop-designers/visual-studio-report-designer/overview), run the Graph Wizard:

1. Open the Visual Studio toolbox. From the **Telerik Reporting** tab, select **Graph Wizard**.
2. Click the design surface where you want to position the upper-left corner of the Graph. As a result, the Graph Wizard will open.
3. Follow the steps indicated by the Graph Wizard.
4. When you finish with the prompts, a new Graph report item will appear on the design surface.

The Visual Studio Report Designer tool also provides an option for directly inserting the Graph into your report. With this approach, the user is fully responsible for the Graph configuration. The following section explains the required settings.

> The Graph is a [data item](https://www.telerik.com/products/reporting/documentation/designing-reports/connecting-to-data/data-items/overview) and cannot be added to [Page Sections](https://www.telerik.com/products/reporting/documentation/report-items/report-item/page-headers-footers)

## Configuring the Graph Properties

After you have added the Graph report item to your report, you can manually configure its properties by following common steps that are valid for all supported chart types.

1. Open the **Properties** grid which displays all Graph properties. Through the grid, you can manually configure and reconfigure all Graph properties and customize the displayed chart type.

2. Set the **DataSource** property to one of the available [Data Source components](https://www.telerik.com/products/reporting/documentation/designing-reports/connecting-to-data/data-source-components/overview).

   To visualize its data, the Graph requires you to provide a DataSource and bind it to the desired data set. You will use the AdventureWorks sample database which requires an [SqlDataSource component](https://www.telerik.com/products/reporting/documentation/designing-reports/connecting-to-data/data-source-components/sqldatasource-component/overview) that will connect to the database and fetch the requested data in run-time through the specified `DataProvider`. The data provider will use the `ConnectionString` for connecting, and execute the Query or Stored Procedure assigned to the `SelectCommand` property to get the data.

   Now use the default `SqlClient Data Provider` with the named connection string `Telerik.Reporting.Examples.CSharp.Properties.Settings.TelerikConnectionString` from the demo reports that is preset in the configuration file of your designer.

3. Create the chart type you require. Depending on the specific charts you will create, you need to use different SQL Queries that are provided in the dedicated articles. The reason for this is that each Chart type is suitable for displaying different types of data, hence the different database columns that will fit better to different Charts.

   For the specific instructions for creating the chart you require, use the following step-by-step guides:

   * [Creating Bar charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/bar#creating-bar-charts)
   * [Creating Column charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/column#creating-column-charts)
   * [Creating Line charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/line#creating-line-charts)
   * [Creating Area charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/area#creating-area-charts)
   * [Creating Polar charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/polar#creating-polar-charts)
   * [Creating Pie charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/pie#creating-pie-charts)
   * [Creating Scatter charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/scatter#creating-scatter-charts)
   * [Creating Range charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/range#creating-range-charts)
   * [Creating OHLC charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/ohlc#creating-ohlc-charts)

## Next Steps

* [Graph Structure and Elements](https://www.telerik.com/products/reporting/documentation/report-items/graph/structure)
* [Supported Chart Types](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/overview)
* [Graph Class API Reference](https://www.telerik.com/products/reporting/documentation/api/telerik.reporting.graph)
* [Demo Page for Telerik Reporting](https://demos.telerik.com/reporting)
* [Telerik Reporting Knowledge Base](https://www.telerik.com/products/reporting/documentation/knowledge-base)

## See Also

* [Bar Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/bar)
* [Column Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/column)
* [Line Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/line)
* [OHLC Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/ohlc)
* [Pie Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/pie)
* [Polar Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/polar)
* [Range Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/range)
* [Scatter Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/scatter)
* [Sparklines Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/sparklines)
