##// END OF EJS Templates
bug fix in bar charts. Crashed, if layout was set before data. Also integrated to test app.
bug fix in bar charts. Crashed, if layout was set before data. Also integrated to test app.

File last commit:

r140:683f8b9c197b
r165:2ff4f264aa68
Show More
qchartaxis.cpp
53 lines | 873 B | text/x-c | CppLexer
Michal Klocek
Adds qchartaxis stub
r72
#include "qchartaxis.h"
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85 QTCOMMERCIALCHART_BEGIN_NAMESPACE
Michal Klocek
Adds refactored axis to presenter
r140 QChartAxis::QChartAxis(QObject* parent):QObject(parent),
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85 m_axisVisible(true),
m_girdVisible(true),
m_labelsVisible(true),
m_rowShadesVisible(true)
Michal Klocek
Adds qchartaxis stub
r72 {
// TODO Auto-generated constructor stub
}
QChartAxis::~QChartAxis()
{
// TODO Auto-generated destructor stub
}
Michal Klocek
Adds refactored axis to presenter
r140 void QChartAxis::setAxisPen(const QPen& pen)
{
m_axisPen = pen;
}
void QChartAxis::setAxisBrush(const QBrush& brush)
{
m_axisBrush = brush;
}
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85 void QChartAxis::setAxisVisible(bool visible)
{
m_axisVisible=visible;
}
void QChartAxis::setGridVisible(bool visible)
{
m_girdVisible=visible;
}
void QChartAxis::setLabelsVisible(bool visible)
{
m_labelsVisible=visible;
}
void QChartAxis::setRowShadesVisible(bool visible)
{
m_rowShadesVisible=visible;
}
Michal Klocek
Adds refactored axis to presenter
r140 #include "moc_qchartaxis.cpp"
Michal Klocek
Refactora axis and line chart to use graphics items insted of painter.
r85
QTCOMMERCIALCHART_END_NAMESPACE