关于Qt的渐变色的设置:
QLinearGradient gradient(QPointF(0, 0), QPointF(0, 1)); //控制渐变色的走向
gradient.setColorAt(0.0, 0x57ADBC); //渐变的颜色1
gradient.setColorAt(1.0, 0x26f626); //渐变的颜色2
gradient.setCoordinateMode(QGradient::ObjectBoundingMode); //设置渐变色的协调模式,默认是LogicalMode
series->setBrush(gradient);