##// END OF EJS Templates
Fix assert failure with percent bar series...
Fix assert failure with percent bar series Category groups with zero values are not drawn. Task-number: QTRD-3087 Change-Id: Ie6f85e48398e751213b11d88c0c6a8de2ce8247a Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>

File last commit:

r2688:bdd8266c9c7d
r2690:6c409268c150
Show More
qpercentbarseries_p.h
51 lines | 1.5 KiB | text/x-c | CLexer
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc
** All rights reserved.
** For any questions to Digia, please use contact form at http://qt.digia.com
**
** This file is part of the Qt Enterprise Charts Add-on.
**
** $QT_BEGIN_LICENSE$
** Licensees holding valid Qt Enterprise licenses may use this file in
** accordance with the Qt Enterprise License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.
**
** If you have questions regarding the use of this file, please use
** contact form at http://qt.digia.com
** $QT_END_LICENSE$
**
****************************************************************************/
// W A R N I N G
// -------------
//
// This file is not part of the Qt Enterprise Chart API. It exists purely as an
// implementation detail. This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
#ifndef QPERCENTBARSERIES_P_H
#define QPERCENTBARSERIES_P_H
#include "qabstractbarseries_p.h"
#include "abstractdomain_p.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class QPercentBarSeriesPrivate: public QAbstractBarSeriesPrivate
{
public:
QPercentBarSeriesPrivate(QPercentBarSeries *q);
void initializeDomain();
void initializeGraphics(QGraphicsItem* parent);
private:
Q_DECLARE_PUBLIC(QPercentBarSeries)
};
QTCOMMERCIALCHART_END_NAMESPACE
#endif