Is there a way to link a parameter to rectangle fill on a report?
I'd like to use a few rectangles instead of a graph. The idea was to capture the value at the time of the report without writing to a DB or creating a dataset.
Is there a way to link a parameter to rectangle fill on a report?
I'd like to use a few rectangles instead of a graph. The idea was to capture the value at the time of the report without writing to a DB or creating a dataset.
You can play around with using parameters in the Basic Properties of the rectangle. As a quick test:
reading1
. Set the default value to 75.reading1 / 100
.In mine it scaled the width of the green rectangle but did it from the centre. To avoid this you might want to play with the Width
parameter instead. In that case I would be inclined to add a second parameter percBar100pcWidth
or similar and use that as well with something like perBar100pcWidth * reading1 / 100
. I didn't try it.
Thanks, that seems promising. I was trying to use fill and height properties with no luck.