newrelic/nr1-victory-visualizations

Stacked Bar chart handles FACET cases

Opened this issue · 0 comments

Could we handle FACET cases() in our Stacked Bar Chart? Right now, running this query results in a single stack and doesn't allow for filtering out the 'Other' category because the visualization sees only one FACET returned in the metadata.groups property on the NRQL data response.

Example query: FROM Transaction SELECT count(*) FACET cases(WHERE duration <1, WHERE duration >1)

Summary

This requests comes from Gaia Flor Ludovico because running the visualization with the following query FROM Transaction SELECT count(*) FACET cases(WHERE duration <1, WHERE duration >1) "works" but doesn't allow filtering out 'Other' because we only get a single facet type in metadata.groups.

Desired Behavior

Will need some discovery to determine how to best display FACET cases().