Column Chart

Certified Senior Developer

Hello,

Can anyone help me in this:

How to hide these categories text(Qt1, Qt2, Qt3, Qt4) from column chart?

Also, numbers/range(0-100) from y axis column?

Note: For this column chart configuration, I am using records.



Thanks

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Lead Developer
    in reply to manjit.1486

    I think you will have to remove these values from the underlying data. It might be possible that you need to query the data separately and feed it into the chart manually.

  • 0
    Certified Senior Developer
    in reply to Stefan Helzle

    a!localVariables(
      local!data1:a!queryEntity(
        entity: cons!INN_DSE_CASE,
        query: a!query(
          aggregation: a!queryAggregation(
            {
              {
                a!queryAggregationColumn(field: "status", isGrouping: true()),
                a!queryAggregationColumn(
                  field: "stage",
                  isGrouping: false,
                  aggregationFunction: "COUNT",
                  alias: "count"
                ),
              }
    
            }
          ),
          paginginfo: a!pagingInfo(1, - 1),     
        )
      ),
    
          a!columnChartField(
            label: "Column Chart",
            categories: {"a","b","c"},
            series: a!forEach(
              items: local!data1,
              expression: a!chartSeries(label: "Chart", data: fv!item.status)
            ),
            stacking: "NONE",
            showLegend: true,
            showTooltips: true,
            labelPosition: "ABOVE",
            colorScheme: "RAINFOREST",
            height: "MEDIUM",
            xAxisStyle: "NONE",
            yAxisStyle: "NONE"
          )
      
    )
    
    I tried to use query for column chart. But it didn't work as expected. That's why I used records for this. But only this zero thing need to figured out. Thanks. Let me again check in query. 
      can you look at this query?