Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-48162

Grouped bar charts not aggregating

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.2
    • 7.0.2
    • UI
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      I tried the query "select hotel.*, 1 as one from hotel" (with the query context travel-sample - inventory). 

      I tried making a bar chart with label as "country" and value as "one" to show the count of hotels per country. It worked fine (see attached image).

      When I try to make a Grouped Bar chart with label as "country" and "one" as the only selected value, all the bars are height 1 (see attached image).

      Looking at the SVG, it appears that the code made many hundreds of bars height 1, instead of aggregating and making a single taller bar for each category.

       

       

      Attachments

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

        Activity

          People

            eben Eben Haber
            eben Eben Haber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty