Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dimension fields limited to 2 per axis #424

Open
jschmudd opened this issue Feb 4, 2024 · 2 comments
Open

Dimension fields limited to 2 per axis #424

jschmudd opened this issue Feb 4, 2024 · 2 comments
Labels
P1 will be fixed in next version

Comments

@jschmudd
Copy link

jschmudd commented Feb 4, 2024

Are dimension fields intended to be limited to a max of 2 per axis, or in a table's case 2 in rows or 2 in columns? Because it won't let me add more than 2 into each without removing one of the already existing ones. In older versions, like all the way back to 1.x seems to allow it though. It is just something that would be nice for some of my use cases and while I could convert the fields to measures I guess, that isn't what they really are and is also tedious.

@ObservedObserver
Copy link
Member

For charts, there is a limit for 2 dimensions in each axis direction due to the chart ability to render nest facet. But I think the limitation for table is not necessary.

Here my init thought about the plan in 0.4.6 (next release, available before 2024/2/9):

  1. We will remove the limit of dimensions for table in axis
  2. For charts, when add a new dimension where there are already two existed, it will behave like a queue where the first dimension will be removed the the new dimension will be appended as the last one.

For chart to support more than two dimension in one axis, it requires some large fix to the upstream chart library, vega-lite.
We might try to fix it this year, but the time schedue is not written yet.

@jschmudd
Copy link
Author

jschmudd commented Feb 4, 2024

Cool, thank you! It is mostly in using the table visual where I find myself wanting more than 2 dimension fields.

@ObservedObserver ObservedObserver added the P1 will be fixed in next version label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 will be fixed in next version
Projects
None yet
Development

No branches or pull requests

2 participants