##// END OF EJS Templates
Revert "Fixes line uder grid issue"...
Revert "Fixes line uder grid issue" This reverts commit 3ea3ba4a33950ea7420e16913d228ed53fe566c3.

File last commit:

r188:81d9e3777fdd
r191:0b54368f72bb
Show More
qchartaxis.cpp
86 lines | 1.4 KiB | text/x-c | CppLexer
#include "qchartaxis.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QChartAxis::QChartAxis():
m_axisVisible(true),
m_gridVisible(true),
m_labelsVisible(true),
m_shadesVisible(true),
m_shadesOpacity(1.0)
{
// TODO Auto-generated constructor stub
}
QChartAxis::~QChartAxis()
{
// TODO Auto-generated destructor stub
}
void QChartAxis::setAxisPen(const QPen& pen)
{
m_axisPen=pen;
}
void QChartAxis::setAxisVisible(bool visible)
{
m_axisVisible=visible;
}
void QChartAxis::setGridVisible(bool visible)
{
m_gridVisible=visible;
}
void QChartAxis::setGridPen(const QPen& pen)
{
m_gridPen=pen;
}
void QChartAxis::setLabelsVisible(bool visible)
{
m_labelsVisible=visible;
}
void QChartAxis::setLabelsPen(const QPen& pen)
{
m_labelsPen=pen;
}
void QChartAxis::setLabelsBrush(const QBrush& brush)
{
m_labelsBrush=brush;
}
void QChartAxis::setLabelsFont(const QFont& font)
{
m_labelsFont=font;
}
void QChartAxis::setLabelsOrientation(LabelsOrientation orientation)
{
m_labelsOrientation=orientation;
}
void QChartAxis::setShadesVisible(bool visible)
{
m_shadesVisible=visible;
}
void QChartAxis::setShadesPen(const QPen& pen)
{
m_shadesPen=pen;
}
void QChartAxis::setShadesBrush(const QBrush& brush)
{
m_shadesBrush=brush;
}
void QChartAxis::setShadesOpacity(qreal opacity)
{
m_shadesOpacity=opacity;
}
QTCOMMERCIALCHART_END_NAMESPACE