QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
20 #include "qgis_core.h"
57 virtual bool writeXml( QDomElement &element, QDomDocument &document,
QgsReadWriteContext &context )
const;
92 bool writeXml( QDomElement &element, QDomDocument &document,
QgsReadWriteContext &context )
const;
209 double mGridIntervalMinor = 1;
210 double mGridIntervalMajor = 5;
212 double mLabelInterval = 1;
214 std::unique_ptr< QgsNumericFormat > mNumericFormat;
216 std::unique_ptr< QgsLineSymbol > mGridMajorSymbol;
217 std::unique_ptr< QgsLineSymbol > mGridMinorSymbol;
269 virtual void renderContent(
QgsRenderContext &context,
const QRectF &plotArea );
283 void setSize( QSizeF size );
444 std::unique_ptr< QgsFillSymbol > mChartBackgroundSymbol;
445 std::unique_ptr< QgsFillSymbol > mChartBorderSymbol;
double gridIntervalMajor() const
Returns the interval of major grid lines for the axis.
void setYMinimum(double minimum)
Sets the minimum value of the y axis.
void setXMinimum(double minimum)
Sets the minimum value of the x axis.
The class is used as a container of context for various read/write operations on other objects.
void setLabelInterval(double interval)
Sets the interval of labels for the axis.
Base class for 2-dimensional plot/chart/graphs.
double yMinimum() const
Returns the minimum value of the y axis.
Contains information about the context of a rendering operation.
virtual bool readXml(const QDomElement &element, QgsReadWriteContext &context)
Reads the plot's properties from an XML element.
double yMaximum() const
Returns the maximum value of the y axis.
Container for all settings relating to text rendering.
const QgsPlotAxis & yAxis() const
Returns a reference to the plot's y axis.
double xMaximum() const
Returns the maximum value of the x axis.
A line symbol type, for rendering LineString and MultiLineString geometries.
The QgsMargins class defines the four margins of a rectangle.
virtual bool writeXml(QDomElement &element, QDomDocument &document, QgsReadWriteContext &context) const
Writes the plot's properties into an XML element.
double labelInterval() const
Returns the interval of labels for the axis.
void setGridIntervalMinor(double interval)
Sets the interval of minor grid lines for the axis.
void setYMaximum(double maximum)
Sets the maximum value of the y axis.
void setGridIntervalMajor(double interval)
Sets the interval of major grid lines for the axis.
double xMinimum() const
Returns the minimum value of the x axis.
const QgsPlotAxis & xAxis() const
Returns a reference to the plot's x axis.
void setXMaximum(double maximum)
Sets the maximum value of the x axis.
QgsPlotAxis & xAxis()
Returns a reference to the plot's x axis.
A fill symbol type, for rendering Polygon and MultiPolygon geometries.
double gridIntervalMinor() const
Returns the interval of minor grid lines for the axis.
QgsPlotAxis & yAxis()
Returns a reference to the plot's y axis.
Encapsulates the properties of a plot axis.
Base class for plot/chart/graphs.