summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/ScatterChartType.cxx
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-11-20 17:12:27 +0000
committerBjörn Milcke <bm@openoffice.org>2003-11-20 17:12:27 +0000
commitca82e0625dd0a63243da28c585b60d3f77dc7114 (patch)
treed74a3a4f42f1abd45171f51278b9d5fe623a211b /chart2/source/model/template/ScatterChartType.cxx
parent3c6abd007ba83f3fec3d737da2d03966d7824bdd (diff)
Line- and Scatter subtypes added (symbols, curve type)
Diffstat (limited to 'chart2/source/model/template/ScatterChartType.cxx')
-rw-r--r--chart2/source/model/template/ScatterChartType.cxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx
index 9653bd24e297..b2de9af06233 100644
--- a/chart2/source/model/template/ScatterChartType.cxx
+++ b/chart2/source/model/template/ScatterChartType.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ScatterChartType.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: bm $ $Date: 2003-11-20 17:02:23 $
+ * last change: $Author: bm $ $Date: 2003-11-20 18:12:25 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -178,12 +178,20 @@ namespace chart
ScatterChartType::ScatterChartType(
sal_Int32 nDim /* = 2 */,
- chart2::CurveStyle eCurveStyle /* chart2::CurveStyle_LINES */ ) :
+ chart2::CurveStyle eCurveStyle /* chart2::CurveStyle_LINES */ ,
+ sal_Int32 nResolution /* = 20 */,
+ sal_Int32 nOrder /* = 3 */ ) :
ChartType( nDim )
{
if( eCurveStyle != chart2::CurveStyle_LINES )
setFastPropertyValue_NoBroadcast( PROP_SCATTERCHARTTYPE_CURVE_STYLE,
uno::makeAny( eCurveStyle ));
+ if( nResolution != 20 )
+ setFastPropertyValue_NoBroadcast( PROP_SCATTERCHARTTYPE_CURVE_RESOLUTION,
+ uno::makeAny( nResolution ));
+ if( nOrder != 3 )
+ setFastPropertyValue_NoBroadcast( PROP_SCATTERCHARTTYPE_SPLINE_ORDER,
+ uno::makeAny( nOrder ));
}
ScatterChartType::~ScatterChartType()