web-apps/apps/spreadsheeteditor/main/resources/help/en/UsageInstructions/InsertChart.htm

367 lines
34 KiB
HTML
Raw Normal View History

2016-03-11 00:48:53 +00:00
<!DOCTYPE html>
<html>
<head>
2021-08-25 22:43:28 +00:00
<title>Insert charts</title>
2016-03-11 00:48:53 +00:00
<meta charset="utf-8" />
<meta name="description" content="Add a chart to your spreadsheet and adjust its position, size and properties" />
<link type="text/css" rel="stylesheet" href="../editor.css" />
2022-03-21 03:03:46 +00:00
<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
2016-03-11 00:48:53 +00:00
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../search/js/page-search.js"></script>
2016-03-11 00:48:53 +00:00
</head>
<body>
2021-04-30 14:41:43 +00:00
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
<h1>Insert charts</h1>
2017-02-08 11:17:35 +00:00
<h3>Insert a chart</h3>
2021-04-30 14:41:43 +00:00
<p>To insert a chart in the <a href="https://www.onlyoffice.com/spreadsheet-editor.aspx" target="_blank" onclick="onhyperlinkclick(this)"><b>Spreadsheet Editor</b></a>,</p>
2022-05-16 13:43:03 +00:00
<ol>
2022-05-27 14:43:19 +00:00
<li>select the cell range that contain the data you wish to use for the chart,</li>
2017-09-20 08:31:59 +00:00
<li>switch to the <b>Insert</b> tab of the top toolbar,</li>
2022-05-27 14:43:19 +00:00
<li>click the <img alt="Chart icon" src="../images/chart.png" /> <b>Chart</b> icon on the top toolbar,</li>
2017-05-12 12:44:56 +00:00
<li>
2021-04-30 14:41:43 +00:00
select the needed chart type from the available ones:
<details class="details-example">
<summary>Column Charts</summary>
<ul>
<li>Clustered column</li>
<li>Stacked column</li>
<li>100% stacked column</li>
<li>3-D Clustered Column</li>
<li>3-D Stacked Column</li>
<li>3-D 100% stacked column</li>
<li>3-D Column</li>
</ul>
</details>
<details class="details-example">
<summary>Line Charts</summary>
<ul>
<li>Line</li>
<li>Stacked line</li>
<li>100% stacked line</li>
<li>Line with markers</li>
<li>Stacked line with markers</li>
<li>100% stacked line with markers</li>
<li>3-D Line</li>
</ul>
</details>
<details class="details-example">
<summary>Pie Charts</summary>
<ul>
<li>Pie</li>
<li>Doughnut</li>
<li>3-D Pie</li>
</ul>
</details>
<details class="details-example">
<summary>Bar Charts</summary>
<ul>
<li>Clustered bar</li>
<li>Stacked bar</li>
<li>100% stacked bar</li>
<li>3-D clustered bar</li>
<li>3-D stacked bar</li>
<li>3-D 100% stacked bar</li>
</ul>
</details>
<details class="details-example">
<summary>Area Charts</summary>
<ul>
<li>Area</li>
<li>Stacked area</li>
<li>100% stacked area</li>
</ul>
</details>
<details class="details-example">
<summary>Stock Charts</summary>
</details>
<details class="details-example">
<summary>XY (Scatter) Charts</summary>
<ul>
<li>Scatter</li>
<li>Stacked bar</li>
<li>Scatter with smooth lines and markers</li>
<li>Scatter with smooth lines</li>
<li>Scatter with straight lines and markers</li>
<li>Scatter with straight lines</li>
</ul>
</details>
<details class="details-example">
<summary>Combo Charts</summary>
<ul>
<li>Clustered column - line</li>
<li>Clustered column - line on secondary axis</li>
<li>Stacked area - clustered column</li>
<li>Custom combination</li>
</ul>
</details>
2017-05-12 12:44:56 +00:00
</li>
</ol>
<p>After that the chart will be added to the worksheet. </p>
2022-05-16 13:43:03 +00:00
<p class="note"><b>Note</b>: <b>ONLYOFFICE Spreadsheet Editor</b> supports the following types of charts that were created with third-party editors: <b>Pyramid</b>, <b>Bar (Pyramid)</b>, <b>Horizontal/Vertical Cylinders</b>, <b>Horizontal/Vertical Cones</b>. You can open the file containing such a chart and modify it using the available chart editing tools.</p>
2017-05-12 12:44:56 +00:00
<h3>Adjust the chart settings</h3>
2020-08-12 11:25:32 +00:00
<p>Now you can change the settings of the inserted chart. To change the chart type,</p>
2017-05-12 12:44:56 +00:00
<ol>
<li>select the chart with the mouse,</li>
<li>
2022-03-21 03:03:46 +00:00
click the <b>Chart settings</b> <div class = "icon icon-chartsettingsicon"></div> icon on the right sidebar,
2017-05-12 12:44:56 +00:00
<p><img alt="Chart Settings Right-Side Panel window" src="../images/chartsettings.png" /></p>
</li>
<li>open the <b>Style</b> drop-down list below and select the style which suits you best.</li>
2021-04-30 14:41:43 +00:00
<li>open the <b>Change type</b> drop-down list and select the type you need.
2017-05-12 12:44:56 +00:00
</ol>
2020-11-13 13:35:26 +00:00
<p>The selected chart type and style will be changed.</p>
<p>To edit chart data:</p>
2017-05-12 12:44:56 +00:00
<ol>
2020-11-13 13:35:26 +00:00
<li>Click the <b>Select Data</b> button on the right-side panel.</li>
2021-04-30 14:41:43 +00:00
<li>
Use the <b>Chart Data</b> dialog to manage <b>Chart Data Range</b>, <b>Legend Entries (Series)</b>, <b>Horizontal (Category) Axis Label</b> and <b>Switch Row/Column</b>.
2022-06-06 00:38:37 +00:00
<p><img alt="Chart Data window" src="../../../../../../common/main/resources/help/en/images/chartdata.png" /></p>
2016-03-11 00:48:53 +00:00
<ul>
<li>
2021-04-30 14:41:43 +00:00
<b>Chart Data Range</b> - select data for your chart.
2016-03-11 00:48:53 +00:00
<ul>
2021-04-30 14:41:43 +00:00
<li>
2022-03-21 03:03:46 +00:00
Click the <div class = "icon icon-changerange"></div> icon on the right of the <b>Chart data range</b> box to select data range.
2021-04-30 14:41:43 +00:00
<p><img alt="Select Data Range window" src="../images/pivot_selectdata.png" /></p>
</li>
2016-03-11 00:48:53 +00:00
</ul>
</li>
<li>
2021-04-30 14:41:43 +00:00
<b>Legend Entries (Series)</b> - add, edit, or remove legend entries. Type or select series name for legend entries.
2016-03-11 00:48:53 +00:00
<ul>
2021-04-30 14:41:43 +00:00
<li>In <b>Legend Entries (Series)</b>, click <b>Add</b> button.</li>
<li>
2022-03-21 03:03:46 +00:00
In <b>Edit Series</b>, type a new legend entry or click the <div class = "icon icon-changerange"></div> icon on the right of the <b>Select name</b> box.
2022-06-06 00:38:37 +00:00
<p><img alt="Edit Series window" src="../../../../../../common/main/resources/help/en/images/editseries.png" /></p>
2021-04-30 14:41:43 +00:00
</li>
2016-03-11 00:48:53 +00:00
</ul>
</li>
<li>
2021-04-30 14:41:43 +00:00
<b>Horizontal (Category) Axis Labels</b> - change text for category labels.
2016-03-11 00:48:53 +00:00
<ul>
2021-04-30 14:41:43 +00:00
<li><b>In Horizontal (Category) Axis Labels</b>, click <b>Edit</b>.</li>
<li>
2022-03-21 03:03:46 +00:00
In <b>Axis label range</b>, type the labels you want to add or click the <div class = "icon icon-changerange"></div> icon on the right of the <b>Axis label range</b> box to select data range.
2021-04-30 14:41:43 +00:00
<p><img alt="Axis Labels window" src="../images/axislabels.png" /></p>
</li>
2016-03-11 00:48:53 +00:00
</ul>
</li>
2021-04-30 14:41:43 +00:00
<li><b>Switch Row/Column</b> - rearrange the worksheet data that is configured in the chart not in the way that you want it. Switch rows to columns to display data on a different axis. </li>
2016-03-11 00:48:53 +00:00
</ul>
2021-04-30 14:41:43 +00:00
</li>
<li>Click <b>OK</b> button to apply the changes and close the window.</li>
</ol>
<p>Click <b>Show Advanced Settings</b> to change other settings such as <b>Layout</b>, <b>Vertical Axis</b>, <b>Secondary Vertical Axis</b>, <b>Horizontal Axis</b>, <b>Secondary Horizontal Axis</b>, <b>Cell Snapping</b> and <b>Alternative Text</b>.</p>
2022-06-06 00:38:37 +00:00
<p><img alt="Chart - Advanced Settings window" src="../../../../../../common/main/resources/help/en/images/chartsettings_layout.png" /></p>
2021-04-30 14:41:43 +00:00
<p>The <b>Layout</b> tab allows you to change the layout of chart elements.</p>
<ul>
<li>
Specify the <b>Chart Title</b> position in regard to your chart by selecting the necessary option from the drop-down list:
<ul>
<li><b>None</b> to not display a chart title,</li>
<li><b>Overlay</b> to overlay and center the title in the plot area,</li>
<li><b>No Overlay</b> to display the title above the plot area.</li>
</ul>
</li>
<li>
Specify the <b>Legend</b> position in regard to your chart by selecting the necessary option from the drop-down list:
<ul>
<li><b>None</b> to not display the legend,</li>
<li><b>Bottom</b> to display the legend and align it to the bottom of the plot area,</li>
<li><b>Top</b> to display the legend and align it to the top of the plot area,</li>
<li><b>Right</b> to display the legend and align it to the right of the plot area,</li>
<li><b>Left</b> to display the legend and align it to the left of the plot area,</li>
<li><b>Left Overlay</b> to overlay and center the legend to the left in the plot area,</li>
<li><b>Right Overlay</b> to overlay and center the legend to the right in the plot area.</li>
</ul>
</li>
<li>
Specify the <b>Data Labels</b> (i.e. text labels that represent exact values of data points) parameters:<br />
2016-03-11 00:48:53 +00:00
<ul>
<li>
2021-04-30 14:41:43 +00:00
specify the <b>Data Labels</b> position relative to the data points by selecting the necessary option from the drop-down list. The available options vary depending on the selected chart type.
2016-03-11 00:48:53 +00:00
<ul>
2021-04-30 14:41:43 +00:00
<li>For <b>Column/Bar</b> charts, you can choose the following options: <b>None</b>, <b>Center</b>, <b>Inner Bottom</b>, <b>Inner Top</b>, <b>Outer Top</b>.</li>
<li>For <b>Line/XY (Scatter)/Stock</b> charts, you can choose the following options: <b>None</b>, <b>Center</b>, <b>Left</b>, <b>Right</b>, <b>Top</b>, <b>Bottom</b>.</li>
<li>For <b>Pie</b> charts, you can choose the following options: <b>None</b>, <b>Center</b>, <b>Fit to Width</b>, <b>Inner Top</b>, <b>Outer Top</b>.</li>
<li>For <b>Area</b> charts as well as for <b>3D</b> <b>Column</b>, <b>Line</b> and <b>Bar</b> charts, you can choose the following options: <b>None</b>, <b>Center</b>.</li>
2016-03-11 00:48:53 +00:00
</ul>
</li>
2021-04-30 14:41:43 +00:00
<li>select the data you wish to include into your labels checking the corresponding boxes: <b>Series Name</b>, <b>Category Name</b>, <b>Value</b>,</li>
<li>enter a character (comma, semicolon etc.) you wish to use for separating several labels into the <b>Data Labels Separator</b> entry field.</li>
</ul>
</li>
<li><b>Lines</b> - is used to choose a line style for <b>Line/XY (Scatter) charts</b>. You can choose one of the following options: <b>Straight</b> to use straight lines between data points, <b>Smooth</b> to use smooth curves between data points, or <b>None</b> to not display lines.</li>
<li>
<b>Markers</b> - is used to specify whether the markers should be displayed (if the box is checked) or not (if the box is unchecked) for <b>Line/XY (Scatter) charts</b>.
<p class="note"><b>Note</b>: the <b>Lines</b> and <b>Markers</b> options are available for <b>Line charts</b> and <b>XY (Scatter) charts</b> only.</p>
</li>
</ul>
2022-06-06 00:38:37 +00:00
<p><img alt="Chart - Advanced Settings window" src="../../../../../../common/main/resources/help/en/images/chartsettings_verticalaxis.png" /></p>
2021-04-30 14:41:43 +00:00
<p>The <b>Vertical Axis</b> 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 <b>Bar charts</b>, therefore in this case the <b>Vertical Axis</b> tab options will correspond to the ones described in the next section. For the <b>XY (Scatter) charts</b>, both axes are value axes.</p>
<p class="note"><b>Note</b>: the <b>Axis Settings</b> and <b>Gridlines</b> sections will be disabled for <b>Pie charts</b> since charts of this type have no axes and gridlines.</p>
<ul>
<li> select <b>Hide</b> to hide vertical axis in the chart, leave it unchecked to have vertical axis displayed.</li>
<li>
specify <b>Title</b> orientation by selecting the necessary option from the drop-down list:
<ul>
<li><b>None</b> to not display a vertical axis title</li>
<li><b>Rotated</b> to display the title from bottom to top to the left of the vertical axis,</li>
<li><b>Horizontal</b> to display the title horizontally to the left of the vertical axis.</li>
</ul>
</li>
<li><b>Minimum Value</b> - is used to specify the lowest value displayed at the vertical axis start. The <b>Auto</b> option is selected by default, in this case the minimum value is calculated automatically depending on the selected data range. You can select the <b>Fixed</b> option from the drop-down list and specify a different value in the entry field on the right.</li>
<li><b>Maximum Value</b> - is used to specify the highest value displayed at the vertical axis end. The <b>Auto</b> option is selected by default, in this case the maximum value is calculated automatically depending on the selected data range. You can select the <b>Fixed</b> option from the drop-down list and specify a different value in the entry field on the right.</li>
<li><b>Axis Crosses</b> - is used to specify a point on the vertical axis where the horizontal axis should cross it. The <b>Auto</b> 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 <b>Value</b> 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 <b>Minimum/Maximum Value</b> on the vertical axis.</li>
<li><b>Display Units</b> - is used to determine the 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 a more compact and readable way (e.g. you can represent 50 000 as 50 by using the <b>Thousands</b> display units). Select desired units from the drop-down list: <b>Hundreds</b>, <b>Thousands</b>, <b>10 000</b>, <b>100 000</b>, <b>Millions</b>, <b>10 000 000</b>, <b>100 000 000</b>, <b>Billions</b>, <b>Trillions</b>, or choose the <b>None</b> option to return to the default units.</li>
<li><b>Values in reverse order</b> - is used to display values in the 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.</li>
<li>
The <b>Tick Options</b> section allows adjusting 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 on the <b>Layout</b> tab. The <b>Major/Minor Type</b> drop-down lists contain the following placement options:
<ul>
<li><b>None</b> to not display major/minor tick marks,</li>
<li><b>Cross</b> to display major/minor tick marks on both sides of the axis,</li>
<li><b>In</b> to display major/minor tick marks inside the axis,</li>
<li><b>Out</b> to display major/minor tick marks outside the axis.</li>
</ul>
</li>
<li>
The <b>Label Options</b> section allows adjusting the appearance of major tick mark labels which display values. To specify a <b>Label Position</b> in regard to the vertical axis, select the necessary option from the drop-down list:
<ul>
<li><b>None</b> to not display tick mark labels,</li>
<li><b>Low</b> to display tick mark labels to the left of the plot area,</li>
<li><b>High</b> to display tick mark labels to the right of the plot area,</li>
<li><b>Next to axis</b> to display tick mark labels next to the axis.</li>
</ul>
<ul>
2016-03-11 00:48:53 +00:00
<li>
2021-04-30 14:41:43 +00:00
To specify a <b>Label Format</b> click the Label Format button and choose a category as it deems appropriate.
<p>Available label format categories:</p>
2016-03-11 00:48:53 +00:00
<ul>
2021-04-30 14:41:43 +00:00
<li>General</li>
<li>Number</li>
<li>Scientific</li>
<li>Accounting</li>
<li>Currency</li>
<li>Date</li>
<li>Time</li>
<li>Percentage</li>
<li>Fraction</li>
<li>Text</li>
<li>Custom</li>
2016-03-11 00:48:53 +00:00
</ul>
2021-04-30 14:41:43 +00:00
<p>Label format options vary depending on the selected category. For more information on changing number format, go to <a href="../UsageInstructions/ChangeNumberFormat.htm" onclick="onhyperlinkclick(this)">this page</a>.</p>
2016-03-11 00:48:53 +00:00
</li>
<li>
2021-04-30 14:41:43 +00:00
Check <b>Linked to source</b> to keep number formatting from the data source in the chart.
</li>
</ul>
</li>
</ul>
<p>
2022-06-06 00:38:37 +00:00
<img alt="Chart - Advanced Settings window" src="../../../../../../common/main/resources/help/en/images/chartsettings_secondaryaxis1.png" />
2021-04-30 14:41:43 +00:00
</p>
<p class="note"><b>Note</b>: Secondary axes are supported in Combo charts only.</p>
<p><b>Secondary axes</b> are useful in Combo charts when data series vary considerably or mixed types of data are used to plot a chart. Secondary Axes make it easier to read and understand a combo chart.</p>
<p> The <b>Secondary Vertical /Horizontal Axis</b> tab appears when you choose an appropriate data series for a combo chart. All the settings and options on the <b>Secondary Vertical/Horizontal Axis</b> tab are the same as the settings on the Vertical/Horizontal Axis. For a detailed description of the <b>Vertical/Horizontal Axis</b> options, see description above/below.</p>
2022-06-06 00:38:37 +00:00
<p><img alt="Chart - Advanced Settings window" src="../../../../../../common/main/resources/help/en/images/chartsettings_horizontalaxis.png" /></p>
2021-04-30 14:41:43 +00:00
<p>The <b>Horizontal Axis</b> 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 <b>Bar charts</b>, therefore in this case the <b>Horizontal Axis</b> tab options will correspond to the ones described in the previous section. For the <b>XY (Scatter) charts</b>, both axes are value axes.</p>
<ul>
<li> select <b>Hide</b> to hide horizontal axis in the chart, leave it unchecked to have horizontal axis displayed.</li>
<li>
specify <b>Title</b> orientation by selecting the necessary option from the drop-down list:
<ul>
<li><b>None</b> when you dont want to display a horizontal axis title,</li>
<li><b>No Overlay</b>  to display the title below the horizontal axis,</li>
</ul>
</li>
2021-08-25 22:43:28 +00:00
<li><b>Gridlines</b> is used to specify the <b>Horizontal Gridlines</b> to display by selecting the necessary option from the drop-down list: <b>None</b>,  <b>Major</b>, <b>Minor</b>, or <b>Major and Minor</b>.</li>
2021-04-30 14:41:43 +00:00
<li><b>Axis Crosses</b> - is used to specify a point on the horizontal axis where the vertical axis should cross it. The <b>Auto</b> 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 <b>Value</b> 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 <b>Minimum/Maximum Value</b> (that corresponds to the first and last category) on the horizontal axis.</li>
<li><b>Axis Position</b> - is used to specify where the axis text labels should be placed: <b>On Tick Marks</b> or <b>Between Tick Marks</b>.</li>
<li><b>Values in reverse order</b> - is used to display categories in the 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.</li>
<li>
The <b>Tick Options</b> section allows adjusting 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 on the <b>Layout</b> tab. You can adjust the following tick mark parameters:
<ul>
<li><b>Major/Minor Type</b> - is used to specify the following placement options: <b>None</b> to not display major/minor tick marks, <b>Cross</b> to display major/minor tick marks on both sides of the axis, <b>In</b> to display major/minor tick marks inside the axis, <b>Out</b> to display major/minor tick marks outside the axis.</li>
<li><b>Interval between Marks</b> - is used to specify how many categories should be displayed between two adjacent tick marks.</li>
</ul>
</li>
<li>
The <b>Label Options</b> section allows adjusting the appearance of labels which display categories.
<ul>
<li><b>Label Position</b> - 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: <b>None</b> to not display category labels, <b>Low</b> to display category labels at the bottom of the plot area, <b>High</b> to display category labels at the top of the plot area, <b>Next to axis</b> to display category labels next to the axis.</li>
<li><b>Axis Label Distance</b> - 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.</li>
<li><b>Interval between Labels</b> - is used to specify how often the labels should be displayed. The <b>Auto</b> option is selected by default, in this case labels are displayed for every category. You can select the <b>Manual</b> 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.</li>
<li>
To specify a <b>Label Format</b> click the Label Format button and choose a category as it deems appropriate.
<p>Available label format categories:</p>
2016-03-11 00:48:53 +00:00
<ul>
2021-04-30 14:41:43 +00:00
<li>General</li>
<li>Number</li>
<li>Scientific</li>
<li>Accounting</li>
<li>Currency</li>
<li>Date</li>
<li>Time</li>
<li>Percentage</li>
<li>Fraction</li>
<li>Text</li>
<li>Custom</li>
2016-03-11 00:48:53 +00:00
</ul>
2021-04-30 14:41:43 +00:00
<p>Label format options vary depending on the selected category. For more information on changing number format, go to <a href="../UsageInstructions/ChangeNumberFormat.htm" onclick="onhyperlinkclick(this)">this page</a>.</p>
</li>
<li>
Check <b>Linked to source</b> to keep number formatting from the data source in the chart.
2016-03-11 00:48:53 +00:00
</li>
</ul>
2021-04-30 14:41:43 +00:00
</li>
</ul>
2020-02-05 13:47:18 +00:00
<p>The <b>Cell Snapping</b> tab contains the following parameters:</p>
<ul>
2020-08-12 11:25:32 +00:00
<li><b>Move and size with cells</b> - this option allows you to snap the chart to the cell behind it. If the cell moves (e.g. if you insert or delete some rows/columns), the chart will be moved together with the cell. If you increase or decrease the width or height of the cell, the chart will change its size as well.</li>
2020-09-14 12:21:50 +00:00
<li><b>Move but don't size with cells</b> - this option allows to snap the chart to the cell behind it preventing the chart from being resized. If the cell moves, the chart will be moved together with the cell, but if you change the cell size, the chart dimensions remain unchanged.</li>
2020-02-05 13:47:18 +00:00
<li><b>Don't move or size with cells</b> - this option allows to prevent the chart from being moved or resized if the cell position or size was changed.</li>
</ul>
<p><img alt="Chart - Advanced Settings: Cell Snapping" src="../images/chartwindow5.png" /></p>
2020-08-12 11:25:32 +00:00
<p>The <b>Alternative Text</b> tab allows to specify the <b>Title</b> and the <b>Description</b> which will be read to people with vision or cognitive impairments to help them better understand what information the chart contains.</p>
2017-05-12 12:44:56 +00:00
<p><img alt="Chart - Advanced Settings" src="../images/chartwindow4.png" /></p>
2017-02-08 11:17:35 +00:00
<h3>Edit chart elements</h3>
<p>To edit the chart <b>Title</b>, select the default text with the mouse and type in your own one instead.</p>
2020-08-12 11:25:32 +00:00
<p>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 <b>Home</b> tab of the top toolbar to change the font <a href="../UsageInstructions/FontTypeSizeStyle.htm" onclick="onhyperlinkclick(this)">type, style, size, or color</a>.</p>
2022-03-21 03:03:46 +00:00
<p>When the chart is selected, the <b>Shape settings</b> <div class = "icon icon-shape_settings_icon"></div> icon is also available on the right, since the shape is used as a background for the chart. You can click this icon to open the <a href="InsertAutoshapes.htm" onclick="onhyperlinkclick(this)">Shape Settings</a> tab on the right sidebar and adjust the shape <b>Fill</b> and <b>Stroke</b>. Note that you cannot change the shape type.</p>
2019-12-19 08:42:10 +00:00
<p>
2020-08-12 11:25:32 +00:00
Using the <b>Shape Settings</b> tab on the right panel you can not only adjust the chart area itself, but also change the chart elements, such as the <em>plot area</em>, <em>data series</em>, <em>chart title</em>, <em>legend</em>, etc. and apply different fill types to them. Select the chart element by clicking it with the left mouse button and choose the preferred fill type: <em>solid color</em>, <em>gradient</em>, <em>texture</em> or <em>picture</em>, <em>pattern</em>. Specify the fill parameters and set the <em>Opacity</em> level if necessary.
When you select a vertical or horizontal axis or gridlines, the stroke settings are only available on the <b>Shape Settings</b> tab: <em>color</em>, <em>width</em> and <em>type</em>. For more details on how to work with shape colors, fills and stroke, please refer to <a href="../UsageInstructions/InsertAutoshapes.htm" onclick="onhyperlinkclick(this)">this page</a>.
2019-12-19 08:42:10 +00:00
</p>
2020-08-12 11:25:32 +00:00
<p class="note"><b>Note</b>: the <b>Show shadow</b> option is also available on the <b>Shape settings</b> tab, but it is disabled for chart elements.</p>
2022-03-21 03:03:46 +00:00
<p>If you need to resize chart elements, left-click to select the needed element and drag one of 8 white squares <div class = "icon icon-resize_square"></div> located along the perimeter of the element.</p>
<p><div class = "big big-resizeelement"></div></p>
<p>To change the position of the element, left-click on it, make sure your cursor changed to <div class = "icon icon-arrow"></div>, hold the left mouse button and drag the element to the needed position.</p>
<p><div class = "big big-moveelement"></div></p>
2017-02-08 11:17:35 +00:00
<p>To delete a chart element, select it by left-clicking and press the <b>Delete</b> key on the keyboard.</p>
2018-03-30 11:36:43 +00:00
<p>You can also rotate 3D charts using the mouse. Left-click within the plot area and hold the mouse button. Drag the cursor without releasing the mouse button to change the 3D chart orientation.</p>
2022-06-06 00:38:37 +00:00
<p><img alt="3D chart" src="../../../../../../common/main/resources/help/en/images/3dchart.png" /></p>
2017-05-12 12:44:56 +00:00
<p>If necessary, you can <a href="ManipulateObjects.htm" onclick="onhyperlinkclick(this)">change the chart size and position</a>.</p>
<p>To delete the inserted chart, click it and press the <b>Delete</b> key.</p>
2021-08-25 22:43:28 +00:00
<h3>Assign a Macro to a Chart</h3>
<p>You can provide a quick and easy access to a macro within a spreadsheet by assigning a macro to any chart. Once you assign a macro, the chart appears as a button control and you can run the macro whenever you click it.</p>
<p>To assign a macro:</p>
<ul type="circle">
2021-04-30 14:41:43 +00:00
<li>
2021-08-25 22:43:28 +00:00
Right-click the chart to assign a macro to and choose the <b>Assign Macro</b> option from the drop-down menu.
<p><img alt="Assign Macro on Menu" src="../images/assignmacro_rightclickchart.png" /></p>
2017-02-08 11:17:35 +00:00
</li>
2021-08-25 22:43:28 +00:00
<li>The <b>Assign Macro</b> dialogue will open</li>
2021-04-30 14:41:43 +00:00
<li>
2021-08-25 22:43:28 +00:00
Choose a macro from the list, or type in the macro name, and click <b>OK</b> to confirm.
<p><img alt="Assign Macro" src="../images/assignmacro.png" /></p>
2017-02-08 11:17:35 +00:00
</li>
</ul>
2021-08-25 22:43:28 +00:00
<p>Once a macro is assigned, you can still select the chart to perform other operations by left-clicking on chart surface.</p>
<h3>Using sparklines</h3>
<p>ONLYOFFICE Spreadsheet Editor supports <b>Sparklines</b>. <b>Sparklines</b> are small charts that fit into a cell, and are an efficient data visualization tool. For more information about how to create, edit and format sparklines, please see our <a href="../UsageInstructions/InsertSparklines.htm" onclick="onhyperlinkclick(this)"><b>Insert Sparklines</b></a> guidelines.</p>
2021-04-30 14:41:43 +00:00
</div>
2016-03-11 00:48:53 +00:00
</body>
</html>