【发布时间】:2019-01-22 23:34:15
【问题描述】:
有可能吗,请给我一个提示如何做到这一点? 当前的解决方案看起来一点也不好看:
Rectangle {
color : "darkgrey"
anchors.top : parent.top
x : itemPlot.x + 50
width : parent.width - 50 - 20
height : parent.height*0.6
}
ChartView {
id : itemPlot
anchors.bottom: parent.bottom
anchors.left: parent.left
width : parent.width
height : parent.height*0.4
legend.visible: false
antialiasing: true
margins.bottom : 0
margins.top : 0
margins.left : 0
margins.right : 0
}
【问题讨论】: