mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-03 00:04:37 -05:00
77 lines
2.4 KiB
Plaintext
77 lines
2.4 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/plot/qgsbarchartplot.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsBarChartPlot : Qgs2DXyPlot
|
|
{
|
|
%Docstring(signature="appended")
|
|
A simple bar chart class.
|
|
|
|
.. warning::
|
|
|
|
This class is not considered stable API, and may change in future!
|
|
|
|
.. versionadded:: 4.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsbarchartplot.h"
|
|
%End
|
|
public:
|
|
|
|
QgsBarChartPlot();
|
|
~QgsBarChartPlot();
|
|
|
|
virtual QString type() const;
|
|
|
|
virtual void renderContent( QgsRenderContext &context, QgsPlotRenderContext &plotContext, const QRectF &plotArea, const QgsPlotData &plotData = QgsPlotData() );
|
|
|
|
|
|
virtual bool writeXml( QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context ) const;
|
|
|
|
virtual bool readXml( const QDomElement &element, const QgsReadWriteContext &context );
|
|
|
|
|
|
QgsFillSymbol *fillSymbolAt( int index ) const;
|
|
%Docstring
|
|
Returns the fill symbol for the series with matching ``index``.
|
|
%End
|
|
|
|
void setFillSymbolAt( int index, QgsFillSymbol *symbol /Transfer/ );
|
|
%Docstring
|
|
Sets the fill ``symbol`` to use for the series with matching ``index``.
|
|
%End
|
|
|
|
int fillSymbolCount() const;
|
|
%Docstring
|
|
Returns the fill symbols list count.
|
|
%End
|
|
|
|
static QgsBarChartPlot *create() /Factory/;
|
|
%Docstring
|
|
Returns a new bar chart.
|
|
%End
|
|
|
|
static QgsVectorLayerAbstractPlotDataGatherer *createDataGatherer( QgsPlot *plot ) /TransferBack/;
|
|
%Docstring
|
|
Returns a new data gatherer for a given bar chart ``plot``.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/plot/qgsbarchartplot.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.py again *
|
|
************************************************************************/
|