mirror of
https://github.com/fralx/LimeReport.git
synced 2025-10-03 03:57:31 +03:00
ChartItem has been refactored
This commit is contained in:
17
limereport/items/charts/lrlineschart.h
Normal file
17
limereport/items/charts/lrlineschart.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef LINESCHART_H
|
||||
#define LINESCHART_H
|
||||
|
||||
#include "lrchartitem.h"
|
||||
|
||||
namespace LimeReport {
|
||||
class LinesChart: public AbstractBarChart{
|
||||
public:
|
||||
LinesChart(ChartItem* chartItem):AbstractBarChart(chartItem){}
|
||||
void paintChart(QPainter *painter, QRectF chartRect);
|
||||
private:
|
||||
void paintSerialLines(QPainter *painter, QRectF barsRect);
|
||||
void drawDesignMode(QPainter *painter, qreal hStep, qreal vStep, qreal topShift, QRectF barsRect);
|
||||
};
|
||||
}
|
||||
|
||||
#endif // LINESCHART_H
|
Reference in New Issue
Block a user