From 66cad313fa4e9a546fcdc7b2c1c18fe35ca7d924 2012-09-27 06:22:45 From: Tero Ahola Date: 2012-09-27 06:22:45 Subject: [PATCH] Fixed documentation bugs in QML ChartView --- diff --git a/plugins/declarative/declarativechart.cpp b/plugins/declarative/declarativechart.cpp index 297dee1..7fb8b0b 100644 --- a/plugins/declarative/declarativechart.cpp +++ b/plugins/declarative/declarativechart.cpp @@ -63,7 +63,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! - \qmlproperty Animation ChartView::animation + \qmlproperty Animation ChartView::animationOptions Animation configuration of the chart. One of ChartView.NoAnimation, ChartView.GridAxisAnimations, ChartView.SeriesAnimations or ChartView.AllAnimations. */ @@ -82,21 +82,11 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE */ /*! - \qmlproperty string ChartView::titleColor + \qmlproperty color ChartView::titleColor The color of the title text. */ /*! - \qmlproperty Axis ChartView::axisX - The x-axis of the chart. -*/ - -/*! - \qmlproperty Axis ChartView::axisY - The default y-axis of the chart. -*/ - -/*! \qmlproperty Legend ChartView::legend The legend of the chart. Legend lists all the series, pie slices and bar sets added on the chart. */ diff --git a/src/legend/qlegend.cpp b/src/legend/qlegend.cpp index beacb7d..78f44b1 100644 --- a/src/legend/qlegend.cpp +++ b/src/legend/qlegend.cpp @@ -125,7 +125,7 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE The font of markers used by legend */ /*! - \qmlproperty color Legend::font + \qmlproperty Font Legend::font The font of markers used by legend */