<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.harlamenkov.ru/index.php?action=history&amp;feed=atom&amp;title=EN%2Fdocumentation%2Fbasic_guide%2Fstructure_of_charts</id>
	<title>EN/documentation/basic guide/structure of charts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.harlamenkov.ru/index.php?action=history&amp;feed=atom&amp;title=EN%2Fdocumentation%2Fbasic_guide%2Fstructure_of_charts"/>
	<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=EN/documentation/basic_guide/structure_of_charts&amp;action=history"/>
	<updated>2026-11-11T14:07:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.harlamenkov.ru/index.php?title=EN/documentation/basic_guide/structure_of_charts&amp;diff=16608&amp;oldid=prev</id>
		<title>Sancho: Основной текст</title>
		<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=EN/documentation/basic_guide/structure_of_charts&amp;diff=16608&amp;oldid=prev"/>
		<updated>2011-09-05T16:03:19Z</updated>

		<summary type="html">&lt;p&gt;Основной текст&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;section begin=title /&amp;gt;&amp;lt;noinclude&amp;gt;{{DISPLAYTITLE:&amp;lt;/noinclude&amp;gt;The Structure of Charts&amp;lt;noinclude&amp;gt;}}&amp;lt;/noinclude&amp;gt;&amp;lt;section end=title /&amp;gt;{{BreadCrumbL10n}}&lt;br /&gt;
