Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Portuguese
  4. KDChart com QGradient

KDChart com QGradient

Scheduled Pinned Locked Moved Portuguese
1 Posts 1 Posters 796 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    ivanclayton
    wrote on last edited by
    #1

    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);
    @

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved