summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Seynaeve <github@nosperse.com>2013-04-18 00:21:11 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-04-18 06:26:58 +0200
commit41837c920a92e84ad8bf989f407e60898aa99209 (patch)
treee225190ca5d1a82bac835ccb18214b931a73801d
parent0483b91db6d66dbe320ce8a129988a6ed8940832 (diff)
fdo#61135 Adding stepped lines: changes to help system.
Change-Id: I9b285d4043ab412105d607a8daa6a6b250ba59c2
-rw-r--r--AllLangHelp_schart.mk1
-rw-r--r--source/text/schart/00/00000004.xhp4
-rw-r--r--source/text/schart/01/smooth_line_properties.xhp2
-rw-r--r--source/text/schart/01/stepped_line_properties.xhp53
-rw-r--r--source/text/schart/01/type_line.xhp4
-rw-r--r--source/text/schart/01/type_xy.xhp24
-rw-r--r--source/text/schart/01/wiz_chart_type.xhp6
7 files changed, 86 insertions, 8 deletions
diff --git a/AllLangHelp_schart.mk b/AllLangHelp_schart.mk
index 0ddceff246..dcf29846b2 100644
--- a/AllLangHelp_schart.mk
+++ b/AllLangHelp_schart.mk
@@ -48,6 +48,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,schart,\
helpcontent2/source/text/schart/01/05120000 \
helpcontent2/source/text/schart/01/choose_chart_type \
helpcontent2/source/text/schart/01/smooth_line_properties \
+ helpcontent2/source/text/schart/01/stepped_line_properties \
helpcontent2/source/text/schart/01/three_d_view \
helpcontent2/source/text/schart/01/type_area \
helpcontent2/source/text/schart/01/type_bubble \
diff --git a/source/text/schart/00/00000004.xhp b/source/text/schart/00/00000004.xhp
index d89f7e1363..c6d9c0ea87 100644
--- a/source/text/schart/00/00000004.xhp
+++ b/source/text/schart/00/00000004.xhp
@@ -242,7 +242,9 @@
</caseinline></switchinline> Chart </paragraph>
<paragraph role="paragraph" id="par_id1096530" xml-lang="en-US" l10n="NEW">Double-click a chart, then choose Format - Data Ranges</paragraph>
</section>
-<paragraph role="paragraph" id="par_id733359" xml-lang="en-US" l10n="NEW"><variable id="slp">In the Chart Type dialog of a Line chart or XY chart that displays lines, mark Smooth lines checkbox, then click the Properties button.
+<paragraph role="paragraph" id="par_id733359" xml-lang="en-US" l10n="NEW"><variable id="smlp">In the Chart Type dialog of a Line chart or XY chart that displays lines, choose Smooth in the Lines type dropdown, then click the Properties button.
+</variable></paragraph>
+<paragraph role="paragraph" id="par_id8513095" xml-lang="en-US" l10n="NEW"><variable id="stlp">In the Chart Type dialog of a Line chart or XY chart that displays lines, choose Stepped in the Lines type dropdown, then click the Properties button.
</variable></paragraph>
</body>
</helpdocument>
diff --git a/source/text/schart/01/smooth_line_properties.xhp b/source/text/schart/01/smooth_line_properties.xhp
index f614391396..dfd8701ac0 100644
--- a/source/text/schart/01/smooth_line_properties.xhp
+++ b/source/text/schart/01/smooth_line_properties.xhp
@@ -38,7 +38,7 @@
<paragraph role="heading" id="hd_id3050325" xml-lang="en-US" level="1" l10n="NEW">Smooth Line Properties</paragraph>
<paragraph role="paragraph" id="par_id9421979" xml-lang="en-US" l10n="NEW">In a chart that displays lines (Line type or XY type), you can choose to show curves instead of straight lines. Some options control the properties of those curves.<comment>most possibly these curves are not Bezier curves.</comment></paragraph>
<section id="howtoget">
- <embed href="text/schart/00/00000004.xhp#slp"/>
+ <embed href="text/schart/00/00000004.xhp#stlp"/>
</section>
<embed href="text/shared/00/00000001.xhp#ShiftF1"/>
<paragraph role="heading" id="hd_id1228370" xml-lang="en-US" level="2" l10n="NEW">To change line properties</paragraph>
diff --git a/source/text/schart/01/stepped_line_properties.xhp b/source/text/schart/01/stepped_line_properties.xhp
new file mode 100644
index 0000000000..efec8759b5
--- /dev/null
+++ b/source/text/schart/01/stepped_line_properties.xhp
@@ -0,0 +1,53 @@
+<?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/.
+ -->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textschart01stepped_line_propertiesxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Smooth Line Properties</title>
+<filename>/text/schart/01/stepped_line_properties.xhp</filename>
+</topic>
+<history>
+<created date="2013-04-17T21:30:00">Eric Seynaeve</created>
+<lastedited date="2013-04-17T21:30:00">First version</lastedited>
+</history>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="hid/modules/schart/ui/steppedlinesdlg/SteppedLinesDialog" id="bm_id1738954" localize="false"/>
+<bookmark xml-lang="en-US" branch="index" id="bm_id1467210"><bookmark_value>curves;properties in line charts/XY charts</bookmark_value>
+<bookmark_value>properties;stepped lines in line charts/XY charts</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id5005971" xml-lang="en-US" level="1" l10n="NEW">Stepped Line Properties</paragraph>
+<paragraph role="paragraph" id="par_id9485625" xml-lang="en-US" l10n="NEW">In a chart that displays lines (Line type or XY type), you can choose to connect the points with steps instead of straight lines. Some options control the properties of those steps.</paragraph>
+<section id="howtoget">
+ <embed href="text/schart/00/00000004.xhp#stlp"/>
+</section>
+<paragraph role="heading" id="hd_id9438276" xml-lang="en-US" level="2" l10n="NEW">Different step types</paragraph>
+<list type="unordered">
+<listitem>
+<image id="img_id9078573" src="chart2/res/step_start_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9078573">Start step icon</alt></image>
+<paragraph role="paragraph" id="par_id9047365" xml-lang="en-US" l10n="NEW">Start with horizontal line and step up vertically at the end.</paragraph>
+</listitem>
+<listitem>
+<image id="img_id05495673" src="chart2/res/step_end_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id05495673">End step icon</alt></image>
+<paragraph role="paragraph" id="par_id439028" xml-lang="en-US" l10n="NEW">Start to step up vertically and end with horizontal line.</paragraph>
+</listitem>
+<listitem>
+<image id="img_id9673426" src="chart2/res/step_center_x_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9673426">Center X icon</alt></image>
+<paragraph role="paragraph" id="par_id4069483" xml-lang="en-US" l10n="NEW">Start with horizontal line, step up vertically in the middle of the X values and end with horizontal line.</paragraph>
+</listitem>
+<listitem>
+<image id="img_id56635427" src="chart2/res/step_center_y_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id56635427">Center Y icon</alt></image>
+<paragraph role="paragraph" id="par_id0679473" xml-lang="en-US" l10n="NEW">Start to step up vertically to the middle of the Y values, draw a horizonal line and finish by stepping vertically to the end.</paragraph>
+</listitem>
+</list>
+</body>
+</helpdocument>
diff --git a/source/text/schart/01/type_line.xhp b/source/text/schart/01/type_line.xhp
index 7c0f9954f6..ae3ee126d4 100644
--- a/source/text/schart/01/type_line.xhp
+++ b/source/text/schart/01/type_line.xhp
@@ -27,7 +27,7 @@
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-<lastedited date="2007-01-15T14:40:23">new file</lastedited>
+<lastedited date="2013-04-17T21:30:00">Added stepped lines information.</lastedited>
</history>
</meta>
<body>
@@ -47,7 +47,7 @@
<paragraph role="paragraph" id="par_id8366649" xml-lang="en-US" l10n="NEW">Lines only - this subtype plots only lines.</paragraph>
<paragraph role="paragraph" id="par_id476393" xml-lang="en-US" l10n="NEW">3D lines - this subtype connects points of the same data series by a 3D line.</paragraph>
<paragraph role="paragraph" id="par_id2655720" xml-lang="en-US" l10n="NEW">Mark <emph>Stack series</emph> to arrange the points' y values cumulative above each other. The y values no longer represent absolute values, except for the first column which is drawn at the bottom of the stacked points. If you select <emph>Percent</emph>, the y values are scaled as percentage of the category total.</paragraph>
-<paragraph role="paragraph" id="par_id3682058" xml-lang="en-US" l10n="NEW">Mark <emph>Smooth lines</emph> to draw curves through the points instead of straight lines. Click <emph>Properties</emph> for a <link href="text/schart/01/smooth_line_properties.xhp">dialog</link> to change the curves' properties.</paragraph>
+<paragraph role="paragraph" id="par_id3682058" xml-lang="en-US" l10n="NEW">Choose the <emph>Line type</emph> from the dropdown to select how the points will be connected. You can choose either <emph>Straight</emph> lines, <emph>Smooth</emph> lines to draw curves through the points or <emph>Stepped</emph> lines to draw lines which step from point to point. Click <emph>Properties</emph> to change the properties for the <link href="text/schart/01/smooth_line_properties.xhp">smooth</link> or <link href="text/schart/01/stepped_line_properties.xhp">stepped</link> lines.</paragraph>
<section id="relatedtopics">
<embed href="text/shared/guide/chart_insert.xhp#chart_insert"/>
<embed href="text/schart/01/wiz_chart_type.xhp#wiz_chart_type"/>
diff --git a/source/text/schart/01/type_xy.xhp b/source/text/schart/01/type_xy.xhp
index bfa63b4027..5516f550c1 100644
--- a/source/text/schart/01/type_xy.xhp
+++ b/source/text/schart/01/type_xy.xhp
@@ -77,13 +77,35 @@
<paragraph role="heading" id="hd_id6765953" xml-lang="en-US" level="3" l10n="NEW">3D Lines</paragraph>
<paragraph role="paragraph" id="par_id7422711" xml-lang="en-US" l10n="NEW">The lines are shown like tapes. The data points are not shown by icons. In the finished chart choose <link href="text/schart/01/three_d_view.xhp">3D View</link> to set properties like illumination and angle of view.</paragraph>
<paragraph role="heading" id="hd_id239265" xml-lang="en-US" level="3" l10n="NEW">Smooth Lines</paragraph>
-<paragraph role="paragraph" id="par_id7957396" xml-lang="en-US" l10n="CHG">Mark <emph>Smooth Lines</emph> to draw curves instead of straight line segments.<comment>i80587</comment></paragraph>
+<paragraph role="paragraph" id="par_id7957396" xml-lang="en-US" l10n="CHG">Choose <emph>Smooth</emph> from the <emph>Line type</emph> dropdown to draw curves instead of straight line segments.<comment>i80587</comment></paragraph>
<paragraph role="paragraph" id="par_id1202124" xml-lang="en-US" l10n="NEW">Click <emph>Properties</emph> to set details for the curves.</paragraph>
<paragraph role="paragraph" id="par_id5989562" xml-lang="en-US" l10n="NEW">
<emph>Cubic Spline</emph> interpolates your data points with polynomials of degree 3. The transitions between the polynomial pieces are smooth, having the same slope and curvature. </paragraph>
<paragraph role="paragraph" id="par_id6128421" xml-lang="en-US" l10n="NEW">The <emph>Resolution</emph> determines how many line segments are calculated to draw a piece of polynomial between two data points. You can see the intermediate points if you click any data point.</paragraph>
<paragraph role="paragraph" id="par_id9280373" xml-lang="en-US" l10n="NEW">
<emph>B-Spline</emph> uses a parametric, interpolating B-spline curve. Those curves are built piecewise from polynomials. The <emph>Degree of polynomials</emph> sets the degree of these polynomials.</paragraph>
+<paragraph role="heading" id="hd_id5031251" xml-lang="en-US" level="3" l10n="NEW">Stepped Lines</paragraph>
+<paragraph role="paragraph" id="par_id1449076" xml-lang="en-US" l10n="CHG">Choose <emph>Stepped</emph> from the <emph>Line type</emph> dropdown to draw lines which step from point to point instead of straight line segments.</paragraph>
+<paragraph role="paragraph" id="par_id1202124" xml-lang="en-US" l10n="NEW">Click <emph>Properties</emph> to set details for the curves.</paragraph>
+<paragraph role="paragraph" id="par_id9811476" xml-lang="en-US" l10n="NEW">There are 4 different step types:</paragraph>
+<list type="unordered">
+<listitem>
+<image id="img_id9078573" src="chart2/res/step_start_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9078573">Start step icon</alt></image>
+<paragraph role="paragraph" id="par_id9047365" xml-lang="en-US" l10n="NEW">Start with horizontal line and step up vertically at the end.</paragraph>
+</listitem>
+<listitem>
+<image id="img_id05495673" src="chart2/res/step_end_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id05495673">End step icon</alt></image>
+<paragraph role="paragraph" id="par_id439028" xml-lang="en-US" l10n="NEW">Start to step up vertically and end with horizontal line.</paragraph>
+</listitem>
+<listitem>
+<image id="img_id9673426" src="chart2/res/step_center_x_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id9673426">Center X icon</alt></image>
+<paragraph role="paragraph" id="par_id4069483" xml-lang="en-US" l10n="NEW">Start with horizontal line, step up vertically in the middle of the X values and end with horizontal line.</paragraph>
+</listitem>
+<listitem>
+<image id="img_id56635427" src="chart2/res/step_center_y_30.png" width="30px" height="30px"><alt xml-lang="en-US" id="alt_id56635427">Center Y icon</alt></image>
+<paragraph role="paragraph" id="par_id0679473" xml-lang="en-US" l10n="NEW">Start to step up vertically to the middle of the Y values, draw a horizonal line and finish by stepping vertically to the end.</paragraph>
+</listitem>
+</list>
<section id="relatedtopics">
<embed href="text/shared/guide/chart_insert.xhp#chart_insert"/>
<embed href="text/schart/01/wiz_chart_type.xhp#wiz_chart_type"/>
diff --git a/source/text/schart/01/wiz_chart_type.xhp b/source/text/schart/01/wiz_chart_type.xhp
index a534d545dd..78cd742b71 100644
--- a/source/text/schart/01/wiz_chart_type.xhp
+++ b/source/text/schart/01/wiz_chart_type.xhp
@@ -73,10 +73,10 @@
<paragraph role="paragraph" id="par_id5749687" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Stack series display values on top of each other.</ahelp></paragraph><comment>551780867 stack series percent</comment>
<bookmark xml-lang="en-US" branch="hid/chart2:RadioButton:TP_CHARTTYPE:RB_STACK_Y_PERCENT" id="bm_id7606128" localize="false"/>
<paragraph role="paragraph" id="par_id79348" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Stack series display values as percent.</ahelp></paragraph><comment>551781380 smooth lines</comment>
-<bookmark xml-lang="en-US" branch="hid/chart2:CheckBox:TP_CHARTTYPE:CB_SPLINES" id="bm_id5778374" localize="false"/>
-<paragraph role="paragraph" id="par_id2414014" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">The lines are shown as curves.</ahelp></paragraph><comment>551784961 properties</comment>
+<bookmark xml-lang="en-US" branch="hid/chart2:ListBox:TP_CHARTTYPE:LB_LINETYPE" id="bm_id5778374" localize="false"/>
+<paragraph role="paragraph" id="par_id2414014" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Choose the type of line to draw.</ahelp></paragraph><comment>551784961 properties</comment>
<bookmark xml-lang="en-US" branch="hid/chart2:PushButton:TP_CHARTTYPE:PB_SPLINE_DIALOG" id="bm_id7417523" localize="false"/>
-<paragraph role="paragraph" id="par_id7617114" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Opens a dialog to set the curve properties.</ahelp></paragraph><comment>551781381 sort by x values (for XY (scatter))</comment>
+<paragraph role="paragraph" id="par_id7617114" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Opens a dialog to set the line or curve properties.</ahelp></paragraph><comment>551781381 sort by x values (for XY (scatter))</comment>
<bookmark xml-lang="en-US" branch="hid/chart2:CheckBox:TP_CHARTTYPE:CB_XVALUE_SORTING" id="bm_id6278878" localize="false"/>
<paragraph role="paragraph" id="par_id6649372" xml-lang="en-US" l10n="NEW"><ahelp hid="." visibility="hidden">Connects points by ascending X values, even if the order of values is different, in an XY scatter diagram.</ahelp></paragraph><comment>63323 number of lines (Column + line)</comment>
<bookmark xml-lang="en-US" branch="hid/CHART2_HID_SCH_NUM_OF_LINES" id="bm_id7565843" localize="false"/>