Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #include "DataPointProperties.hxx"
21 : #include "macros.hxx"
22 : #include "LinePropertiesHelper.hxx"
23 : #include "FillProperties.hxx"
24 :
25 : #include <com/sun/star/beans/PropertyAttribute.hpp>
26 : #include <com/sun/star/drawing/FillStyle.hpp>
27 : #include <com/sun/star/drawing/LineStyle.hpp>
28 : #include <com/sun/star/drawing/LineDash.hpp>
29 : #include <com/sun/star/drawing/PolyPolygonBezierCoords.hpp>
30 : #include <com/sun/star/style/XStyle.hpp>
31 : #include <com/sun/star/drawing/BitmapMode.hpp>
32 : #include <com/sun/star/drawing/RectanglePoint.hpp>
33 :
34 : #include <com/sun/star/chart2/DataPointGeometry3D.hpp>
35 : #include <com/sun/star/chart2/DataPointLabel.hpp>
36 : #include <com/sun/star/chart2/Symbol.hpp>
37 :
38 : using namespace ::com::sun::star;
39 :
40 : using ::com::sun::star::beans::Property;
41 :
42 : namespace chart
43 : {
44 :
45 0 : void DataPointProperties::AddPropertiesToVector(
46 : ::std::vector< Property > & rOutProperties )
47 : {
48 : // DataPointProperties
49 :
50 : // Common
51 :
52 : rOutProperties.push_back(
53 : Property( "Color",
54 : PROP_DATAPOINT_COLOR,
55 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
56 : beans::PropertyAttribute::BOUND
57 : | beans::PropertyAttribute::MAYBEVOID // "maybe auto"
58 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
59 :
60 : rOutProperties.push_back(
61 : Property( "Transparency",
62 : PROP_DATAPOINT_TRANSPARENCY,
63 0 : ::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
64 : beans::PropertyAttribute::BOUND
65 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
66 :
67 : // Fill Properties
68 : rOutProperties.push_back(
69 : Property( "FillStyle",
70 : PROP_DATAPOINT_FILL_STYLE,
71 0 : ::getCppuType( reinterpret_cast< const drawing::FillStyle * >(0)),
72 : beans::PropertyAttribute::BOUND
73 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
74 :
75 : rOutProperties.push_back(
76 : Property( "TransparencyGradientName",
77 : PROP_DATAPOINT_TRANSPARENCY_GRADIENT_NAME,
78 0 : ::getCppuType( reinterpret_cast< const OUString * >(0)),
79 : beans::PropertyAttribute::BOUND
80 : | beans::PropertyAttribute::MAYBEDEFAULT
81 0 : | beans::PropertyAttribute::MAYBEVOID ));
82 :
83 : rOutProperties.push_back(
84 : Property( "GradientName",
85 : PROP_DATAPOINT_GRADIENT_NAME,
86 0 : ::getCppuType( reinterpret_cast< const OUString * >(0)),
87 : beans::PropertyAttribute::BOUND
88 : | beans::PropertyAttribute::MAYBEDEFAULT
89 0 : | beans::PropertyAttribute::MAYBEVOID ));
90 :
91 : rOutProperties.push_back(
92 : beans::Property( "GradientStepCount",
93 : PROP_DATAPOINT_GRADIENT_STEPCOUNT,
94 0 : ::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
95 : beans::PropertyAttribute::BOUND
96 0 : | beans::PropertyAttribute::MAYBEVOID ));
97 :
98 : rOutProperties.push_back(
99 : Property( "HatchName",
100 : PROP_DATAPOINT_HATCH_NAME,
101 0 : ::getCppuType( reinterpret_cast< const OUString * >(0)),
102 : beans::PropertyAttribute::BOUND
103 : | beans::PropertyAttribute::MAYBEDEFAULT
104 0 : | beans::PropertyAttribute::MAYBEVOID ));
105 :
106 : rOutProperties.push_back(
107 : Property( "FillBitmapName",
108 : PROP_DATAPOINT_FILL_BITMAP_NAME,
109 0 : ::getCppuType( reinterpret_cast< const OUString * >(0)),
110 : beans::PropertyAttribute::BOUND
111 : | beans::PropertyAttribute::MAYBEDEFAULT
112 0 : | beans::PropertyAttribute::MAYBEVOID ));
113 : rOutProperties.push_back(
114 : Property( "FillBackground",
115 : PROP_DATAPOINT_FILL_BACKGROUND,
116 0 : ::getBooleanCppuType(),
117 : beans::PropertyAttribute::BOUND
118 : | beans::PropertyAttribute::MAYBEDEFAULT
119 0 : | beans::PropertyAttribute::MAYBEVOID ));
120 :
121 : // border for filled objects
122 : rOutProperties.push_back(
123 : Property( "BorderColor",
124 : PROP_DATAPOINT_BORDER_COLOR,
125 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
126 : beans::PropertyAttribute::BOUND
127 : | beans::PropertyAttribute::MAYBEVOID // "maybe auto"
128 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
129 : rOutProperties.push_back(
130 : Property( "BorderStyle",
131 : PROP_DATAPOINT_BORDER_STYLE,
132 0 : ::getCppuType( reinterpret_cast< const drawing::LineStyle * >(0)),
133 : beans::PropertyAttribute::BOUND
134 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
135 : rOutProperties.push_back(
136 : Property( "BorderWidth",
137 : PROP_DATAPOINT_BORDER_WIDTH,
138 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
139 : beans::PropertyAttribute::BOUND
140 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
141 : rOutProperties.push_back(
142 : Property( "BorderDashName",
143 : PROP_DATAPOINT_BORDER_DASH_NAME,
144 0 : ::getCppuType( reinterpret_cast< const OUString * >(0)),
145 : beans::PropertyAttribute::BOUND
146 0 : | beans::PropertyAttribute::MAYBEVOID ));
147 : rOutProperties.push_back(
148 : Property( "BorderTransparency",
149 : PROP_DATAPOINT_BORDER_TRANSPARENCY,
150 0 : ::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
151 : beans::PropertyAttribute::BOUND
152 0 : | beans::PropertyAttribute::MAYBEVOID ));
153 :
154 : // Line Properties
155 : rOutProperties.push_back(
156 : Property( "LineStyle",
157 : LinePropertiesHelper::PROP_LINE_STYLE,
158 0 : ::getCppuType( reinterpret_cast< const drawing::LineStyle * >(0)),
159 : beans::PropertyAttribute::BOUND
160 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
161 : rOutProperties.push_back(
162 : Property( "LineWidth",
163 : LinePropertiesHelper::PROP_LINE_WIDTH,
164 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
165 : beans::PropertyAttribute::BOUND
166 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
167 : rOutProperties.push_back(
168 : Property( "LineDash",
169 : LinePropertiesHelper::PROP_LINE_DASH,
170 0 : ::getCppuType( reinterpret_cast< const drawing::LineDash * >(0)),
171 : beans::PropertyAttribute::BOUND
172 0 : | beans::PropertyAttribute::MAYBEVOID ));
173 : rOutProperties.push_back(
174 : Property( "LineDashName",
175 : LinePropertiesHelper::PROP_LINE_DASH_NAME,
176 0 : ::getCppuType( reinterpret_cast< const OUString * >(0)),
177 : beans::PropertyAttribute::BOUND
178 0 : | beans::PropertyAttribute::MAYBEVOID ));
179 :
180 : // FillProperties
181 : // bitmap properties
182 : rOutProperties.push_back(
183 : Property( "FillBitmapOffsetX",
184 : FillProperties::PROP_FILL_BITMAP_OFFSETX,
185 0 : ::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
186 : beans::PropertyAttribute::BOUND
187 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
188 :
189 : rOutProperties.push_back(
190 : Property( "FillBitmapOffsetY",
191 : FillProperties::PROP_FILL_BITMAP_OFFSETY,
192 0 : ::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
193 : beans::PropertyAttribute::BOUND
194 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
195 :
196 : rOutProperties.push_back(
197 : Property( "FillBitmapPositionOffsetX",
198 : FillProperties::PROP_FILL_BITMAP_POSITION_OFFSETX,
199 0 : ::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
200 : beans::PropertyAttribute::BOUND
201 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
202 :
203 : rOutProperties.push_back(
204 : Property( "FillBitmapPositionOffsetY",
205 : FillProperties::PROP_FILL_BITMAP_POSITION_OFFSETY,
206 0 : ::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
207 : beans::PropertyAttribute::BOUND
208 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
209 :
210 : rOutProperties.push_back(
211 : Property( "FillBitmapRectanglePoint",
212 : FillProperties::PROP_FILL_BITMAP_RECTANGLEPOINT,
213 0 : ::getCppuType( reinterpret_cast< const drawing::RectanglePoint * >(0)),
214 : beans::PropertyAttribute::BOUND
215 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
216 :
217 : rOutProperties.push_back(
218 : Property( "FillBitmapLogicalSize",
219 : FillProperties::PROP_FILL_BITMAP_LOGICALSIZE,
220 0 : ::getBooleanCppuType(),
221 : beans::PropertyAttribute::BOUND
222 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
223 :
224 : rOutProperties.push_back(
225 : Property( "FillBitmapSizeX",
226 : FillProperties::PROP_FILL_BITMAP_SIZEX,
227 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
228 : beans::PropertyAttribute::BOUND
229 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
230 :
231 : rOutProperties.push_back(
232 : Property( "FillBitmapSizeY",
233 : FillProperties::PROP_FILL_BITMAP_SIZEY,
234 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
235 : beans::PropertyAttribute::BOUND
236 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
237 :
238 : rOutProperties.push_back(
239 : Property( "FillBitmapMode",
240 : FillProperties::PROP_FILL_BITMAP_MODE,
241 0 : ::getCppuType( reinterpret_cast< const drawing::BitmapMode * >(0)),
242 : beans::PropertyAttribute::BOUND
243 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
244 :
245 : // others
246 : rOutProperties.push_back(
247 : Property( "Symbol",
248 : PROP_DATAPOINT_SYMBOL_PROP,
249 0 : ::getCppuType( reinterpret_cast< const chart2::Symbol * >(0)),
250 : beans::PropertyAttribute::BOUND
251 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
252 : rOutProperties.push_back(
253 : Property( "Offset",
254 : PROP_DATAPOINT_OFFSET,
255 0 : ::getCppuType( reinterpret_cast< const double * >(0)),
256 : beans::PropertyAttribute::BOUND
257 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
258 : rOutProperties.push_back(
259 : Property( "Geometry3D",
260 : PROP_DATAPOINT_GEOMETRY3D,
261 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
262 : beans::PropertyAttribute::BOUND
263 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
264 :
265 : rOutProperties.push_back(
266 : Property( "Label",
267 : PROP_DATAPOINT_LABEL,
268 0 : ::getCppuType( reinterpret_cast< const chart2::DataPointLabel * >(0)),
269 : beans::PropertyAttribute::BOUND
270 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
271 :
272 : rOutProperties.push_back(
273 : Property( "LabelSeparator",
274 : PROP_DATAPOINT_LABEL_SEPARATOR,
275 0 : ::getCppuType( reinterpret_cast< const OUString * >(0)),
276 : beans::PropertyAttribute::BOUND
277 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
278 :
279 : rOutProperties.push_back(
280 : Property( "NumberFormat",
281 : PROP_DATAPOINT_NUMBER_FORMAT,
282 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
283 : beans::PropertyAttribute::BOUND
284 0 : | beans::PropertyAttribute::MAYBEVOID ));
285 :
286 : //additional 'PercentageNumberFormat'
287 : rOutProperties.push_back(
288 : Property( "PercentageNumberFormat",
289 : PROP_DATAPOINT_PERCENTAGE_NUMBER_FORMAT,
290 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
291 : beans::PropertyAttribute::BOUND
292 0 : | beans::PropertyAttribute::MAYBEVOID ));
293 :
294 : rOutProperties.push_back(
295 : Property( "LabelPlacement",
296 : PROP_DATAPOINT_LABEL_PLACEMENT,
297 0 : ::getCppuType( reinterpret_cast< const sal_Int32 * >(0)),
298 : beans::PropertyAttribute::BOUND
299 0 : | beans::PropertyAttribute::MAYBEVOID ));
300 :
301 : rOutProperties.push_back(
302 : Property( "ReferencePageSize",
303 : PROP_DATAPOINT_REFERENCE_DIAGRAM_SIZE,
304 0 : ::getCppuType( reinterpret_cast< const awt::Size * >(0)),
305 : beans::PropertyAttribute::BOUND
306 0 : | beans::PropertyAttribute::MAYBEVOID ));
307 :
308 : rOutProperties.push_back(
309 : Property( "TextRotation",
310 : PROP_DATAPOINT_TEXT_ROTATION,
311 0 : ::getCppuType( reinterpret_cast< const double * >(0)),
312 : beans::PropertyAttribute::BOUND
313 0 : | beans::PropertyAttribute::MAYBEDEFAULT ));
314 :
315 : // statistics
316 : rOutProperties.push_back(
317 : Property( "ErrorBarX",
318 : PROP_DATAPOINT_ERROR_BAR_X,
319 : // XPropertySet supporting service ErrorBar
320 0 : ::getCppuType( reinterpret_cast< const uno::Reference< beans::XPropertySet > * >(0)),
321 : beans::PropertyAttribute::BOUND
322 0 : | beans::PropertyAttribute::MAYBEVOID ));
323 : rOutProperties.push_back(
324 : Property( "ErrorBarY",
325 : PROP_DATAPOINT_ERROR_BAR_Y,
326 : // XPropertySet supporting service ErrorBar
327 0 : ::getCppuType( reinterpret_cast< const uno::Reference< beans::XPropertySet > * >(0)),
328 : beans::PropertyAttribute::BOUND
329 0 : | beans::PropertyAttribute::MAYBEVOID ));
330 : rOutProperties.push_back(
331 : Property( "ShowErrorBox",
332 : PROP_DATAPOINT_SHOW_ERROR_BOX,
333 0 : ::getBooleanCppuType(),
334 : beans::PropertyAttribute::BOUND
335 0 : | beans::PropertyAttribute::MAYBEVOID ));
336 : rOutProperties.push_back(
337 : Property( "PercentDiagonal",
338 : PROP_DATAPOINT_PERCENT_DIAGONAL,
339 0 : ::getCppuType( reinterpret_cast< const sal_Int16 * >(0)),
340 : beans::PropertyAttribute::BOUND
341 0 : | beans::PropertyAttribute::MAYBEVOID ));
342 0 : }
343 :
344 0 : void DataPointProperties::AddDefaultsToMap(
345 : ::chart::tPropertyValueMap & rOutMap )
346 : {
347 0 : PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_DATAPOINT_COLOR, 0x0099ccff ); // blue 8
348 0 : PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, PROP_DATAPOINT_TRANSPARENCY, 0 );
349 :
350 : //fill
351 0 : PropertyHelper::setPropertyValueDefault( rOutMap, PROP_DATAPOINT_FILL_STYLE, drawing::FillStyle_SOLID );
352 0 : PropertyHelper::setEmptyPropertyValueDefault( rOutMap, PROP_DATAPOINT_TRANSPARENCY_GRADIENT_NAME );
353 0 : PropertyHelper::setEmptyPropertyValueDefault( rOutMap, PROP_DATAPOINT_GRADIENT_NAME );
354 0 : PropertyHelper::setEmptyPropertyValueDefault( rOutMap, PROP_DATAPOINT_HATCH_NAME );
355 0 : PropertyHelper::setEmptyPropertyValueDefault( rOutMap, PROP_DATAPOINT_FILL_BITMAP_NAME );
356 0 : PropertyHelper::setPropertyValueDefault( rOutMap, PROP_DATAPOINT_FILL_BACKGROUND, false );
357 :
358 : //border
359 0 : PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_DATAPOINT_BORDER_COLOR, 0x000000 ); // black
360 0 : PropertyHelper::setPropertyValueDefault( rOutMap, PROP_DATAPOINT_BORDER_STYLE, drawing::LineStyle_SOLID ); // drawing::LineStyle_NONE
361 0 : PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, PROP_DATAPOINT_BORDER_WIDTH, 0 );
362 0 : PropertyHelper::setEmptyPropertyValueDefault( rOutMap, PROP_DATAPOINT_BORDER_DASH_NAME );
363 0 : PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, PROP_DATAPOINT_BORDER_TRANSPARENCY, 0 );
364 :
365 : //line
366 0 : PropertyHelper::setPropertyValueDefault( rOutMap, LinePropertiesHelper::PROP_LINE_STYLE, drawing::LineStyle_SOLID );
367 0 : PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, LinePropertiesHelper::PROP_LINE_WIDTH, 0 );
368 0 : PropertyHelper::setPropertyValueDefault( rOutMap, LinePropertiesHelper::PROP_LINE_DASH, drawing::LineDash());
369 0 : PropertyHelper::setEmptyPropertyValueDefault( rOutMap, LinePropertiesHelper::PROP_LINE_DASH_NAME );
370 :
371 : //fill bitmap
372 0 : PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, FillProperties::PROP_FILL_BITMAP_OFFSETX, 0 );
373 0 : PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, FillProperties::PROP_FILL_BITMAP_OFFSETY, 0 );
374 0 : PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, FillProperties::PROP_FILL_BITMAP_POSITION_OFFSETX, 0 );
375 0 : PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, FillProperties::PROP_FILL_BITMAP_POSITION_OFFSETY, 0 );
376 0 : PropertyHelper::setPropertyValueDefault( rOutMap, FillProperties::PROP_FILL_BITMAP_RECTANGLEPOINT, drawing::RectanglePoint_MIDDLE_MIDDLE );
377 0 : PropertyHelper::setPropertyValueDefault( rOutMap, FillProperties::PROP_FILL_BITMAP_LOGICALSIZE, true );
378 :
379 0 : PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, FillProperties::PROP_FILL_BITMAP_SIZEX, 0 );
380 0 : PropertyHelper::setPropertyValueDefault< sal_Int32 >( rOutMap, FillProperties::PROP_FILL_BITMAP_SIZEY, 0 );
381 0 : PropertyHelper::setPropertyValueDefault( rOutMap, FillProperties::PROP_FILL_BITMAP_MODE, drawing::BitmapMode_REPEAT );
382 :
383 : //others
384 0 : chart2::Symbol aSymbProp;
385 0 : aSymbProp.Style = chart2::SymbolStyle_NONE;
386 0 : aSymbProp.StandardSymbol = 0;
387 0 : aSymbProp.Size = awt::Size( 250, 250 ); // ca. 7pt x 7pt (7pt=246.94)
388 0 : aSymbProp.BorderColor = 0x000000; // Black
389 0 : aSymbProp.FillColor = 0xee4000; // OrangeRed2
390 0 : PropertyHelper::setPropertyValueDefault( rOutMap, PROP_DATAPOINT_SYMBOL_PROP, aSymbProp );
391 :
392 0 : PropertyHelper::setPropertyValueDefault< double >( rOutMap, PROP_DATAPOINT_OFFSET, 0.0 );
393 0 : PropertyHelper::setPropertyValueDefault( rOutMap, PROP_DATAPOINT_GEOMETRY3D, chart2::DataPointGeometry3D::CUBOID );
394 :
395 : PropertyHelper::setPropertyValueDefault(
396 : rOutMap, PROP_DATAPOINT_LABEL,
397 : chart2::DataPointLabel(
398 : sal_False, // ShowNumber
399 : sal_False, // ShowNumberInPercent
400 : sal_False, // ShowCategoryName
401 : sal_False // ShowLegendSymbol
402 0 : ));
403 :
404 0 : PropertyHelper::setPropertyValueDefault< OUString >( rOutMap, PROP_DATAPOINT_LABEL_SEPARATOR, " " );
405 :
406 : //@todo maybe choose a different one here -> should be dynamically that of the attached axis
407 0 : PropertyHelper::setPropertyValueDefault( rOutMap, PROP_DATAPOINT_ERROR_BAR_X, uno::Reference< beans::XPropertySet >());
408 0 : PropertyHelper::setPropertyValueDefault( rOutMap, PROP_DATAPOINT_ERROR_BAR_Y, uno::Reference< beans::XPropertySet >());
409 0 : PropertyHelper::setPropertyValueDefault< sal_Int16 >( rOutMap, PROP_DATAPOINT_PERCENT_DIAGONAL, 0 );
410 :
411 0 : PropertyHelper::setPropertyValueDefault< double >( rOutMap, PROP_DATAPOINT_TEXT_ROTATION, 0.0 );
412 0 : }
413 :
414 : } // namespace chart
415 :
416 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|