Achieving equivalent of a Repeater in a Report?

I want to be able to generate a report that has an arbitrary number of charts based on the number of machines at a given facility, but from what I can see, this isn't possible. If the "visible" property could be bound to some data property, I could just hardwire the maximum number of charts, and toggle as needed (ugly, but still doable). The fact that this property exists but is completely useless confounds me.

Am I missing something? Surely I can't be the first to want to achieve this...

Well, good news on that front:

But I would say the better pattern would be to structure your data as a nesting and use a table component (with an "unstructured" row containing the chart) - that way you get automatic repetition of N charts for whatever size N is your input. That makes the "hard" part structuring your input data.

1 Like

Thanks! I guess I don't yet have a full understanding of the Table component.

Take a look at this example - it may be enough for what you're doing and you may not need the extra complications of table groupings/nested datasets.

1 Like