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

support discrete values or categories in qchart axis

    XMLWordPrintable

    Details

    • Type: User Story
    • Status: Open
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.12.6
    • Fix Version/s: None
    • Component/s: Charts
    • Labels:
      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

            • Assignee:
              e0348803 Miikka Heikkinen
              Reporter:
              streamer Yuan Song
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes