# Insert chart

### Insert a chart

To insert a chart into the speadsheet,

1. Select the cell range that contain the data you wish to use for the chart,
2. Click the Insert Chart icon at the top toolbar,
3. Select a chart Type you wish to insert: Column, Line, Pie, Bar, Area, XY (Scatter), or Stock.

   Note: for Column, Line, Pie, or Bar charts, a 3D format is also available.

After that the chart will be added to the worksheet.

### Adjust the chart settings

Now you can change the inserted chart settings. To change the chart type,

1. select the chart with the mouse,
2. click the Chart Settings icon at the right sidebar,

3. open the Type drop-down list and select the type you need,
4. open the Style drop-down list below and select the style which suits you best.

The selected chart type and style will be changed. If you need to edit the data used to create the chart,

1. click the Show advanced settings link situated at the right-side panel, or choose the Chart Advanced Settings option from the right-click menu, or just double-click the chart,
2. in the opened Chart - Advanced Settings window make all the necessary changes,
3. click the OK button to apply the changes and close the window.

The description of the chart settings that can be edited using the Chart - Advanced Settings window you can find below.

The Type & Data tab allows you to change the chart type as well as the data you wish to use to create a chart.

- Change the chart Type selecting one of the available options: Column, Line, Pie, Bar, Area, XY (Scatter), or Stock.
- Check the selected Data Range and modify it, if necessary, clicking the Select Data button and entering the desired data range in the following format: Sheet1!A1:B4.
- Choose the way to arrange the data. You can either select the Data series to be used on the X axis: in rows or in columns.

The Layout tab allows you to change the layout of chart elements.

- Specify the Chart Title position in regard to your chart selecting the necessary option from the drop-down list:
  - None to not display a chart title,
  - Overlay to overlay and center a title on the plot area,
  - No Overlay to display the title above the plot area.
- Specify the Legend position in regard to your chart selecting the necessary option from the drop-down list:
  - None to not display a legend,
  - Bottom to display the legend and align it to the bottom of the plot area,
  - Top to display the legend and align it to the top of the plot area,
  - Right to display the legend and align it to the right of the plot area,
  - Left to display the legend and align it to the left of the plot area,
  - Left Overlay to overlay and center the legend to the left on the plot area,
  - Right Overlay to overlay and center the legend to the right on the plot area.
- Specify the Data Labels (i.e. text labels that represent exact values of data points) parameters:
  - specify the Data Labels position relative to the data points selecting the necessary option from the drop-down list. The available options vary depending on the selected chart type.
    - For Column/Bar charts, you can choose the following options: None, Center, Inner Bottom, Inner Top, Outer Top.
    - For Line/XY (Scatter)/Stock charts, you can choose the following options: None, Center, Left, Right, Top, Bottom.
    - For Pie charts, you can choose the following options: None, Center, Fit to Width, Inner Top, Outer Top.
    - For Area charts as well as for 3D Column, Line and Bar charts, you can choose the following options: None, Center.
  - select the data you wish to include into your labels checking the corresponding boxes: Series Name, Category Name, Value,
  - enter a character (comma, semicolon etc.) you wish to use for separating several labels into the Data Labels Separator entry field.
- Lines - is used to choose a line style for Line/XY (Scatter) charts. You can choose one of the following options: Straight to use straight lines between data points, Smooth to use smooth curves between data points, or None to not display lines.
- Markers - is used to specify whether the markers should be displayed (if the box is checked) or not (if the box is unchecked) for Line/XY (Scatter) charts.

  Note: the Lines and Markers options are available for Line charts and XY (Scatter) charts only.

- The Axis Settings section allows to specify if you wish to display Horizontal/Vertical Axis or not selecting the Show or Hide option from the drop-down list. You can also specify Horizontal/Vertical Axis Title parameters:
  - Specify if you wish to display the Horizontal Axis Title or not selecting the necessary option from the drop-down list:
    - None to not display a horizontal axis title,
    - No Overlay to display the title below the horizontal axis.
  - Specify the Vertical Axis Title orientation selecting the necessary option from the drop-down list:
    - None to not display a vertical axis title,
    - Rotated to display the title from bottom to top to the left of the vertical axis,
    - Horizontal to display the title horizontally to the left of the vertical axis.
- The Gridlines section allows to specify which of the Horizontal/Vertical Gridlines you wish to display selecting the necessary option from the drop-down list: Major, Minor, or Major and Minor. You can hide the gridlines at all using the None option.

  Note: the Axis Settings and Gridlines sections will be disabled for Pie charts since charts of this type have no axes and gridlines.

Note: the Vertical/Horizontal Axis tabs will be disabled for Pie charts since charts of this type have no axes.

