QT中使用QWT实现一类柱状图多种颜色

上传者: 32716885 | 上传时间: 2021-04-21 22:08:09 | 文件大小: 175.97MB | 文件类型: ZIP
qt5
实现的主要功能是: 1:一类柱状图可以使用多种颜色表达 2:每个柱状体的宽度设置 3:X轴刻度偏移 4:柱状体的偏移 使用代码的前提,必须配置了QWT资源,使用环境VS2017 + Qt5.14.2

文件下载

资源详情

[{"title":"( 74 个子文件 175.97MB ) QT中使用QWT实现一类柱状图多种颜色","children":[{"title":"QtMyQwt","children":[{"title":"QtMyQwt.sln <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"QtMyQwt","children":[{"title":"QtMyQwt.vcxproj.user <span style='color:#111;'> 165B </span>","children":null,"spread":false},{"title":"barchart.cpp <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false},{"title":"barchart.h <span style='color:#111;'> 390B </span>","children":null,"spread":false},{"title":"QtMyQwt.vcxproj <span style='color:#111;'> 6.08KB </span>","children":null,"spread":false},{"title":"QtMyQwt.vcxproj.filters <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"QtMyQwt.qrc <span style='color:#111;'> 67B </span>","children":null,"spread":false},{"title":"CustomBarChartItem.h <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"QtMyQwt.h <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"CustomBarChart.cpp <span style='color:#111;'> 503B </span>","children":null,"spread":false},{"title":"CustomBarChart.h <span style='color:#111;'> 296B </span>","children":null,"spread":false},{"title":"x64","children":[{"title":"Debug","children":[{"title":"vc141.pdb <span style='color:#111;'> 1.78MB </span>","children":null,"spread":false},{"title":"qmake","children":[{"title":"qtvars_x64_Debug.props <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":"temp","children":[{"title":"qtvars.pro <span style='color:#111;'> 53B </span>","children":null,"spread":false},{"title":"props.txt <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"qtvars_x64_Debug.props <span style='color:#111;'> 4.11KB </span>","children":null,"spread":false},{"title":".qmake.stash <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 53.57KB </span>","children":null,"spread":false},{"title":"qtvars.log <span style='color:#111;'> 97B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"qrc_QtMyQwt.obj <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false},{"title":"CustomBarChartItem.obj <span style='color:#111;'> 241.72KB </span>","children":null,"spread":false},{"title":"moc_QtMyQwt.obj <span style='color:#111;'> 102.41KB </span>","children":null,"spread":false},{"title":"QtMyQwt.tlog","children":[{"title":"moc.write.1u.tlog <span style='color:#111;'> 466B </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 275.61KB </span>","children":null,"spread":false},{"title":"moc.read.1u.tlog <span style='color:#111;'> 196B </span>","children":null,"spread":false},{"title":"QtMyQwt.lastbuildstate <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 5.22KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 6.12KB </span>","children":null,"spread":false},{"title":"QtMyQwt.write.1u.tlog <span style='color:#111;'> 81.37KB </span>","children":null,"spread":false},{"title":"uic.write.1u.tlog <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"uic.read.1u.tlog <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"rcc.write.1u.tlog <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"CL.command.1.tlog <span style='color:#111;'> 14.74KB </span>","children":null,"spread":false},{"title":"rcc.read.1u.tlog <span style='color:#111;'> 102B </span>","children":null,"spread":false}],"spread":false},{"title":"moc_barchart.obj <span style='color:#111;'> 97.73KB </span>","children":null,"spread":false},{"title":"qt_work.log <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 132.82KB </span>","children":null,"spread":false},{"title":"CustomBarChart.obj <span style='color:#111;'> 135.94KB </span>","children":null,"spread":false},{"title":"uic","children":[{"title":"ui_QtMyQwt.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"QtMyQwt.log <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"moc","children":[{"title":"moc_barchart.cpp <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"moc_QtMyQwt.cpp <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":false},{"title":"barchart.obj <span style='color:#111;'> 313.17KB </span>","children":null,"spread":false},{"title":"rcc","children":[{"title":"qrc_QtMyQwt.cpp <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":false},{"title":"QtMyQwt.obj <span style='color:#111;'> 345.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"qmake","children":[{"title":"qtvars_x64_Release.props <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"temp","children":[{"title":"43CE5D47-9FDE-42C9-AB16-CE1160CA77C2.QtMyQwt.designtime.idx <span style='color:#111;'> 63B </span>","children":null,"spread":false},{"title":"qtvars.pro <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"props.txt <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":".qmake.stash <span style='color:#111;'> 216B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 53.18KB </span>","children":null,"spread":false},{"title":"qtvars_x64_Release.props <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"qtvars.log <span style='color:#111;'> 99B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"main.cpp <span style='color:#111;'> 185B </span>","children":null,"spread":false},{"title":"QtMyQwt.cpp <span style='color:#111;'> 3.98KB </span>","children":null,"spread":false},{"title":"CustomBarChartItem.cpp <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false},{"title":"QtMyQwt.ui <span style='color:#111;'> 506B </span>","children":null,"spread":false}],"spread":false},{"title":".vs","children":[{"title":"QtMyQwt","children":[{"title":"v15","children":[{"title":"ipch","children":[{"title":"AutoPCH","children":[{"title":"2b93799fff59e91e","children":[{"title":"CUSTOMBARCHART.ipch <span style='color:#111;'> 98.63MB </span>","children":null,"spread":false}],"spread":true},{"title":"5ae30844d66619df","children":[{"title":"QWT_SCALE_DRAW.ipch <span style='color:#111;'> 768.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"b27dc75c19a16f1b","children":[{"title":"QTMYQWT.ipch <span style='color:#111;'> 99.19MB </span>","children":null,"spread":false}],"spread":true},{"title":"ef0aa190ff5048b0","children":[{"title":"CUSTOMBARCHARTITEM.ipch <span style='color:#111;'> 96.25MB </span>","children":null,"spread":false}],"spread":true},{"title":"107203bf076d9a83","children":[{"title":"CUSTOMBARCHARTITEM.ipch <span style='color:#111;'> 98.69MB </span>","children":null,"spread":false}],"spread":true},{"title":"9785ef4bcc1930b5","children":[{"title":"CUTOMBARCHART.ipch <span style='color:#111;'> 98.63MB </span>","children":null,"spread":false}],"spread":true},{"title":"37ae9b2148fe9a6d","children":[{"title":"BARCHART.ipch <span style='color:#111;'> 98.63MB </span>","children":null,"spread":false}],"spread":true},{"title":"9b769bc6d19bad6d","children":[{"title":"CUSTOMBARCHART.ipch <span style='color:#111;'> 97.31MB </span>","children":null,"spread":false}],"spread":false},{"title":"acfd22010c47554b","children":[{"title":"MAIN.ipch <span style='color:#111;'> 99.19MB </span>","children":null,"spread":false}],"spread":false},{"title":"edde7bae530ac1b3","children":[{"title":"MOC_CUSTOMBARCHARTITEM.ipch <span style='color:#111;'> 96.25MB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":".suo <span style='color:#111;'> 76.00KB </span>","children":null,"spread":false},{"title":"Browse.VC.db <span style='color:#111;'> 22.38MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"x64","children":[{"title":"Debug","children":[{"title":"QtMyQwt.exe <span style='color:#111;'> 169.00KB </span>","children":null,"spread":false},{"title":"QtMyQwt.ilk <span style='color:#111;'> 3.02MB </span>","children":null,"spread":false},{"title":"QtMyQwt.pdb <span style='color:#111;'> 3.04MB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明