Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-80647

support discrete values or categories in qchart axis

    XMLWordPrintable

Details

    • User Story
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.12.6
    • Charts
    • None

    Description

      QValueAxis does not support discrete values.   If discrete values are used in Axis, QCategoriyAxis will have to be used.  But QBarCategoryAxis does not support tick interval and minor grid.  If a chart has large amount of bars, it will become pretty show because it has to draw large amount of axis labels.  Those labels are not readable. 

      QDateTimeAxis   does not support discrete values.  It does not support tick interval either.  The timestamps of chart data are not necessarily continuous.   There can be gaps.   

       

      X-Axis should not be continuous because X value is usually an index or mapped value.  

       

      It would be nice to add number and date time support in QBarCategoryAxis

       

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            e0348803 Miikka Heikkinen
            streamer Yuan Song
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes