Results 1 to 2 of 2

Thread: Histogram axis labels as text

  1. #1
    Join Date
    Dec 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Histogram axis labels as text

    I need to plot named data sets as a histogram. Each set will be a different bar.

    Rather than have the x axis labeled to correspond to set 1,2,3..., I need to have the axis labeled to correspond with the set names, i.e. tick 1 would be "Case X-Var A," tick 2 would be "Case Y-Var B", etc....

    Does QWT support this type of axis labeling?

    Has anyone solved this using Windows and Visual Studio?
    Thanks!

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,253
    Thanked 860 Times in 809 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Histogram axis labels as text

    Look at the cpuplot example. It shows how to display individual tick labels ( dates in this example ).

    Uwe

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 10:49
  2. Relocating axis labels
    By malcom2073 in forum Qwt
    Replies: 0
    Last Post: 9th May 2008, 14:01

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.