The Vertical Axis tab allows you to change the parameters of the vertical axis also referred to as the values axis or y-axis which displays numeric values. Note that the vertical axis will be the category axis which displays text labels for the Bar charts, therefore in this case the Vertical Axis tab options will correspond to the ones described in the next section. For the XY (Scatter) charts, both axes are value axes.

- The Axis Options section allows to set the following parameters:
  - Minimum Value - is used to specify a lowest value displayed at the vertical axis start. The Auto option is selected by default, in this case the minimum value is calculated automatically depending on the selected data range. You can select the Fixed option from the drop-down list and specify a different value in the entry field on the right.
  - Maximum Value - is used to specify a highest value displayed at the vertical axis end. The Auto option is selected by default, in this case the maximum value is calculated automatically depending on the selected data range. You can select the Fixed option from the drop-down list and specify a different value in the entry field on the right.
  - Axis Crosses - is used to specify a point on the vertical axis where the horizontal axis should cross it. The Auto option is selected by default, in this case the axes intersection point value is calculated automatically depending on the selected data range. You can select the Value option from the drop-down list and specify a different value in the entry field on the right, or set the axes intersection point at the Minimum/Maximum Value on the vertical axis.
  - Display Units - is used to determine a representation of the numeric values along the vertical axis. This option can be useful if you're working with great numbers and wish the values on the axis to be displayed in more compact and readable way (e.g. you can represent 50 000 as 50 by using the Thousands display units). Select desired units from the drop-down list: Hundreds, Thousands, 10 000, 100 000, Millions, 10 000 000, 100 000 000, Billions, Trillions, or choose the None option to return to the default units.
  - Values in reverse order - is used to display values in an opposite direction. When the box is unchecked, the lowest value is at the bottom and the highest value is at the top of the axis. When the box is checked, the values are ordered from top to bottom.
- The Tick Options section allows to adjust the appearance of tick marks on the vertical scale. Major tick marks are the larger scale divisions which can have labels displaying numeric values. Minor tick marks are the scale subdivisions which are placed between the major tick marks and have no labels. Tick marks also define where gridlines can be displayed, if the corresponding option is set at the Layout tab. The Major/Minor Type drop-down lists contain the following placement options:
  - None to not display major/minor tick marks,
  - Cross to display major/minor tick marks on both sides of the axis,
  - In to display major/minor tick marks inside the axis,
  - Out to display major/minor tick marks outside the axis.
- The Label Options section allows to adjust the appearance of major tick mark labels which display values. To specify a Label Position in regard to the vertical axis, select the necessary option from the drop-down list:
  - None to not display tick mark labels,
  - Low to display tick mark labels to the left of the plot area,
  - High to display tick mark labels to the right of the plot area,
  - Next to axis to display tick mark labels next to the axis.

The Horizontal Axis tab allows you to change the parameters of the horizontal axis also referred to as the categories axis or x-axis which displays text labels. Note that the horizontal axis will be the value axis which displays numeric values for the Bar charts, therefore in this case the Horizontal Axis tab options will correspond to the ones described in the previous section. For the XY (Scatter) charts, both axes are value axes.

- The Axis Options section allows to set the following parameters:
  - Axis Crosses - is used to specify a point on the horizontal axis where the vertical axis should cross it. The Auto option is selected by default, in this case the axes intersection point value is calculated automatically depending on the selected data range. You can select the Value option from the drop-down list and specify a different value in the entry field on the right, or set the axes intersection point at the Minimum/Maximum Value (that corresponds to the first and last category) on the horizontal axis.
  - Axis Position - is used to specify where the axis text labels should be placed: On Tick Marks or Between Tick Marks.
  - Values in reverse order - is used to display categories in an opposite direction. When the box is unchecked, categories are displayed from left to right. When the box is checked, the categories are ordered from right to left.
- The Tick Options section allows to adjust the appearance of tick marks on the horizontal scale. Major tick marks are the larger divisions which can have labels displaying category values. Minor tick marks are the smaller divisions which are placed between the major tick marks and have no labels. Tick marks also define where gridlines can be displayed, if the corresponding option is set at the Layout tab. You can adjust the following tick mark parameters:
  - Major/Minor Type - is used to specify the following placement options: None to not display major/minor tick marks, Cross to display major/minor tick marks on both sides of the axis, In to display major/minor tick marks inside the axis, Out to display major/minor tick marks outside the axis.
  - Interval between Marks - is used to specify how many categories should be displayed between two adjacent tick marks.