&lt;br /&gt;
{{Documentation/BASICGuideTOC&lt;br /&gt;
|ShowPrevNext=block&lt;br /&gt;
|ShowPrevPage=block&lt;br /&gt;
|PrevPage=EN/documentation/basic_guide/charts_in_spreadsheets&lt;br /&gt;
|NextPage=EN/documentation/basic_guide/chart_types&lt;br /&gt;
|chart=block&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
The structure of a chart, and therefore the list of services and interfaces supported by it, depends on the chart type. For example, the methods and properties of the Z-axis, are available in 3D charts, but not in 2D charts, and in pie charts, there are no interfaces for working with axes.&lt;br /&gt;
&lt;br /&gt;
== Title, Subtitle and Legend ==&lt;br /&gt;
&lt;br /&gt;
Title, subtitle and legend are basic elements provided for every chart. The &amp;lt;tt&amp;gt;Chart&amp;lt;/tt&amp;gt; object provides the following properties for administrating these elements:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasMainTitle (Boolean)&amp;lt;/tt&amp;gt;:activates the title&lt;br /&gt;
;&amp;lt;tt&amp;gt;Title (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the chart title (supports the &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasSubTitle(Boolean)&amp;lt;/tt&amp;gt;:activates the subtitle&lt;br /&gt;
;&amp;lt;tt&amp;gt;Subtitle (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the chart subtitle (supports the &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasLegend (Boolean)&amp;lt;/tt&amp;gt;:activates the legend&lt;br /&gt;
;&amp;lt;tt&amp;gt;Legend (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the legend (supports the &amp;lt;idl&amp;gt;com.sun.star.chart.ChartLegend&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
Both services &amp;lt;tt&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;com.sun.star.chart.ChartLegend&amp;lt;/tt&amp;gt; do support the service &amp;lt;tt&amp;gt;com.sun.star.drawing.Shape&amp;lt;/tt&amp;gt;. This allows to determine the position and size of the elements using the &amp;lt;tt&amp;gt;Position&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;Size&amp;lt;/tt&amp;gt; properties. As the size of the legend and the titles is calculated automatically based on the current content and the character height for example, the size property provides read access only.&lt;br /&gt;
&lt;br /&gt;
Fill and line properties (&amp;lt;idl&amp;gt;com.sun.star.drawing.FillProperties&amp;lt;/idl&amp;gt; and &amp;lt;idl&amp;gt;com.sun.star.drawing.LineProperties&amp;lt;/idl&amp;gt; services) as well as the character properties (&amp;lt;idl&amp;gt;com.sun.star.style.CharacterProperties&amp;lt;/idl&amp;gt; service) are provided for further formatting of the elements.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; contains not only the listed formatting properties, but also two other properties:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;String (String)&amp;lt;/tt&amp;gt;:text which to be displayed as the title or subtitle&lt;br /&gt;
;&amp;lt;tt&amp;gt;TextRotation (Long)&amp;lt;/tt&amp;gt;:angle of rotation of text in 100ths of a degree&lt;br /&gt;
&lt;br /&gt;
The legend (&amp;lt;idl&amp;gt;com.sun.star.chart.ChartLegend&amp;lt;/idl&amp;gt;) contains the following additional property:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;Alignment (Enum)&amp;lt;/tt&amp;gt;:position at which the legend appears (value of type &amp;lt;idl&amp;gt;com.sun.star.chart.ChartLegendPosition&amp;lt;/idl&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
The following example creates a chart with a title &amp;quot;Main Title String&amp;quot;, a subtitle &amp;quot;Subtitle String&amp;quot; and a legend. The legend has a gray background color, is placed at the bottom of the chart, and has a character size of 7 points.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;oobas&amp;quot;&amp;gt;&lt;br /&gt;
Dim Doc As Object&lt;br /&gt;
Dim Charts As Object&lt;br /&gt;
Dim Chart as Object&lt;br /&gt;
Dim Rect As New com.sun.star.awt.Rectangle&lt;br /&gt;
Dim RangeAddress(0) As New com.sun.star.table.CellRangeAddress&lt;br /&gt;
&lt;br /&gt;
Rect.X = 8000&lt;br /&gt;
Rect.Y = 1000&lt;br /&gt;
Rect.Width = 10000&lt;br /&gt;
Rect.Height = 7000&lt;br /&gt;
RangeAddress(0).Sheet = 0&lt;br /&gt;
RangeAddress(0).StartColumn = 0 &lt;br /&gt;
RangeAddress(0).StartRow = 0&lt;br /&gt;
RangeAddress(0).EndColumn = 2&lt;br /&gt;
RangeAddress(0).EndRow = 12&lt;br /&gt;
&lt;br /&gt;
Doc = ThisComponent&lt;br /&gt;
&lt;br /&gt;
Charts = Doc.Sheets(0).Charts&lt;br /&gt;
Charts.addNewByName(&amp;quot;MyChart&amp;quot;, Rect, RangeAddress(), True, True)&lt;br /&gt;
Chart = Charts.getByName(&amp;quot;MyChart&amp;quot;).EmbeddedObject&lt;br /&gt;
Chart.HasMainTitle = True&lt;br /&gt;
Chart.Title.String = &amp;quot;Main Title String&amp;quot;&lt;br /&gt;
Chart.HasSubTitle = True&lt;br /&gt;
Chart.Subtitle.String = &amp;quot;Subtitle String&amp;quot;&lt;br /&gt;
Chart.HasLegend = True &lt;br /&gt;
Chart.Legend.Alignment = com.sun.star.chart.ChartLegendPosition.BOTTOM&lt;br /&gt;
Chart.Legend.FillStyle = com.sun.star.drawing.FillStyle.SOLID&lt;br /&gt;
Chart.Legend.FillColor = RGB(210, 210, 210)&lt;br /&gt;
Chart.Legend.CharHeight = 7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
Every chart has a background area. The &amp;lt;tt&amp;gt;Chart&amp;lt;/tt&amp;gt; object provides the property &amp;lt;tt&amp;gt;Area&amp;lt;/tt&amp;gt; to format the background:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;Area (Object)&amp;lt;/tt&amp;gt;:background area of the chart (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartArea&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
The background of a chart covers its complete area, including the area under the title, subtitle and legend. The associated &amp;lt;idl&amp;gt;com.sun.star.chart.ChartArea&amp;lt;/idl&amp;gt; service supports line and fill properties.&lt;br /&gt;
&lt;br /&gt;
== Diagram ==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;Chart&amp;lt;/tt&amp;gt; object provides the property &amp;lt;tt&amp;gt;Diagram&amp;lt;/tt&amp;gt; which forms the coordinate system with axes and grids, where the data finally is displayed:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;Diagram (Object)&amp;lt;/tt&amp;gt;:object forming the coordinate system where the data is plotted.  It supports &amp;lt;idl&amp;gt;com.sun.star.chart.Diagram&amp;lt;/idl&amp;gt; service and:&lt;br /&gt;
:* &amp;lt;idl&amp;gt;com.sun.star.chart.StackableDiagram&amp;lt;/idl&amp;gt;&lt;br /&gt;
:* &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxisXSupplier&amp;lt;/idl&amp;gt;&lt;br /&gt;
:* &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxisYSupplier&amp;lt;/idl&amp;gt;&lt;br /&gt;
:* &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxisZSupplier&amp;lt;/idl&amp;gt;&lt;br /&gt;
:* &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTwoAxisXSupplier&amp;lt;/idl&amp;gt;&lt;br /&gt;
:* &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTwoAxisYSupplier&amp;lt;/idl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Different services are supported depending on the chart type (see&lt;br /&gt;
[[Documentation/BASIC_Guide/Chart_Types|Chart Types]]).&lt;br /&gt;
&lt;br /&gt;
== Wall and Floor ==&lt;br /&gt;
&lt;br /&gt;
The chart wall is the background of the coordinate system where the data is plotted.&lt;br /&gt;
Two chart walls usually exist for 3D charts: one behind the plotted data and one as the left-hand or right-hand demarcation. This depends on the rotation of the chart. 3D charts usually also have a floor.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;Diagram&amp;lt;/tt&amp;gt; object provides the properties Wall and Floor:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;Wall (Object)&amp;lt;/tt&amp;gt;:background wall of the coordinate system (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartArea&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;Floor (Object)&amp;lt;/tt&amp;gt;:floor panel of coordinate system (only for 3D charts, supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartArea&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
The specified objects support the &amp;lt;tt&amp;gt;com.sun.star.chart.ChartArea&amp;lt;/tt&amp;gt; service, which provides the usual fill and line properties (&amp;lt;idl&amp;gt;com.sun.star.drawing.FillProperties&amp;lt;/idl&amp;gt; and &amp;lt;idl&amp;gt;com.sun.star.drawing.LineProperties&amp;lt;/idl&amp;gt; services, refer to [[Documentation/BASIC_Guide/Drawings_Presentations|Drawings and Presentations]]).&lt;br /&gt;
&lt;br /&gt;
The following example shows how graphics (named Sky) already contained in {{OOo}} can be used as a background for a chart. The wall is set to be blue.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;oobas&amp;quot;&amp;gt;&lt;br /&gt;
Dim Doc As Object&lt;br /&gt;
Dim Charts As Object&lt;br /&gt;
Dim Chart as Object&lt;br /&gt;
Dim Rect As New com.sun.star.awt.Rectangle&lt;br /&gt;
Dim RangeAddress(0) As New com.sun.star.table.CellRangeAddress&lt;br /&gt;
&lt;br /&gt;
Rect.X = 8000&lt;br /&gt;
Rect.Y = 1000&lt;br /&gt;
Rect.Width = 10000&lt;br /&gt;
Rect.Height = 7000&lt;br /&gt;
RangeAddress(0).Sheet = 0&lt;br /&gt;
RangeAddress(0).StartColumn = 0 &lt;br /&gt;
RangeAddress(0).StartRow = 0&lt;br /&gt;
RangeAddress(0).EndColumn = 2&lt;br /&gt;
RangeAddress(0).EndRow = 12&lt;br /&gt;
&lt;br /&gt;
Doc = ThisComponent&lt;br /&gt;
&lt;br /&gt;
Charts = Doc.Sheets(0).Charts&lt;br /&gt;
Charts.addNewByName(&amp;quot;MyChart&amp;quot;, Rect, RangeAddress(), True, True)&lt;br /&gt;
Chart = Charts.getByName(&amp;quot;MyChart&amp;quot;).EmbeddedObject&lt;br /&gt;
Chart.Area.FillStyle = com.sun.star.drawing.FillStyle.BITMAP&lt;br /&gt;
Chart.Area.FillBitmapName = &amp;quot;Sky&amp;quot;&lt;br /&gt;
Chart.Area.FillBitmapMode = com.sun.star.drawing.BitmapMode.REPEAT&lt;br /&gt;
&lt;br /&gt;
Chart.Diagram.Wall.FillStyle = com.sun.star.drawing.FillStyle.SOLID&lt;br /&gt;
Chart.Diagram.Wall.FillColor = RGB(00,132,209)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Axes ==&lt;br /&gt;
&lt;br /&gt;
{{OOo}} recognizes five different axes that can be used in a chart. In the simplest scenario, these are the X and Y-axes. When working with 3D charts, a Z-axis is also sometimes provided. For charts in which the values of the various rows of data deviate significantly from one another, {{OOo}} provides a second X and Y-axis for second scaling operations.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;tt&amp;gt;Diagram&amp;lt;/tt&amp;gt; object provides the following properties to access the axes:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasXAxis (Boolean)&amp;lt;/tt&amp;gt;:activates the X-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;XAxis (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the X-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxis&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasXAxisDescription (Boolean)&amp;lt;/tt&amp;gt;:activates the labels for the interval marks for the X-axis&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasYAxis (Boolean)&amp;lt;/tt&amp;gt;:activates the Y-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;YAxis (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the Y-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxis&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasYAxisDescription (Boolean)&amp;lt;/tt&amp;gt;:activates the labels for the interval marks for the Y-axis&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasZAxis (Boolean)&amp;lt;/tt&amp;gt;:activates the Z-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;ZAxis (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the Z-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxis&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasZAxisDescription (Boolean)&amp;lt;/tt&amp;gt;:activates the labels for the interval marks for the Z-axis&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasSecondaryXAxis (Boolean)&amp;lt;/tt&amp;gt;:activates the secondary X-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;SecondaryXAxis (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the secondary X-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxis&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasSecondaryXAxisDescription (Boolean)&amp;lt;/tt&amp;gt;:activates the labels for the interval marks for the secondary X-axis&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasSecondaryYAxis (Boolean)&amp;lt;/tt&amp;gt;:activates the secondary Y-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;SecondaryYAxis (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the secondary Y-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxis&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasSecondaryYAxisDescription (Boolean)&amp;lt;/tt&amp;gt;:activates the labels for the interval marks for the secondary Y-axis&lt;br /&gt;
&lt;br /&gt;
== Properties of Axes ==&lt;br /&gt;
&lt;br /&gt;
The axis objects of a {{OOo}} chart support the &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxis&amp;lt;/idl&amp;gt; service. In addition to the properties for characters &amp;lt;idl&amp;gt;(com.sun.star.style.CharacterProperties&amp;lt;/idl&amp;gt; service, refer to [[Documentation/BASIC_Guide/Text_Documents|Text Documents]]) and lines &amp;lt;idl&amp;gt;(com.sun.star.drawing.LineStyle&amp;lt;/idl&amp;gt; service, refer to [[Documentation/BASIC_Guide/Drawings_Presentations|Drawings and Presentations]]), it provides the following properties:&lt;br /&gt;
&lt;br /&gt;
===Scaling properties:===&lt;br /&gt;
;&amp;lt;tt&amp;gt;Max (Double)&amp;lt;/tt&amp;gt;:maximum value for axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;Min (Double)&amp;lt;/tt&amp;gt;:minimum value for axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;Origin (Double)&amp;lt;/tt&amp;gt;:point of intersect for crossing axes&lt;br /&gt;
;&amp;lt;tt&amp;gt;StepMain (Double)&amp;lt;/tt&amp;gt;:distance between the major interval marks&lt;br /&gt;
;&amp;lt;tt&amp;gt;StepHelp (Double)&amp;lt;/tt&amp;gt;:distance between the minor interval marks (deprecated since OpenOffice.org 3.0; Use property StepHelpCount instead)&lt;br /&gt;
;&amp;lt;tt&amp;gt;StepHelpCount (Long)&amp;lt;/tt&amp;gt;:Contains the number of minor intervals within a major interval. E.g. a StepHelpCount of 5 divides the major interval into 5 pieces and thus produces 4 minor tick marks. (available since OpenOffice.org 3.0)&lt;br /&gt;
;&amp;lt;tt&amp;gt;AutoMax (Boolean)&amp;lt;/tt&amp;gt;:the maximum value for the axis is calculated automatically when set to true&lt;br /&gt;
;&amp;lt;tt&amp;gt;AutoMin (Boolean)&amp;lt;/tt&amp;gt;:the minimum value for the axis is calculated automatically when set to true&lt;br /&gt;
;&amp;lt;tt&amp;gt;AutoOrigin (Boolean)&amp;lt;/tt&amp;gt;:the origin is determined automatically when set to true&lt;br /&gt;
;&amp;lt;tt&amp;gt;AutoStepMain (Boolean)&amp;lt;/tt&amp;gt;:StepMain is determined automatically when set to true&lt;br /&gt;
;&amp;lt;tt&amp;gt;AutoStepHelp (Boolean)&amp;lt;/tt&amp;gt;:StepHelpCount is determined automatically when set to true&lt;br /&gt;
;&amp;lt;tt&amp;gt;Logarithmic (Boolean)&amp;lt;/tt&amp;gt;:scales the axes in logarithmic manner (rather than linear)&lt;br /&gt;
;&amp;lt;tt&amp;gt;ReverseDirection (Boolean)&amp;lt;/tt&amp;gt;:determines if the axis orientation is mathematical or reversed. (available since OpenOffice.org 2.4)&lt;br /&gt;
&lt;br /&gt;
===Label properties:===&lt;br /&gt;
;&amp;lt;tt&amp;gt;DisplayLabels (Boolean)&amp;lt;/tt&amp;gt;:activates the text label at the interval marks&lt;br /&gt;
;&amp;lt;tt&amp;gt;TextRotation (Long)&amp;lt;/tt&amp;gt;:angle of rotation of text label in 100ths of a degree&lt;br /&gt;
;&amp;lt;tt&amp;gt;ArrangeOrder (enum)&amp;lt;/tt&amp;gt;:the label may be staggered, thus they are positioned alternately over two lines (values according to &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxisArrangeOrderType&amp;lt;/idl&amp;gt;)&lt;br /&gt;
;&amp;lt;tt&amp;gt;TextBreak (Boolean)&amp;lt;/tt&amp;gt;:permits line breaks within the axes labels&lt;br /&gt;
;&amp;lt;tt&amp;gt;TextCanOverlap (Boolean)&amp;lt;/tt&amp;gt;:permits an overlap of the axes labels&lt;br /&gt;
;&amp;lt;tt&amp;gt;NumberFormat (Long)&amp;lt;/tt&amp;gt;:number format to be used with the axes labels&lt;br /&gt;
;&amp;lt;tt&amp;gt;LinkNumberFormatToSource (Boolean)&amp;lt;/tt&amp;gt;:determines whether to use the number format given by the container document, or from the property &amp;lt;tt&amp;gt;NumberFormat&amp;lt;/tt&amp;gt;. (since OpenOffice.org 2.3)&lt;br /&gt;
&lt;br /&gt;
===Interval mark properties:===&lt;br /&gt;
;&amp;lt;tt&amp;gt;Marks (Const)&amp;lt;/tt&amp;gt;:determines the position of the major interval marks (values in accordance with &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxisMarks&amp;lt;/idl&amp;gt;)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HelpMarks (Const)&amp;lt;/tt&amp;gt;:determines the position of the minor interval marks (values in accordance with &amp;lt;idl&amp;gt;com.sun.star.chart.ChartAxisMarks&amp;lt;/idl&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
===Only for bar charts:===&lt;br /&gt;
;&amp;lt;tt&amp;gt;Overlap (Long)&amp;lt;/tt&amp;gt;:percentage which specifies the extent to which the bars of different sets of data may overlap (at 100%, the bars are shown as completely overlapping, at -100%, there is a distance of the width of one bar between them)&lt;br /&gt;
;&amp;lt;tt&amp;gt;GapWidth (long)&amp;lt;/tt&amp;gt;:percentage which specifies the distance there may be between the different groups of bars of a chart (at 100%, there is a distance corresponding to the width of one bar)&lt;br /&gt;
&lt;br /&gt;
== Grids ==&lt;br /&gt;
&lt;br /&gt;
For the primary axes grids and sub grids can be displayed, matching to the major and minor intervals.&lt;br /&gt;
The &amp;lt;tt&amp;gt;Diagram&amp;lt;/tt&amp;gt; object provides the following properties to access the grids:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasXAxisGrid (Boolean)&amp;lt;/tt&amp;gt;:activates major grid for X-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;XMainGrid (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the major grid for X-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartGrid&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasXAxisHelpGrid (Boolean)&amp;lt;/tt&amp;gt;:activates minor grid for X-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;XHelpGrid (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the minor grid for X-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartGrid&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
the same for y and z:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasYAxisGrid (Boolean)&amp;lt;/tt&amp;gt;:activates major grid for Y-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;YMainGrid (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the major grid for Y-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartGrid&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasYAxisHelpGrid (Boolean)&amp;lt;/tt&amp;gt;:activates minor grid for Y-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;YHelpGrid (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the minor grid for Y-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartGrid&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasZAxisGrid (Boolean)&amp;lt;/tt&amp;gt;:activates major grid for Z-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;ZMainGrid (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the major grid for Z-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartGrid&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasZAxisHelpGrid (Boolean)&amp;lt;/tt&amp;gt;:activates minor grid for Z-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;ZHelpGrid (Object)&amp;lt;/tt&amp;gt;:object with detailed information about the minor grid for Z-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartGrid&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
The grid object is based on the &amp;lt;idl&amp;gt;com.sun.star.chart.ChartGrid&amp;lt;/idl&amp;gt; service, which in turn supports the line properties of the &amp;lt;idl&amp;gt;com.sun.star.drawing.LineStyle&amp;lt;/idl&amp;gt; support service (refer to [[Documentation/BASIC_Guide/Drawings_Presentations|Drawings and Presentations]]).&lt;br /&gt;
&lt;br /&gt;
== Axes Title ==&lt;br /&gt;
&lt;br /&gt;
For all axes an additional title can be displayed.&lt;br /&gt;
The &amp;lt;tt&amp;gt;Diagram&amp;lt;/tt&amp;gt; object provides the following properties to access the axes title:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasXAxisTitle (Boolean)&amp;lt;/tt&amp;gt;:activates title of X-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;XAxisTitle (Object)&amp;lt;/tt&amp;gt;:object with detailed information about title of the X-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
same y and z:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasYAxisTitle (Boolean)&amp;lt;/tt&amp;gt;:activates title of Y-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;YAxisTitle (Object)&amp;lt;/tt&amp;gt;:object with detailed information about title of the Y-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasZAxisTitle (Boolean)&amp;lt;/tt&amp;gt;:activates title of Z-axis&lt;br /&gt;
;&amp;lt;tt&amp;gt;ZAxisTitle (Object)&amp;lt;/tt&amp;gt;:object with detailed information about title of the Z-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
and for the secondary axes (available since OpenOffice.org 3.0):&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasSecondaryXAxisTitle (Boolean)&amp;lt;/tt&amp;gt;:activates title of the secondary X-axis. &lt;br /&gt;
;&amp;lt;tt&amp;gt;SecondXAxisTitle (Object)&amp;lt;/tt&amp;gt;:object with detailed information about title of the secondary X-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;HasSecondaryYAxisTitle (Boolean)&amp;lt;/tt&amp;gt;:activates title of the secondary Y-axis. &lt;br /&gt;
;&amp;lt;tt&amp;gt;SecondYAxisTitle (Object)&amp;lt;/tt&amp;gt;:object with detailed information about title of the secondary Y-axis (supports &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; service)&lt;br /&gt;
&lt;br /&gt;
The objects for formatting the axes title are based on the &amp;lt;idl&amp;gt;com.sun.star.chart.ChartTitle&amp;lt;/idl&amp;gt; service, which is also used for chart titles.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&lt;br /&gt;
The following example creates a line chart. The color for the rear wall of the chart is set to white. Both the X and Y-axes have a gray grid for visual orientation. The minimum value of the Y-axis is fixed to 0 and the maximum value is fixed to 100 so that the resolution of the chart is retained even if the values are changed. The X-axis points in reverse direction from right to left. And a title for the X-axis was added.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;oobas&amp;quot;&amp;gt;&lt;br /&gt;
Dim Doc As Object&lt;br /&gt;
Dim Charts As Object&lt;br /&gt;
Dim Chart as Object&lt;br /&gt;
Dim Rect As New com.sun.star.awt.Rectangle&lt;br /&gt;
Dim RangeAddress(0) As New com.sun.star.table.CellRangeAddress&lt;br /&gt;
&lt;br /&gt;
Doc = ThisComponent&lt;br /&gt;
Charts = Doc.Sheets(0).Charts&lt;br /&gt;
&lt;br /&gt;
Rect.X = 8000&lt;br /&gt;
Rect.Y = 1000&lt;br /&gt;
Rect.Width = 10000&lt;br /&gt;
Rect.Height = 7000&lt;br /&gt;
RangeAddress(0).Sheet = 0&lt;br /&gt;
RangeAddress(0).StartColumn = 0 &lt;br /&gt;
RangeAddress(0).StartRow = 0&lt;br /&gt;
RangeAddress(0).EndColumn = 2&lt;br /&gt;
RangeAddress(0).EndRow = 12&lt;br /&gt;
&lt;br /&gt;
Charts.addNewByName(&amp;quot;MyChart&amp;quot;, Rect, RangeAddress(), True, True)&lt;br /&gt;
Chart = Charts.getByName(&amp;quot;MyChart&amp;quot;).embeddedObject&lt;br /&gt;
Chart.Diagram = Chart.createInstance(&amp;quot;com.sun.star.chart.LineDiagram&amp;quot;)&lt;br /&gt;
Chart.Diagram.Wall.FillColor = RGB(255, 255, 255)&lt;br /&gt;
Chart.Diagram.HasXAxisGrid = True&lt;br /&gt;
Chart.Diagram.XMainGrid.LineColor = RGB(192, 192, 192)&lt;br /&gt;
Chart.Diagram.HasYAxisGrid = True&lt;br /&gt;
Chart.Diagram.YMainGrid.LineColor = RGB(192, 192, 192)&lt;br /&gt;
Chart.Diagram.YAxis.Min = 0 &lt;br /&gt;
Chart.Diagram.YAxis.Max = 100&lt;br /&gt;
&lt;br /&gt;
Chart.Diagram.XAxis.ReverseDirection = true 'needs OpenOffice.org 2.4 or newer&lt;br /&gt;
Chart.Diagram.HasXAxisTitle = true&lt;br /&gt;
Chart.Diagram.XAxisTitle.String = &amp;quot;Reversed X Axis Example&amp;quot;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 3D Charts ==&lt;br /&gt;
&lt;br /&gt;
Most charts in {{OOo}} can also be displayed with 3D graphics. The following properties are provided for 3D charts at the &amp;lt;tt&amp;gt;Diagram&amp;lt;/tt&amp;gt; object:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;Dim3D (Boolean)&amp;lt;/tt&amp;gt;:activates 3D display&lt;br /&gt;
;&amp;lt;tt&amp;gt;Deep (Boolean)&amp;lt;/tt&amp;gt;:the series will be arranged behind each other in z-direction&lt;br /&gt;
;&amp;lt;tt&amp;gt;RightAngledAxes (Boolean)&amp;lt;/tt&amp;gt;:activates a 3D display mode where X- and Y-axes form a right angle within the projection. (available since OpenOffice.org 2.3)&lt;br /&gt;
;&amp;lt;tt&amp;gt;D3DScenePerspective (Enum)&amp;lt;/tt&amp;gt;:defines whether the 3D objects are to be drawn in perspective or parallel projection.(values according to &amp;lt;idl&amp;gt;com.sun.star.drawing.ProjectionMode&amp;lt;/idl&amp;gt;)&lt;br /&gt;
;&amp;lt;tt&amp;gt;Perspective (Long)&amp;lt;/tt&amp;gt;:Perspective of 3D charts ( [0,100] ) (available since OpenOffice.org 2.4.1)&lt;br /&gt;
;&amp;lt;tt&amp;gt;RotationHorizontal (Long)&amp;lt;/tt&amp;gt;:Horizontal rotation of 3D charts in degrees ( [-180,180] ) (available since OpenOffice.org 2.4.1)&lt;br /&gt;
;&amp;lt;tt&amp;gt;RotationVertical (Long)&amp;lt;/tt&amp;gt;:Vertical rotation of 3D charts in degrees ( [-180,180] ) (available since OpenOffice.org 2.4.1)&lt;br /&gt;
&lt;br /&gt;
The following example creates a 3D area chart.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;oobas&amp;quot;&amp;gt;&lt;br /&gt;
Dim Doc As Object&lt;br /&gt;
Dim Charts As Object&lt;br /&gt;
Dim Chart as Object&lt;br /&gt;
Dim Rect As New com.sun.star.awt.Rectangle&lt;br /&gt;
Dim RangeAddress(0) As New com.sun.star.table.CellRangeAddress&lt;br /&gt;
&lt;br /&gt;
Doc = ThisComponent&lt;br /&gt;
Charts = Doc.Sheets(0).Charts&lt;br /&gt;
&lt;br /&gt;
Rect.X = 8000&lt;br /&gt;
Rect.Y = 1000&lt;br /&gt;
Rect.Width = 10000&lt;br /&gt;
Rect.Height = 7000&lt;br /&gt;
RangeAddress(0).Sheet = 0&lt;br /&gt;
RangeAddress(0).StartColumn = 0 &lt;br /&gt;
RangeAddress(0).StartRow = 0&lt;br /&gt;
RangeAddress(0).EndColumn = 2&lt;br /&gt;
RangeAddress(0).EndRow = 12&lt;br /&gt;
&lt;br /&gt;
Charts.addNewByName(&amp;quot;MyChart&amp;quot;, Rect, RangeAddress(), True, True)&lt;br /&gt;
Chart = Charts.getByName(&amp;quot;MyChart&amp;quot;).embeddedObject&lt;br /&gt;
Chart.Diagram = Chart.createInstance(&amp;quot;com.sun.star.chart.AreaDiagram&amp;quot;)&lt;br /&gt;
Chart.Diagram.Dim3D = true&lt;br /&gt;
Chart.Diagram.Deep = true&lt;br /&gt;
Chart.Diagram.RightAngledAxes = true 'needs OpenOffice.org 2.3 or newer&lt;br /&gt;
Chart.Diagram.D3DScenePerspective = com.sun.star.drawing.ProjectionMode.PERSPECTIVE&lt;br /&gt;
Chart.Diagram.Perspective = 100 'needs OpenOffice.org 2.4.1 or newer&lt;br /&gt;
Chart.Diagram.RotationHorizontal = 60 'needs OpenOffice.org 2.4.1 or newer&lt;br /&gt;
Chart.Diagram.RotationVertical = 30 'needs OpenOffice.org 2.4.1 or newer&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Stacked Charts ==&lt;br /&gt;
&lt;br /&gt;
Stacked charts are charts that are arranged with several individual values on top of one another to produce a total value. This view shows not only the individual values, but also an overview of all the values.&lt;br /&gt;
&lt;br /&gt;
In {{OOo}}, various types of charts can be displayed in a stacked form. All of these charts support the &amp;lt;idl&amp;gt;com.sun.star.chart.StackableDiagram&amp;lt;/idl&amp;gt; service, which in turn provides the following properties:&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;tt&amp;gt;Stacked (Boolean)&amp;lt;/tt&amp;gt;:activates the stacked viewing mode&lt;br /&gt;
;&amp;lt;tt&amp;gt;Percent (Boolean)&amp;lt;/tt&amp;gt;:rather than absolute values, displays their percentage distribution&lt;br /&gt;
&lt;br /&gt;
{{PDL1}}&lt;/div&gt;</summary>
		<author><name>Sancho</name></author>
		
	</entry>
</feed>