How to Create Chart Step by Step
The easiest way to create a Graph is with our graph wizard. We have added multiple options to create a graph with the Graph Wizard toolbox item so we strongly encourage you to give it a try. You can also check the standalone designer that supports even more options and tools for creating graphs than Visual Studio.
If you choose not to use the graph wizard and you want to create graphs by yourself our recommendation is to review Structure and Connecting to Data help articles. Then check out the following table that shows the basic configuration for each chart type:
Chart | Series Groups | Categories Groups | Coordinate Systems | Series |
---|---|---|---|---|
Area |
Name: SG1 Grouping: None or {expression} |
Name: CG1 Grouping: Empty or {expression} |
Type: Cartesian Name: CS1 X axis: CategoryScale Y axis: NumericalScale |
Type: AreaSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 Y: {expression} |
Bar |
Name: SG1 Grouping: None or {expression} |
Name: CG1 Grouping: Empty or {expression} |
Type: Cartesian Name: CS1 X axis: NumericalScale Y axis: CategoryScale |
Type: BarSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 X: {expression} |
Column |
Name: SG1 Grouping: None or {expression} |
Name: CG1 Grouping: Empty or {expression} |
Type: Cartesian Name: CS1 X axis: CategoryScale Y axis: NumericalScale |
Type: BarSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 Y: {expression} |
Line |
Name: SG1 Grouping: None or {expression} |
Name: CG1 Grouping: Empty or {expression} |
Type: Cartesian Name: CS1 X axis: CategoryScale Y axis: NumericalScale |
Type: LineSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 Y: {expression} |
Pie |
Name: SG1 Grouping: None or {expression} |
Name: CG1 Grouping: Empty or {expression} |
Type: Polar Name: CS1 X axis: NumericalScale Y axis: CategoryScale |
Type: BarSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 X: {expression} |
Polar |
Name: SG1 Grouping: None or {expression} |
Name: CG1 Grouping: Empty or {expression} |
Type: Polar Name: CS1 X axis: CategoryScale Y axis: NumericalScale |
Type: BarSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 Y: {expression} |
Range |
Name: SG1 Grouping: None or {expression} |
Name: CG1 Grouping: Empty or {expression} |
Type: Cartesian Name: CS1 X axis: CategoryScale Y axis: NumericalScale |
Type: AreaSeries/BarSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 Y: {expression} Y0: {expression} |
Scatter |
Name: SG1 Grouping: {expression} |
Name: CG1 Grouping: None |
Type: Cartesian Name: CS1 X axis: NumericalScale Y axis: NumericalScale |
Type: LineSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 LineStyle.Visible: False X: {expression} Y: {expression} |
Bubble |
Name: SG1 Grouping: {expression} |
Name: CG1 Grouping: None |
Type: Cartesian Name: CS1 X axis: NumericalScale Y axis: NumericalScale |
Type: LineSeries CoordinateSystem: CS1 SeriesGroup: SG1 CategoryGroup: CG1 LineStyle.Visible: False X: {expression} Y: {expression} Size: {expression} |