Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to add data marks for Qt charts?
Forum Updated to NodeBB v4.3 + New Features

How to add data marks for Qt charts?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 474 Views 1 Watching
  • 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.
  • goldenhawkingG Offline
    goldenhawkingG Offline
    goldenhawking
    wrote on last edited by
    #1

    Hello! Could some one help me ? I'm learning Qt charts and I want to draw data marks upon each bar charts like this:
    0_1511013046909_question.jpg
    I searched the examples, but found no reference to take.

    Qt is the best C++ framework I've ever met.

    1 Reply Last reply
    0
    • goldenhawkingG Offline
      goldenhawkingG Offline
      goldenhawking
      wrote on last edited by
      #2

      Yee, I find the function:
      series->setLabelsVisible(true);
      series->setLabelsPosition(QAbstractBarSeries::LabelsInsideEnd);
      It's OK.
      0_1511020517529_bars.jpg

      Qt is the best C++ framework I've ever met.

      1 Reply Last reply
      1

      • Login

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