#### Version 2.1.1 released on 06.11.22 ####
Added features:
- Qt6.4 Compatibility
Bugfixes:
- dynamically changing device pixel ratios (e.g. when moving between different DPI screens) is handled properly
- bugfix Colormap autoscaling: recalculateDataBounds() if (0, 0) data point is NaN.
- minor bugfix in getMantissa for certain values due to rounding errors
- Graphs with line style lsImpulse properly ignore NaN data points
- fixed issue where QCP wasn't greyed out together with the rest of the UI on embedded systems when a modal dialog is shown
(QCustomPlot no longer has the Qt::WA_OpaquePaintEvent attribute enabled by default)
Other:
- in QCPAxisPainterPrivate::getTickLabelData, don't use fixed 'e', but locale aware character of parent plot locale
- Axis rescaling now ignores +/- Inf in data values
- slight performance improvements of QCPColorMap colorization and fills.
#### Version 2.1.0 released on 29.03.21 ####
Added features:
- Compatibility up to Qt 6.0
- Tech Preview: Radial Plots (see setupPolarPlotDemo in examples project)
- QCPAxisTickerDateTime can now be configured with a QTimeZone for adjusting the label display to arbitrary time zones
- QCPColorGradient (and thus also QCPColorMap) now has explicit configurable NaN handling (see QCPColorGradient::setNanHandling)
- added timing/benchmarking method QCustomPlot::replotTime(bool average) which returns the milliseconds per replot
- QCustomPlot::plottableAt has an optional output parameter dataIndex, providing the index of the data point at the probed position
- QCustomPlot::plottableAt<T> template method allows limiting the search to the specified QCPAbstractPlottable subclass T
- QCustomPlot::itemAt<T> template method allows limiting the search to the specified QCPAbstractItem subclass T
- Added Interaction flag QCP::iSelectPlottablesBeyondAxisRect, allows selection of data points very close to (and beyond of) the axes
- QCPAxisTickerDateTime::dateTimeToKey(QDate &) now also takes a TimeSpec to specify the interpretation of the start-of-day
- QCPAxisTickerLog now switches to linear ticks if zoomed in beyond where logarithmic ticks are reasonable
- Added QCustomPlot::afterLayout signal, for user code that crucially depends on layout sizes/positions, right before the draw step during a replot
Bugfixes:
- Fixed bug where QCPLayer::replot wouldn't issue full replot even though invalidated buffers existed
- Fixed QCPCurve bug causing rendering artifacts when using keys/values smaller than about 1e-12 in some constellations
- Fixed getValueRange when used with explicit keyRange, now doesn't use key range expanded by one point to each side anymore
- Fixed bug of QCPAxis tick label font size change only propagating to the layout after second call to replot
- Fixed bug of QCPTextElement not respecting the configured text alignment flag (setTextFlags)
- Various documentation typos and improvements
Other:
- QCP Now requires C++11. However, Qt4.6 compatibility is maintained in the QCP 2.x release series
- QCPColorScale is now initialized with gpCold gradient preset, which prevents color maps turning black when linking them to a default-created color scale without explicitly setting a gradient
- QCPLegend::clearItems is now faster in case of many legend items (>1000)
- Modernized expressions and thereby avoided some warnings (e.g. nullptr and casts)
- Switched to foreach (Qt macro) where possible (in preparation for switch to range-based for (C++11), soonest at next major release)
- Work around Qt bug, drawing lines with pen width 1 as slow as with pen widths > 1 (polyfill instead of line algorithm, also on Normal-DPI), by using pen width 0 in such cases.
- Added QCP::Interaction flag iNone=0x000 to allow explicitly specifying no interaction (Avoids QFlags::zero, which was deprecated in Qt5.14)
- QCP is now compatible with defines QT_USE_QSTRINGBUILDER, QT_USE_FAST_CONCATENATION (Qt<4.8), QT_USE_FAST_OPERATOR_PLUS (Qt<4.8)
#### Version 2.0.1 released on 25.06.18 ####
Bugfixes:
- Default filling order of QCPLayoutGrid is now foColumnsFirst instead of foRowsFirst, as intended and consistent with QCP1.
Note that this also changes the indexing order of e.g. QCustomPlot::axisRect(int index), compared with 2.0.0. You can change
the filling and thus indexing order yourself by calling QCPLayoutGrid::setFillOrder.
- fixed bug in QCPColorMap, when using alpha in the gradient color stops. Used to draw falsely black data points when the associated data value is exactly
on the first or last color stop.
- QCPDataSelection::enforceType(stDataRange) would erroneously add an empty data range to the selection, if the selection was already empty.
This in turn would cause isEmpty() to erroneously return false.
- fixed hypothetical crash when selectTest is called on a QCPItemCurve which has all of its points at the same position
Other:
- Various documentation improvements and clarifications
- Prevent conflict with windows.h min/max macros if user forgets to define NOMINMAX
- compiling QCP shared libraries with static Qt is now easier
- added defines QCUSTOMPLOT_VERSION and QCUSTOMPLOT_VERSION_STR (the same way Qt does) to provide the used QCP version number
- added missing Q_DECL_OVERRIDE declarations, thus preventing warnings some compiler settings
- QCPAxisTicker and subclasses are no longer copyable by value, as intended
- QCPBarsGroup constructor is now explicit, as intended
- Qt 5.11 compatibility
#### Version 2.0.0 released on 04.09.17 ####
Added major features:
- Axis tick and tick label generation was completely refactored and is now handled in the QCPAxisTicker class (also see QCPAxis::setTicker). Available ticker subclasses for special uses cases:
QCPAxisTicker, QCPAxisTickerFixed, QCPAxisTickerLog, QCPAxisTickerPi, QCPAxisTickerTime, QCPAxisTickerDateTime, QCPAxisTickerText
- Data container is now based on QCPDataContainer template for unified data interface and significantly improved memory footprint and better performance for common use-cases, especially data adding/removing.
- New data selection mechanism allows selection of single data points and data ranges for plottables. See special documentation page "data selection mechanism".
- Rubber band/selection rect for data point selection and axis zooming is now available, see documentation of QCustomPlot::setSelectionRectMode and QCPSelectionRect. For this purpose, the new default
layer "overlay" was introduced, which is now the top layer, and holds the QCustomPlot's QCPSelectionRect instance.
- Data sharing between plottables of the same type (see setData methods taking a QSharedPointer)
- OpenGL hardware acceleration is now available across all Qt versions (including Qt4) in a unified, simple interface, with QCustomPlot::setOpenGl (experimental)
- QCPStatisticalBox can now display a series of statistical boxes instead of only a single one
- New QCPErrorBars plottable allows attaching error bars to any one-dimensional plottable (QCPGraph has thus lost its own error-bar capability)
- QCPColorMap now supports transparency via alpha in its color gradient stops, and via a dedicated cell-wise alpha map (see QCPColorMapData::setAlpha)
- Layers may now be individually replotted (QCPLayer::replot), if the mode (QCPLayer::setMode) is set to lmBuffered. Mutually adjacent lmLogical layers share a single paint buffer to save resources.
By default, the new topmost "overlay" layer which contains the selection rect is an lmBuffered layer. Updating the selection rect is thus very fast, independent of the plot contents.
- QCPLayerable (and thus practically all objects in QCP) now have virtual methods to receive mouse press/move/release/doubleclick/wheel events. Before, only QCPLayoutElement provided them.
this makes it much easier to subclass e.g. items and plottables to provide custom mouse interactions
没有合适的资源?快使用搜索试试~ 我知道了~
Qt 高性能曲线图绘制类QCustomplot2.1.1
共365个文件
png:164个
html:161个
cpp:13个
需积分: 0 26 下载量 20 浏览量
2023-05-25
14:13:37
上传
评论 1
收藏 3.82MB ZIP 举报
温馨提示
qt超强精美绘图控件 - QCustomPlot 版本2.1.1 压缩包内含,绘图类QCustomPlot,帮助文档qch与HTML,示例工程等。 简介: QCustomplot用于绘图和数据可视化的 Qt C++ 小部件,这个绘图库专注制作美观、出版质量的2D绘图、图形和图表,以及为实时可视化应用该程序提供高性能绘图。并可导出为各种格式,如矢量化PDF文件和光栅化图像,如PNG、JPG、BMP等。 这个库性能非常好,功能设置也非常方便,静态动态啊,放大缩小啊,都很好用,10w条数据量无压力画出来一点不卡。 下载地址: https://www.qcustomplot.com/index.php/download 使用时注意需要再pro文件里面写入 QT += printsupport
资源推荐
资源详情
资源评论
收起资源包目录
Qt 高性能曲线图绘制类QCustomplot2.1.1 (365个子文件)
qcustomplot.cpp 1.25MB
mainwindow.cpp 68KB
mainwindow.cpp 12KB
mainwindow.cpp 6KB
axistag.cpp 5KB
mainwindow.cpp 5KB
mainwindow.cpp 4KB
qcpdocumentobject.cpp 3KB
main.cpp 2KB
main.cpp 177B
main.cpp 177B
main.cpp 177B
main.cpp 177B
qcp.css 11KB
tabs.css 9KB
qcustomplot.h 303KB
mainwindow.h 5KB
qcpdocumentobject.h 3KB
axistag.h 2KB
mainwindow.h 2KB
mainwindow.h 2KB
mainwindow.h 2KB
mainwindow.h 870B
classQCustomPlot.html 304KB
classQCPPolarAxisAngular.html 200KB
classQCPAxis.html 186KB
classQCPPolarAxisRadial.html 163KB
classQCPGraph.html 156KB
classQCPAxisRect.html 143KB
classQCPCurve.html 128KB
classQCPLegend.html 127KB
classQCPFinancial.html 126KB
classQCPAbstractPlottable.html 119KB
classQCPErrorBars.html 118KB
classQCPBars.html 111KB
classQCPStatisticalBox.html 109KB
classQCPLayoutGrid.html 104KB
classQCPPolarGraph.html 99KB
classQCPColorMap.html 97KB
classQCPLayerable.html 89KB
classQCPTextElement.html 86KB
classQCPColorScale.html 84KB
classQCPAbstractItem.html 81KB
classQCPLayoutElement.html 80KB
classQCPAbstractPlottable1D.html 76KB
classQCPLayout.html 72KB
functions_s.html 72KB
classQCPItemText.html 72KB
classQCPLayoutInset.html 72KB
classQCPAbstractLegendItem.html 67KB
classQCPDataContainer.html 65KB
classQCPItemTracer.html 64KB
functions_func_s.html 63KB
classQCPItemPixmap.html 57KB
classQCPDataSelection.html 56KB
classQCPScatterStyle.html 55KB
classQCPItemBracket.html 54KB
classQCPPlottableLegendItem.html 54KB
classQCPItemPosition.html 54KB
classQCPItemEllipse.html 53KB
classQCPItemRect.html 52KB
classQCPColorMapData.html 50KB
classQCPItemLine.html 50KB
classQCPItemCurve.html 49KB
classQCPSelectionRect.html 49KB
classQCPPolarLegendItem.html 48KB
classQCPRange.html 47KB
classQCPColorGradient.html 46KB
classQCPItemStraightLine.html 46KB
classQCPAxisTicker.html 44KB
classQCPAxisTickerDateTime.html 43KB
classQCPVector2D.html 39KB
classQCPAxisTickerPi.html 37KB
classQCPSelectionDecoratorBracket.html 37KB
classQCPBarsGroup.html 37KB
classQCPAxisTickerText.html 36KB
namespaceQCP.html 36KB
classQCPGrid.html 35KB
classQCPPolarGrid.html 35KB
classQCPPlottableInterface1D.html 34KB
hierarchy.html 32KB
classQCPAxisTickerTime.html 31KB
classQCPLayer.html 30KB
classQCPDataRange.html 29KB
annotated.html 26KB
classQCPLineEnding.html 26KB
functions_eval.html 25KB
classQCPAxisTickerFixed.html 24KB
classQCPSelectionDecorator.html 24KB
classQCPPainter.html 23KB
classQCPAbstractPaintBuffer.html 23KB
classQCPAxisTickerLog.html 23KB
classQCPStatisticalBoxData.html 19KB
classQCPPaintBufferGlFbo.html 19KB
thelayoutsystem.html 19KB
index.html 18KB
inherits.html 17KB
classQCPItemAnchor.html 17KB
classQCPPaintBufferGlPbuffer.html 17KB
classQCPFinancialData.html 17KB
共 365 条
- 1
- 2
- 3
- 4
资源评论
yo~Magee
- 粉丝: 250
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 农村信用社联合社计算机信息系统投产与变更管理办.docx
- 农村信用社联合社计算机信息系统数据管理办法.docx
- 利用SPSS作临床效度分析线上计算网站介绍-医学研究部统计谘.(医学PPT课件).ppt
- 利用Zabbix监控mysqldump定时备份数据库状态.docx
- 利用计算机解决问题的基本过程.doc
- 化工铁路通信工程总结.doc
- 北京大学网络教育软件工程作业.docx
- 医药公司(连锁店)计算机操作规程未新系统的自行按照旧制修改-新系统过制的编号加修模版.doc
- 医药公司(连锁店)计算机系统操作规程模版.doc
- 医药连锁门店计算机系统的操作和管理程序未新系统的自行按照旧制修改-新系统过制的编号加修模版.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功