17#ifndef QGSPIECHARTPLOT_H
18#define QGSPIECHARTPLOT_H
45 QString
type()
const override {
return QStringLiteral(
"pie" ); }
136 Qgis::PieChartLabelType mLabelType =
Qgis::PieChartLabelType::NoLabels;
Provides global constants and enumerations for use throughout the application.
PieChartLabelType
Pie chart label types.
bool writeXml(QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const override
Writes the plot's properties into an XML element.
virtual void renderContent(QgsRenderContext &context, QgsPlotRenderContext &plotContext, const QRectF &plotArea, const QgsPlotData &plotData=QgsPlotData())
Renders the plot content.
Qgs2DPlot()
Constructor for Qgs2DPlot.
bool readXml(const QDomElement &element, const QgsReadWriteContext &context) override
Reads the plot's properties from an XML element.
Abstract base class for color ramps.
A fill symbol type, for rendering Polygon and MultiPolygon geometries.
A simple pie chart class.
QgsTextFormat textFormat() const
Returns the text format used for the pie chart labels.
~QgsPieChartPlot() override=default
QgsNumericFormat * numericFormat() const
Returns the numeric format used for the pie chart labels.
Qgis::PieChartLabelType labelType() const
Returns the pie chart label type.
int fillSymbolCount() const
Returns the fill symbols list count.
int colorRampCount() const
Returns the color ramps list count.
QString type() const override
Returns the plot's type.
Encapsulates one or more plot series.
Contains information about the context of a plot rendering operation.
Base class for plot/chart/graphs.
A container for the context for various read/write operations on objects.
Contains information about the context of a rendering operation.
Container for all settings relating to text rendering.
An abstract vector layer plot data gatherer base class.