For example, changing the look of the horizontal grid lines, which are tied to the left axis, is done by accessing customPlot ->yAxis ->grid(). The grid is modified by accessing the respective QCPGrid instance of an axis. arrows) at the axis ends, use setLowerEnding or setUpperEnding.of the grid lines make the values decrease instead of increase from left to right) with setRangeReversed. ![]() Here's a quick summary of the most important properties: setBasePen, setTickPen, setTickLength, setSubTickLength, setSubTickPen, setTickLabelFont, setLabelFont, setTickLabelPadding, setLabelPadding. A look at the documentation of QCPAxis should be self-explanatory. The appearance of the axis can be modified by changing the pens they are painted with and the fonts their labels use. Set the configured brush via graph ->setBrush(.). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |