@@ -82,8 +82,15 void BoxPlotChartItem::handleDataStructureChanged() | |||
|
82 | 82 | connect(box, SIGNAL(hovered(bool, QBoxSet *)), set, SIGNAL(hovered(bool))); |
|
83 | 83 | |
|
84 | 84 | // Set the decorative issues for the newly created box |
|
85 | // so that the brush and pen already defined for the set are kept. | |
|
86 | if (set->brush() == Qt::NoBrush) | |
|
85 | 87 | box->setBrush(m_series->brush()); |
|
88 | else | |
|
89 | box->setBrush(set->brush()); | |
|
90 | if (set->pen() == Qt::NoPen) | |
|
86 | 91 | box->setPen(m_series->pen()); |
|
92 | else | |
|
93 | box->setPen(set->pen()); | |
|
87 | 94 | box->setBoxOutlined(m_series->boxOutlineVisible()); |
|
88 | 95 | box->setBoxWidth(m_series->boxWidth()); |
|
89 | 96 | } |
General Comments 0
You need to be logged in to leave comments.
Login now