question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Line charts faceted by entity collapse to an invalid bar chart

See original GitHub issue

Description

A multi-metric line chart can be plotted all together, faceted by entity (country) or faceted by metric. When faceted by entity, it collapses to an invalid single bar chart.

Expected behaviour

It should collapse to a faceted bar chart, as it does when faceted by metric.

Video example

https://user-images.githubusercontent.com/36012/193887799-2cd7afa6-9453-41a8-8f52-14712b8d647b.mov

https://ourworldindata.org/explorers/poverty-explorer?Metric=Share+in+poverty&Poverty+line=Multiple+lines&Household+survey+data+type=Show+data+from+both+income+and+expenditure+surveys&Show+breaks+between+less+comparable+surveys=false&country=NGA~MOZ~ZMB~BOL~KEN~BGD~BOL~GEO

Technical notes

  • For some reason faceting by country is disappearing from the availableFacetStrategies at this moment
  • If we could work out why and enable it, the bug might resolve itself

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
larsyenckencommented, Nov 17, 2022

Tagging this one for next cycle

1reaction
larsyenckencommented, Oct 4, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

A Complete Guide to Line Charts | Tutorial by Chartio
Line charts are a fundamental chart type generally used to show change in values across time. Learn how to best use this chart...
Read more >
Charts API - OutSystems 11 Documentation
Bar charts compare multiple values using horizontal bars. In this chart, the X-axis runs vertically and the Y-axis runs horizontally.
Read more >
SAS 9.4 Graph Template Language: User's Guide, Fifth Edition
Note: This statement is valid in SAS 9.4M2 and later releases. The marker text is provided by a column in the plot data....
Read more >
TIBCO Clarity - Cloud Edition User's Guide
Results of Applying the Text Pattern Facet on Column SSL. ... See Charting on page 63 for supported chart types and how to...
Read more >
8.5.6 Editing a Faceted Search Page - Oracle Help Center
Create facet groups for data models having multiple flag columns. Configuring Single Facet Charts Configure region and facet attributes to declaratively control ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found