Difference between revisions of "Documentation/BASIC Guide/Chart Types"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
{{Documentation/NeedsRework}}
 
{{Documentation/BASICGuideTOC/v2
 
{{Documentation/BASICGuideTOC/v2
 
|ShowPrevNext=block
 
|ShowPrevNext=block

Revision as of 13:24, 28 September 2007

Template:Documentation/NeedsRework


Chart Types

Line Charts

Line charts (Service com.sun.star.chart.LineDiagram) support one X-axis, two Y-axes and one Z-axis. They can be displayed as 2D or 3D graphics (com.sun.star.chart.Dim3Ddiagram service). The lines can be stacked (com.sun.star.chart.StackableDiagram).

Line charts provide the following properties:

SymbolType (const)
symbol for displaying the data points (constant in accordance with com.sun.star.chart.ChartSymbolType ).
SymbolSize (Long)
size of symbol for displaying the data points in 100ths of a millimeter.
SymbolBitmapURL (String)
file name of graphics for displaying the data points.
Lines (Boolean)
links the data points by means of lines.
SplineType (Long)
spline function for smoothing the lines (0: no spline function, 1: cubic splines, 2: B splines).
SplineOrder (Long)
polynomial weight for splines (only for B splines).
SplineResolution (Long)
number of support points for spline calculation.

Area Charts

Area charts (com.sun.star.chart.AreaDiagram service) support one X-axis, two Y-axes and one Z-axis. They can be displayed as 2D or 3D graphics (com.sun.star.chart.Dim3Ddiagram service). The areas can be stacked (com.sun.star.chart.StackableDiagram).

Bar Charts

Bar charts (Service com.sun.star.chart.BarDiagram) support one X-axis, two Y-axes and one Z-axis. They can be displayed as 2D or 3D graphics (com.sun.star.chart.Dim3Ddiagram service). The bars can be stacked (com.sun.star.chart.StackableDiagram).

They provide the following properties:

Vertical (Boolean)
displays the bars vertically, otherwise they are depicted horizontally.
Deep (Boolean)
in 3D viewing mode, positions the bars behind one another rather than next to one another.
StackedBarsConnected (Boolean)
links the associated bars in a stacked chart by means of lines (only available with horizontal charts).
NumberOfLines (Long)
number of lines to be displayed in a stacked chart as lines rather than bars.

Pie Charts

Pie charts (com.sun.star.chart.PieDiagram service) do not contain any axes and cannot be stacked. They can be displayed as 2D or 3D graphics (com.sun.star.chart.Dim3Ddiagram service).


Content on this page is licensed under the Public Documentation License (PDL).
Personal tools