Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Change title of x-axis of QwtPlotMultiBarChart
Forum Updated to NodeBB v4.3 + New Features

Change title of x-axis of QwtPlotMultiBarChart

Scheduled Pinned Locked Moved Solved 3rd Party Software
2 Posts 1 Posters 1.1k 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.
  • thamT Offline
    thamT Offline
    tham
    wrote on last edited by
    #1

    How could I change the title of the x-axis of QwtPlotMultiBarChart? Following the codes of the example, I could draw multi bar chart like this

    alt text

    But how could I change the label of x-axis from 0,1,2,3,4 to text(ex : worst, bad, average, good, great)? Thanks

    thamT 1 Reply Last reply
    0
    • thamT tham

      How could I change the title of the x-axis of QwtPlotMultiBarChart? Following the codes of the example, I could draw multi bar chart like this

      alt text

      But how could I change the label of x-axis from 0,1,2,3,4 to text(ex : worst, bad, average, good, great)? Thanks

      thamT Offline
      thamT Offline
      tham
      wrote on last edited by
      #2

      @tham I find the answer, you can do that by override the class "QwtScaleDraw"(check the example distrowatch).

      1 Reply Last reply
      3

      • Login

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