##// END OF EJS Templates
Bar series to use theme base colors. Pie brush minor fix....
Bar series to use theme base colors. Pie brush minor fix. Also fixed pen of bar series and stacked bar series.

File last commit:

r497:9455cddd70de
r661:4756f59398b8
Show More
qchartaxiscategories.cpp
44 lines | 798 B | text/x-c | CppLexer
/ src / axis / qchartaxiscategories.cpp
#include "qchartaxiscategories.h"
QTCOMMERCIALCHART_BEGIN_NAMESPACE
QChartAxisCategories::QChartAxisCategories()
{
// TODO Auto-generated constructor stub
}
QChartAxisCategories::~QChartAxisCategories()
{
// TODO Auto-generated destructor stub
}
void QChartAxisCategories::insert(qreal value,QString label)
{
m_map.insert(value,label);
emit updated();
}
void QChartAxisCategories::remove(qreal value)
{
m_map.remove(value);
emit updated();
}
void QChartAxisCategories::clear()
{
m_map.clear();
emit updated();
}
int QChartAxisCategories::count()
{
return m_map.count();
emit updated();
}
QString QChartAxisCategories::label(qreal value) const
{
return m_map.value(value);
}
#include "moc_qchartaxiscategories.cpp"
QTCOMMERCIALCHART_END_NAMESPACE