namespace chart
{ /** This class is a container of `SeriesPlotter` objects (such as `PieChart` *instances).Itisusedforinitializingcoordinatesystems,axesandscales *ofallseriesplotterswhichbelongstothecontainer.
*/ class SeriesPlotterContainer
{ public: explicit SeriesPlotterContainer(std::vector<std::unique_ptr<VCoordinateSystem>>& rVCooSysList);
~SeriesPlotterContainer();
/** It is used to set coordinate systems (`m_rVCooSysList`), this method *isinvokedby`ChartView::createShapes2D`beforeof *`ChartView::impl_createDiagramAndContent`. *Coordinatesystemsareretrievedthroughthe`XCoordinateSystemContainer` *interfaceimplementedbyadiagramobjectwhichisprovidedbythe *`ChartModel`objectpassedtothemethod(`rChartModel.getFirstDiagram()`). * *Itisusedforcreatingseriesplottersandappendingthem *to`m_aSeriesPlotterList`.Thecreatedseriesplottersareinitialized *throughdata(numberformatssupplier,colorscheme,dataseries), *extractedfromthechartmodelorthediagramobjects.Anexceptionis *theexplicitcategoryproviderthatisretrievedthroughthe *`VCoordinateSystem`objectusedbytheseriesplotter. * *Itsetstheminimum-maximumsupplierforacoordinatesystem: *thissupplieristheseriesplotteritselfwhichutilizesthegiven *coordinatesystem.Infact`VSeriesPlotter`has`MinimumMaximumSupplier` *asoneofitsbaseclasses. *Hence,forinstance,a`PieChart`,whichisaseriesplotter,is *a`MinimumMaximumSupplier`,too.
*/ void initializeCooSysAndSeriesPlotter(ChartModel& rModel);
/** This method is invoked by `ChartView::impl_createDiagramAndContent`. *Ititeratesoneveryaxisofeverycoordinatesystems,andiftheaxis *isnotyetpresentin`m_aAxisUsageList`itcreatesanew`AxisUsage` *objectandinitializeits`aAutoScaling`membertothe`ScaleData` *objectofthecurrentaxis.
*/ void initAxisUsageList(const Date& rNullDate);
private: /** A vector of series plotters.
*/
std::vector<std::unique_ptr<VSeriesPlotter>> m_aSeriesPlotterList;
/** A vector of coordinate systems.
*/
std::vector<std::unique_ptr<VCoordinateSystem>>& m_rVCooSysList;
/** A map whose key is a `XAxis` interface and the related value is *anobjectof`AxisUsage`type.
*/
std::map<rtl::Reference<Axis>, AxisUsage> m_aAxisUsageList;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.