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.

header.labels throw an error when set on a column facet

See original GitHub issue

This spec will throw an error:

{
  "data": {"url": "data/population.json"},
  "mark": "bar",
  "encoding": {
    "column": {
      "field": "sex",
      "type": "nominal",
      "header": {"title": null, "labels": false}
    },
    "y": {
      "aggregate": "sum",
      "field": "people",
      "type": "quantitative"
    },
    "x": {"field": "age", "type": "ordinal"}
  }
}

But the same on a row facet will work. And if you change labels to true, it works too.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
domoritzcommented, Mar 12, 2020
0reactions
domoritzcommented, Mar 12, 2020

Ahh, this is no bueno

Screen Shot 2020-03-12 at 11 12 09
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change facet labels? - Stack Overflow
Here is a solution that avoids editing your data: Say your plot is facetted by the group part of your dataframe, which has...
Read more >
Unable to hide facet header labels when facet is used as an ...
So I tried to hide the labels to bring the facets closer but tur... ... Column('year:O', spacing=0, title=None, header=alt.
Read more >
11.3 Changing the Text of Facet Labels - R Graphics Cookbook
Unlike with scales where you can set the labels, to set facet labels you must change the data values. Also, at the time...
Read more >
Lightning Aura Components Developer Guide
Component Facets . ... Setting Label Values via a Parent Attribute . ... The framework throws an error if a CSS file doesn't....
Read more >
Common Problems Found in RAML 1.0 API Specifications
This error occurs when a facet or data type is defined as having a specific set of properties, yet an API specification defines...
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