- The Label Options section allows to adjust the appearance of labels which display categories.
  - Label Position - is used to specify where the labels should be placed in regard to the horizontal axis. Select the necessary option from the drop-down list: None to not display category labels, Low to display category labels at the bottom of the plot area, High to display category labels at the top of the plot area, Next to axis to display category labels next to the axis.
  - Axis Label Distance - is used to specify how closely the labels should be placed to the axis. You can specify the necessary value in the entry field. The more the value you set, the more the distance between the axis and labels is.
  - Interval between Labels - is used to specify how often the labels should be displayed. The Auto option is selected by default, in this case labels are displayed for every category. You can select the Manual option from the drop-down list and specify the necessary value in the entry field on the right. For example, enter 2 to display labels for every other category etc.

The Alternative Text tab allows to specify a Title and Description which will be read to the people with vision or cognitive impairments to help them better understand what information there is in the chart.

### Edit chart elements

To edit the chart Title, select the default text with the mouse and type in your own one instead.

To change the font formatting within text elements, such as the chart title, axes titles, legend entries, data labels etc., select the necessary text element by left-clicking it. Then use icons on the top toolbar to change the font type, style, size, or color.

To delete a chart element, select it by left-clicking and press the Delete key on the keyboard.

You can also rotate 3D charts using the mouse. Left-click within the plot area and hold the mouse button until a blue dashed box appears. Drag the cursor without releasing the mouse button to change the 3D chart orientation.

When the chart is selected, the Shape Settings icon is also available on the right, since a shape is used as a background for the chart. You can click this icon to open the Shape Settings tab at the right sidebar and adjust the shape Fill and Stroke. Note that you cannot change the shape type.

If necessary, you can change the chart size and position.

To delete the inserted chart, click it and press the Delete key.

### Edit sparklines

Sparkline is a little chart that fits in one cell. Sparklines can be useful if you want to visually represent information for each row or column in large data sets. This makes it easier to show trends in multiple data series.

If your spreadsheet contains existing sparklines created using some other application, you can change sparkline properties. To do that, select the cell that contains a sparkline with the mouse and click the Chart Settings icon at the right sidebar. If the selected sparkline is included into a sparkline group, the changes will be applied to all sparklines in the group.

- Use the Type drop-down list to select one of the available sparkline types:
  - Column - this type is similar to a regular Column Chart.
  - Line - this type is similar to a regular Line Chart.
  - Win/Loss - this type is suitable for representing data that include both positive and negative values.
- In the Style section, you can do the following:
  - select the style which suits you best from the Template drop-down list.
  - choose the necessary Color for the sparkline.
  - choose the necessary Line Weight (available for the Line type only).
- The Show section allows to select which sparkline elements you want to highlight so that make them clearly visible. Check the box to the left of the element to be highlighted and select the necessary color clicking the colored box:
  - High Point - to highlight points that represent maximum values,
  - Low Point - to highlight points that represent minimum values,
  - Negative Point - to highlight points that represent negative values,
  - First/Last Point - to highlight the point that represents the first/last value,
  - Markers (available for the Line type only) - to highlight all values.

Click the Show advanced settings link situated at the right-side panel to open the Sparkline - Advanced Settings window.

The Type & Data tab allows you to change the sparkline Type and Style as well as specify the Hidden and Empty cells display settings:

- Show empty cells as - this option allows to control how sparklines are displayed if some cells in a data range are empty. Select the necessary option from the list:
  - Gaps - to display the sparkline with gaps in place of missing data,
  - Zero - to display the sparkline as if the value in an empty cell was zero,
  - Connect data points with line (available for the Line type only) - to ignore empty cells and display a connecting line between data points.
- Show data in hidden rows and columns - check this box if you want to include values from the hidden cells into sparklines.

The Axis Options tab allows you to specify the following Horizontal/Vertical Axis parameters:

- In the Horizontal Axis section, the following parameters are available:
  - Show axis - check this box to display the horizontal axis. If the source data contain negative values, this option helps to display them more vividly.
  - Reverse order - check this box to display data in the reverse sequence.
- In the Vertical Axis section, the following parameters are available:
  - Minimum/Maximum Value
    - Auto for Each - this option is selected by default. It allows to use own minimum/maximum values for each sparkline. The minimum/maximum values are taken from the separate data series that are used to plot each sparkline. The maximum value for each sparkline will be located on the top of the cell, and the minimum value will be on the bottom.

    - Same for All - this option allows to use the same minimum/maximum value for the entire sparkline group. The minimum/maximum values are taken from the whole data range that is used to plot the sparkline group. The maximum/minimum values for each sparkline will be scaled relative to the highest/lowest value within the range. If you select this option, it will be easier to compare several sparklines.

    - Fixed - this option allows to set a custom minimum/maximum value. The values which are lower or higher than the specified ones are not displayed in the sparklines.