@@ -49,9 +49,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
49 | 49 | /*! |
|
50 | 50 | \property QBarSeries::barMargin |
|
51 | 51 | \brief Defines the margin around bars. |
|
52 | ||
|
53 | Value is from 0 to 1 and represents | |
|
54 | percentage of margin compared to bars | |
|
55 | 52 | */ |
|
56 | 53 | |
|
57 | 54 | /*! |
@@ -80,10 +77,6 QTCOMMERCIALCHART_BEGIN_NAMESPACE | |||
|
80 | 77 | */ |
|
81 | 78 | |
|
82 | 79 | /*! |
|
83 | \fn void QBarSeries::visibleChanged() | |
|
84 | */ | |
|
85 | ||
|
86 | /*! | |
|
87 | 80 | \fn void QBarSeries::labelsVisibleChanged() |
|
88 | 81 | |
|
89 | 82 | This signal is emitted when labels visibility have changed. |
@@ -144,8 +137,11 QAbstractSeries::SeriesType QBarSeries::type() const | |||
|
144 | 137 | } |
|
145 | 138 | |
|
146 | 139 | /*! |
|
147 | Sets the margin around bars. Parameter \a margin is from 0 to 1 and represents | |
|
148 | percentage of margin compared to bars | |
|
140 | Sets the margin of the bars of the series. The unit of \a margin is the unit of x-axis. Setting the margin to 0.0 | |
|
141 | means there is no margin around the bars, making a single bar or bargroup to take one x-axis unit on the screen. | |
|
142 | Setting margin to maximum value of 1.0 makes the bar width to exactly 1 pixel on the screen. Bars cannot be zero | |
|
143 | width, otherwise they would not be visible at all. If you want to hide bars, use visible property of the series | |
|
144 | instead. | |
|
149 | 145 | */ |
|
150 | 146 | void QBarSeries::setBarMargin(qreal margin) |
|
151 | 147 | { |
General Comments 0
You need to be logged in to leave comments.
Login now