改进代码

This commit is contained in:
feiyangqingyun
2021-10-08 10:52:05 +08:00
parent f6923b97a2
commit 200b7eeafb
171 changed files with 2894 additions and 1940 deletions

View File

@@ -17,7 +17,7 @@
/*!
\brief Abstract base class for bar chart items
In opposite to almost all other plot items bar charts can't be
In opposite to almost all other plot items bar charts can't be
displayed inside of their bounding rectangle and need a special
API how to calculate the width of the bars and how they affect
the layout of the attached plot.
@@ -78,7 +78,7 @@ public:
void setBaseline( double );
double baseline() const;
virtual void getCanvasMarginHint(
virtual void getCanvasMarginHint(
const QwtScaleMap &xMap, const QwtScaleMap &yMap,
const QRectF &canvasRect,
double &left, double &top, double &right, double &bottom) const;
@@ -86,7 +86,7 @@ public:
protected:
double sampleWidth( const QwtScaleMap &map,
double canvasSize, double dataSize,
double canvasSize, double boundingSize,
double value ) const;
private: