目录
5 QCPLayer(图层)
6 QCPLayerable(图层元素)
6.2 QCPAbstractPlottable(绘图元素)
6.2.1 QCPBars(条形图)
6.2.2 QCPCurve(曲线图)
6.2.3 QCPGraph(折线图)
6.5.1.1 QCPPlottableLegendItem
6.5.2 QCPAxisRect(坐标轴矩形)
6.11 QCustomPlot(图表类)
1 QCPBarData
Holds the data of one single data point (one bar) for QCPBars
2 QCPCurveData
Holds the data of one single data point for QCPCurve
3 QCPData
Holds the data of one single data point for QCPGraph
4 QCPItemAnchor
An anchor of an item to which positions can be attached to
4.1 QCPItemPosition
Manages the position of an item
5 QCPLayer
A layer that may contain objects, to control the rendering order
QCPLayer是图层类,管理图层元素(QCPLayerable)
6 QCPLayerable
Base class for all drawable objects
QCPLayerable是图层元素类,由图层类QCPLayer负责管理,所有可显示的对象都继承自图层元素类
6.1 QCPAbstractItem
The abstract base class for all items in a plot
6.1.1 QCPItemBracket
A bracket for referencing/highlighting certain parts in the plot
6.1.2 QCPItemCurve
A curved line from one point to another
6.1.3 QCPItemEllipse
An ellipse
6.1.4 QCPItemLine
A line from one point to another
6.1.5 QCPItemPixmap
An arbitrary pixmap
6.1.6 QCPItemRect
A rectangle
6.1.7 QCPItemStraightLine
A straight line that spans infinitely in both directions
6.1.8 QCPItemText
A text label
6.1.9 QCPItemTracer
Item that sticks to QCPGraph data points
6.2 QCPAbstractPlottable
The abstract base class for all data representing objects in a plot
QCPAbstractPlottable是所有绘图元素类的基类
6.2.1 QCPBars
A plottable representing a bar chart in a plot
柱状图绘图元素
6.2.2 QCPCurve
A plottable representing a parametric curve in a plot
曲线图绘图元素
6.2.3 QCPGraph
A plottable representing a graph in a plot
折线图绘图元素
6.2.4 QCPStatisticalBox
A plottable representing a single statistical box in a plot
盒子图绘图元素
6.3 QCPAxis
Manages a single axis inside a QCustomPlot
坐标轴类,负责管理单个坐标轴。
6.4 QCPGrid
Responsible for drawing the grid of a QCPAxis
6.5 QCPLayoutElement
The abstract base class for all objects that form the layout system
6.5.1 QCPAbstractLegendItem
The abstract base class for all entries in a QCPLegend
6.5.1.1 QCPPlottableLegendItem
A legend item representing a plottable with an icon and the plottable name
6.5.2 QCPAxisRect
Holds multiple axes and arranges them in a rectangular shape
一个坐标轴矩形默认包含上下左右四个坐标轴,但是可以添加多个坐标轴
6.5.3 QCPLayout
The abstract base class for layouts
6.5.3.1 QCPLayoutGrid
A layout that arranges child elements in a grid
6.5.3.1.1 QCPLegend
Manages a legend inside a QCustomPlot
6.5.3.2 QCPLayoutInset
A layout that places child elements aligned to the border or arbitrarily positioned
6.5.4 QCPPlotTitle
A layout element displaying a plot title text
6.6 QCPLineEnding
Handles the different ending decorations for line-like items
6.7 QCPMarginGroup
A margin group allows synchronization of margin sides if working with multiple layout elements
6.8 QCPPainter
QPainter subclass used internally
6.9 QCPRange
Represents the range an axis is encompassing
6.10 QCPScatterStyle
Represents the visual appearance of scatter points
6.11 QCustomPlot
The central class of the library. This is the QWidget which displays the plot and interacts with the user
控件类,用于图表的显示和用户的交互