<?xml version="1.0" encoding="UTF-8"?>


<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->

<helpdocument version="1.0">
<meta>
<topic id="textsharedguidechart_insertxml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Inserting Charts</title>
<filename>/text/shared/guide/chart_insert.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3153910"><bookmark_value>charts; inserting</bookmark_value>
<bookmark_value>plotting data as charts</bookmark_value>
<bookmark_value>inserting; charts</bookmark_value>
<bookmark_value>spreadsheets; inserting charts</bookmark_value>
<bookmark_value>charts; editing data</bookmark_value>
<bookmark_value>editing; chart data</bookmark_value>
</bookmark><comment>moved many index entries to new schart/01 files</comment>
<paragraph role="heading" id="hd_id3153910" xml-lang="en-US" level="1"><variable id="chart_insert"><link href="text/shared/guide/chart_insert.xhp">Inserting Charts</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3139133" xml-lang="en-US">Different methods exist to start a chart:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="paragraph" id="par_id6772972" xml-lang="en-US">Insert a chart based on data from cells in Calc or Writer.</paragraph>
<paragraph role="paragraph" id="par_id6049684" xml-lang="en-US">These charts update automatically when the source data changes.<comment>currently only in Calc. Writer: bug?</comment></paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id2356944" xml-lang="en-US">Insert a chart with a default data set, and then use the Data Table dialog to enter your own data for that chart.</paragraph>
<paragraph role="paragraph" id="par_id866115" xml-lang="en-US">These charts can be created in Writer, Impress and Draw. <comment>is this "not in Calc" a bug or a design philosophy thing?</comment></paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id3146763" xml-lang="en-US">Copy a chart from Calc or Writer into another document.</paragraph>
<paragraph role="paragraph" id="par_id701315" xml-lang="en-US">These charts are snapshots of the data at the time of copying. They do not change when the source data changes.</paragraph>
</listitem>
</list>
<paragraph role="note" id="par_id4439832" xml-lang="en-US">In Calc, a chart is an object on a sheet that can be copied and pasted on another sheet of the same document, the data series will stay linked to the range on the other sheet. If it is pasted on another Calc document, it has its own chart data table and is no more linked to the original range.</paragraph>
<paragraph role="heading" id="hd_id719931" xml-lang="en-US" level="2">Chart in a Calc spreadsheet</paragraph>
<list type="ordered">
<listitem>
<paragraph role="paragraph" id="par_id3150275" xml-lang="en-US">Click inside the cell range that you want to present in your chart.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id7211218" xml-lang="en-US">Click the <emph>Insert Chart</emph> icon on the <emph>Standard</emph> toolbar.</paragraph>
<paragraph role="paragraph" id="par_id7549363" xml-lang="en-US">You see a chart preview and the Chart Wizard.</paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id9091769" xml-lang="en-US">Follow the instructions in the <link href="text/schart/01/wiz_chart_type.xhp">Chart Wizard</link> to create the chart. </paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3761406" xml-lang="en-US" level="2">Chart in a Writer text document</paragraph>
<paragraph role="paragraph" id="par_id3155066" xml-lang="en-US">In a Writer document, you can insert a chart based on the values in a Writer table. </paragraph>
<list type="ordered">
<listitem>
<paragraph role="listitem" id="par_id428479" xml-lang="en-US">Click inside the Writer table. </paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id7236243" xml-lang="en-US">Choose <emph>Insert - Chart</emph>.</paragraph>
<paragraph role="paragraph" id="par_id6171452" xml-lang="en-US">You see a chart preview and the Chart Wizard.<comment>no live preview - is this a bug?</comment></paragraph>
</listitem>
<listitem>
<paragraph role="paragraph" id="par_id3145419" xml-lang="en-US">Follow the instructions in the <link href="text/schart/01/wiz_chart_type.xhp">Chart Wizard</link> to create the chart. </paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id6436658" xml-lang="en-US" level="2">Chart based on values of its own</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id6944792" xml-lang="en-US">In Writer, Draw or Impress, choose <emph>Insert - Chart</emph> to insert a chart based on default data.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3152960" xml-lang="en-US">You can change the default data values by double-clicking on the chart and then choosing <link href="text/schart/01/03010000.xhp"><emph>View - Chart Data Table</emph></link>.</paragraph>
</listitem>
</list>
<section id="relatedtopics">
<embed href="text/schart/01/wiz_chart_type.xhp#wiz_chart_type"/>
<embed href="text/schart/01/wiz_data_range.xhp#wiz_data_range"/>
<embed href="text/schart/01/wiz_data_series.xhp#wiz_data_series"/>
<embed href="text/schart/01/wiz_chart_elements.xhp#wiz_chart_elements"/>
<embed href="text/shared/guide/chart_axis.xhp#chart_axis"/>
<embed href="text/shared/guide/chart_legend.xhp#chart_legend"/>
<embed href="text/shared/guide/chart_title.xhp#chart_title"/>
<embed href="text/shared/guide/chart_barformat.xhp#chart_barformat"/>
</section>
</body>
</helpdocument>
