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.

two layer or grouped axes label / ticks

See original GitHub issue

A request has come in for a feature that could replicate this multi-level axes ticks / labels.

The following image shows something like an x2 attr on bars.

image

Note that to support positioning axes labels between ticks perhaps this https://github.com/plotly/plotly.js/issues/1673#issuecomment-403834502 will be a requirement.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:22 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
etpinardcommented, Nov 29, 2018

Should we add support for type: 'multicategory' on y-axes in the first iteration?

From in-person @nicolaskruchten : yeah, let’s do that in the first iteration.

1reaction
alexcjohnsoncommented, Nov 27, 2018

I don’t think 30-degree rotation makes sense for multi-category axes, for the upper OR lower labels. But 90-degree rotation determined separately for each level) is both reasonable and common. multilevel

I don’t think truncation should be used at all by default, but it could be a nice option to expose.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to group (two-level) axis labels in a chart in Excel?
Group (two-level) axis labels with adjusting layout of source data in Excel. This first method will guide you to change the layout of...
Read more >
Hierarchical axis labeling in matplotlib (Python) - Stack Overflow
I'd like to plot this in matplotlib but have hierarchical labeling along the axes. So using my above example, I would have labels...
Read more >
FAQ-959 How to make X axis have two different groups of tick ...
To add another group of X tick labels independent from the existing X axis,. With the graph window activated, add one more layer...
Read more >
Change the display of chart axes - Microsoft Support
On a chart, click the axis that has the tick marks and labels that you want to adjust, or do the following to...
Read more >
How to create a multi level axis | Exceljet
... axis labels. A multi-level axis allows you to group related information together. ... You can add more labels to create more than...
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