Skip to content

Limiting the number of marks after using groupX #2293

Answered by spandl
spandl asked this question in Q&A
Discussion options

You must be logged in to vote

I found the property limit!

That solves already issue # 1 - limiting bars:

         sort: {
            y: "-x",
            limit: 5,
          },

Still digging to find out how to aggregate the remaining bars.
A solution could be to create a separate mark ... ?!

Note: limit isn't part of the Plot documentation. At least not in the sort page and the API index

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Fil
Comment options

Fil Mar 7, 2025
Collaborator

@spandl
Comment options

@Fil
Comment options

Fil Mar 9, 2025
Collaborator

@spandl
Comment options

Answer selected by Fil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants