更新时间:2022-12-28 10:26:08
as @scsimon mentions, there's no native feature (nor API method, AFAIK) for this using a trellis. however, you can create a Property Control (I'd use a dropdown) in a Text Area, then use the same Document Property to your chart in a Limit By expression.
little more detail, assuming a data table like this:
A B CATEGORY
1 2 red
3 4 red
5 6 green
7 8 green
9 10 blue
11 12 blue
category
[CATEGORY] = "${category}"
(don't forget the quotes or the Document Property won't be treated as a string and you'll get an error)