diff --git a/src/axis/qabstractaxis.cpp b/src/axis/qabstractaxis.cpp index 039cf1a..ac31a7a 100644 --- a/src/axis/qabstractaxis.cpp +++ b/src/axis/qabstractaxis.cpp @@ -174,6 +174,42 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! + \property QAbstractAxis::titleVisible + The visibility of the axis title. By default the value is true. +*/ +/*! + \qmlproperty bool AbstractAxis::titleVisible + The visibility of the axis title. By default the value is true. +*/ + +/*! + \property QAbstractAxis::titleFont + The font of the title of the axis. +*/ +/*! + \qmlproperty Font AbstractAxis::title + The font of the title of the axis. +*/ + +/*! + \property QAbstractAxis::title + The title of the axis. Empty by default. +*/ +/*! + \qmlproperty string AbstractAxis::title + The title of the axis. Empty string by default. +*/ + +/*! + \property QAbstractAxis::alignment + The alignment of the axis. Either Qt::AlignLeft or Qt::AlignBottom. +*/ +/*! + \qmlproperty alignment AbstractAxis::alignment + The alignment of the axis. Either Qt.AlignLeft or Qt.AlignBottom. +*/ + +/*! \fn void QAbstractAxis::visibleChanged(bool visible) Visibility of the axis has changed to \a visible. */ diff --git a/src/legend/qarealegendmarker.cpp b/src/legend/qarealegendmarker.cpp index b98daa5..0f93b02 100644 --- a/src/legend/qarealegendmarker.cpp +++ b/src/legend/qarealegendmarker.cpp @@ -41,7 +41,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! - Constructor + \internal */ QAreaLegendMarker::QAreaLegendMarker(QAreaSeries *series, QLegend *legend, QObject *parent) : QLegendMarker(*new QAreaLegendMarkerPrivate(this,series,legend), parent) diff --git a/src/legend/qbarlegendmarker.cpp b/src/legend/qbarlegendmarker.cpp index db9d668..24bd38a 100644 --- a/src/legend/qbarlegendmarker.cpp +++ b/src/legend/qbarlegendmarker.cpp @@ -41,6 +41,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! + \internal Constructor */ QBarLegendMarker::QBarLegendMarker(QAbstractBarSeries *series, QBarSet *barset, QLegend *legend, QObject *parent) : diff --git a/src/legend/qlegend.cpp b/src/legend/qlegend.cpp index faaf789..b0e832f 100644 --- a/src/legend/qlegend.cpp +++ b/src/legend/qlegend.cpp @@ -156,10 +156,6 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE This signal is emitted when the color of brush used to draw labels has changed to \a color. */ -/*! - Constructs the legend object and sets the parent to \a parent - */ - QLegend::QLegend(QChart *chart): QGraphicsWidget(chart), d_ptr(new QLegendPrivate(chart->d_ptr->m_presenter, chart, this)) { diff --git a/src/legend/qlegendmarker.cpp b/src/legend/qlegendmarker.cpp index 6279edf..5023fa8 100644 --- a/src/legend/qlegendmarker.cpp +++ b/src/legend/qlegendmarker.cpp @@ -78,6 +78,36 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! + \fn void QLegendMarker::labelChanged() + This signal is emitted when the label of the legend marker has changed. +*/ + +/*! + \fn void QLegendMarker::labelBrushChanged() + This signal is emitted when the label brush of the legend marker has changed. +*/ + +/*! + \fn void QLegendMarker::fontChanged() + This signal is emitted when the (label) font of the legend marker has changed. +*/ + +/*! + \fn void QLegendMarker::penChanged() + This signal is emitted when the pen of the legend marker has changed. +*/ + +/*! + \fn void QLegendMarker::brushChanged() + This signal is emitted when the brush of the legend marker has changed. +*/ + +/*! + \fn void QLegendMarker::visibleChanged() + This signal is emitted when the visibility of the legend marker has changed. +*/ + +/*! \property QLegendMarker::label Label of the marker. This is the text that is shown in legend. */ @@ -109,7 +139,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE /*! - Constructor of marker + \internal */ QLegendMarker::QLegendMarker(QLegendMarkerPrivate &d, QObject *parent) : QObject(parent), diff --git a/src/legend/qpielegendmarker.cpp b/src/legend/qpielegendmarker.cpp index 03a73c0..a5729e3 100644 --- a/src/legend/qpielegendmarker.cpp +++ b/src/legend/qpielegendmarker.cpp @@ -41,7 +41,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! - Constructor + \internal */ QPieLegendMarker::QPieLegendMarker(QPieSeries *series, QPieSlice *slice, QLegend *legend, QObject *parent) : QLegendMarker(*new QPieLegendMarkerPrivate(this,series,slice,legend), parent) diff --git a/src/legend/qxylegendmarker.cpp b/src/legend/qxylegendmarker.cpp index 7c11bf8..894f9c3 100644 --- a/src/legend/qxylegendmarker.cpp +++ b/src/legend/qxylegendmarker.cpp @@ -41,7 +41,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! - Constructor + \internal */ QXYLegendMarker::QXYLegendMarker(QXYSeries *series, QLegend *legend, QObject *parent) : QLegendMarker(*new QXYLegendMarkerPrivate(this,series,legend), parent)