1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2cdf0e10cSrcweir<helpdocument version="1.0">
3cdf0e10cSrcweir
4*52ac0773SAndrew Rist<!--***********************************************************
5cdf0e10cSrcweir *
6*52ac0773SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
7*52ac0773SAndrew Rist * or more contributor license agreements.  See the NOTICE file
8*52ac0773SAndrew Rist * distributed with this work for additional information
9*52ac0773SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
10*52ac0773SAndrew Rist * to you under the Apache License, Version 2.0 (the
11*52ac0773SAndrew Rist * "License"); you may not use this file except in compliance
12*52ac0773SAndrew Rist * with the License.  You may obtain a copy of the License at
13*52ac0773SAndrew Rist *
14*52ac0773SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
15*52ac0773SAndrew Rist *
16*52ac0773SAndrew Rist * Unless required by applicable law or agreed to in writing,
17*52ac0773SAndrew Rist * software distributed under the License is distributed on an
18*52ac0773SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19*52ac0773SAndrew Rist * KIND, either express or implied.  See the License for the
20*52ac0773SAndrew Rist * specific language governing permissions and limitations
21*52ac0773SAndrew Rist * under the License.
22*52ac0773SAndrew Rist *
23*52ac0773SAndrew Rist ***********************************************************-->
24*52ac0773SAndrew Rist
25*52ac0773SAndrew Rist
26cdf0e10cSrcweir
27cdf0e10cSrcweir
28cdf0e10cSrcweir<meta>
29cdf0e10cSrcweir      <topic id="textschart01wiz_data_rangexhp" indexer="include" status="PUBLISH">
30cdf0e10cSrcweir         <title xml-lang="en-US" id="tit">Chart Wizard - Data Range</title>
31cdf0e10cSrcweir         <filename>/text/schart/01/wiz_data_range.xhp</filename>
32cdf0e10cSrcweir      </topic>
33cdf0e10cSrcweir   </meta>
34cdf0e10cSrcweir   <body>
35cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id2429578"><bookmark_value>data ranges in charts</bookmark_value>
36cdf0e10cSrcweir</bookmark><comment>mw added one entry</comment>
37cdf0e10cSrcweir<paragraph xml-lang="en-US" id="hd_id8313852" role="heading" level="1" l10n="NEW"><variable id="wiz_data_range"><link href="text/schart/01/wiz_data_range.xhp">Chart Wizard - Data Range</link>
38cdf0e10cSrcweir</variable></paragraph>
39cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id8829309" role="paragraph" l10n="NEW">On this page of the <link href="text/schart/01/wiz_chart_type.xhp">Chart Wizard</link> you can select one single source of data range. This range may consist of more than one rectangular range of cells.</paragraph><comment>context menu Data Ranges</comment>
40cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/.uno:DataRanges" id="bm_id7543259" localize="false"/>
41cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id6401867" role="paragraph" l10n="NEW"><ahelp hid="." visibility="hidden">Opens the Data Ranges dialog where you can edit Data Range and Data Series.</ahelp></paragraph>
42cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id2025818" role="tip" l10n="NEW">Use the Chart Wizard - Data Series page if you need more control over the data ranges.</paragraph>
43cdf0e10cSrcweir      <section id="howtoget">
44cdf0e10cSrcweir         <embed href="text/schart/00/00000004.xhp#wiz_ranges"/>
45cdf0e10cSrcweir      </section>
46cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id8466139" role="paragraph" l10n="NEW">This dialog is only available for charts based on a Calc or Writer table.</paragraph>
47cdf0e10cSrcweir      <embed href="text/shared/00/00000001.xhp#ShiftF1"/>
48cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="hd_id1877193" role="heading" level="2" l10n="NEW">To specify a data range</paragraph>
49cdf0e10cSrcweir      <list type="ordered">
50cdf0e10cSrcweir         <listitem>
51cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id5924863" role="paragraph" l10n="NEW">Select the data range. Do one of the following:</paragraph>
52cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id4357432" role="paragraph" l10n="NEW">Enter the data range in the text box.</paragraph>
53cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id5626392" role="paragraph" l10n="NEW">In Calc, an example data range would be "$Sheet1.$B$3:$B$14". Note that a data range may consist of more than one region in a spreadsheet, e.g. "$Sheet1.A1:A5;$Sheet1.D1:D5" is also a valid data range. In Writer, an example data range would be "Table1.A1:E4".</paragraph>
54cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id1363872" role="paragraph" l10n="CHG">In Calc, click <emph>Select data range</emph> to minimize the dialog, then drag over a cell area to select the data range.<comment>Hold down the Ctrl key and drag to select multiple ranges. --- see issue 71894</comment></paragraph>
55cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id6823938" role="paragraph" l10n="NEW">If you want a data range of multiple cell areas that are not next to each other, enter the first range, then manually add a semicolon at the end of the text box, then enter the other ranges. Use a semicolon as delimiter between ranges.</paragraph>
56cdf0e10cSrcweir         </listitem>
57cdf0e10cSrcweir         <listitem>
58cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id1434369" role="paragraph" l10n="NEW">Click one of the options for data series in rows or in columns.</paragraph>
59cdf0e10cSrcweir         </listitem>
60cdf0e10cSrcweir         <listitem>
61cdf0e10cSrcweir            <paragraph xml-lang="en-US" id="par_id7524033" role="paragraph" l10n="NEW">Check whether the data range has labels in the first row or in the first column or both.</paragraph>
62cdf0e10cSrcweir         </listitem>
63cdf0e10cSrcweir      </list>
64cdf0e10cSrcweir      <paragraph xml-lang="en-US" id="par_id5256508" role="paragraph" l10n="NEW">In the preview you can see how the final chart will look.</paragraph><comment>data range text box &amp; shrinky</comment>
65cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/chart2:Edit:TP_RANGECHOOSER:ED_RANGE" id="bm_id2121951" localize="false"/>
66cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/chart2:ImageButton:TP_RANGECHOOSER:IB_RANGE" id="bm_id4829554" localize="false"/>
67cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id379650" role="paragraph" l10n="NEW"><ahelp hid="." visibility="hidden">Enter the data range that you want to include in your chart. To minimize this dialog while you select the data range in Calc, click the <emph>Select data range</emph> button.</ahelp></paragraph><comment>data series in rows</comment>
68cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/chart2:RadioButton:TP_RANGECHOOSER:RB_DATAROWS" id="bm_id2901699" localize="false"/>
69cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id953703" role="paragraph" l10n="NEW"><ahelp hid="." visibility="hidden">Data series get their data from consecutive rows in the selected range. For scatter charts, the first data series will contain x-values for all series. All other data series are used as y-values, one for each series.</ahelp></paragraph><comment>data series in columns</comment>
70cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/chart2:RadioButton:TP_RANGECHOOSER:RB_DATACOLS" id="bm_id5534226" localize="false"/>
71cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id4496597" role="paragraph" l10n="NEW"><ahelp hid="." visibility="hidden">Data series get their data from consecutive columns in the selected range. For scatter charts, the first data column will contain x-values for all series. All other data columns are used as y-values, one for each series.</ahelp></paragraph><comment>first row as label</comment>
72cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/chart2:CheckBox:TP_RANGECHOOSER:CB_FIRST_ROW_ASLABELS" id="bm_id49134" localize="false"/>
73cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id2898953" role="paragraph" l10n="NEW"><ahelp hid="." visibility="hidden">For data series in columns: The first row in the range is used as names for data series. For data series in rows: The first row in the range is used as categories. The remaining rows comprise the data series. If this check box is not selected, all rows are data series.</ahelp></paragraph><comment>first column as label</comment>
74cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="hid/chart2:CheckBox:TP_RANGECHOOSER:CB_FIRST_COLUMN_ASLABELS" id="bm_id8939481" localize="false"/>
75cdf0e10cSrcweir<paragraph xml-lang="en-US" id="par_id7546311" role="paragraph" l10n="NEW"><ahelp hid="." visibility="hidden">For data series in columns: The first column in the range is used as names for data series. For data series in rows: The first column in the range is used as categories. The remaining columns comprise the data columns. If this check box is not selected, all columns are data columns.</ahelp></paragraph>
76cdf0e10cSrcweir      <section id="relatedtopics">
77cdf0e10cSrcweir         <embed href="text/shared/guide/chart_insert.xhp#chart_insert"/>
78cdf0e10cSrcweir         <embed href="text/schart/01/wiz_chart_type.xhp#wiz_chart_type"/>
79cdf0e10cSrcweir         <embed href="text/schart/01/wiz_data_series.xhp#wiz_data_series"/>
80cdf0e10cSrcweir         <embed href="text/schart/01/wiz_chart_elements.xhp#wiz_chart_elements"/>
81cdf0e10cSrcweir      </section>
82cdf0e10cSrcweir   </body>
83cdf0e10cSrcweir</helpdocument>