KDChart com QGradient



  • Alguém já usou o QLinearGradient num gráfico de barras do KDChart? ele está fazendo o Gradiente no gráfico como um todo, e não
    barra por barra,

    @ QLinearGradient gradient(QPointF(100, 300), QPointF(100, 100));
    gradient.setColorAt(0, parseBrushColor("FFFFFF"));
    gradient.setColorAt(1, parseBrushColor("0070C0"));
    diagram->setBrush(index, gradient);
    @


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.