Hello Andy,
Sorry, I may have missed the requirement for dynamically sized graph item in your first post. Currently such feature is not supported - the graph item size doesn't change based on its data out of the box.
As a workaround I can suggest two approaches:
1. Use
Bindings to set the size dynamically through a
user function, that will return an estimated graph height based on the input data items.
2. Before connecting the Graph to data (usually in the report constructor), you can change the report definition, setting the Graph height based on the data items in your data source. You can read more
here.
However, the two suggested workarounds would produce a graph with approximately equal bars. Based on your scenario, I have prepared a small demo that demonstrates the first approach (using Bindings), but, instead of utilizing an user function, I set the graph height to the value of a hidden report parameter, that takes the number of displayed bars as an input and outputs the desired height in pixels, but the idea is the same. I hope you will find the demo useful.
The links provided are from our documentation, which is always built against the latest version of Telerik Reporting.
Regards,
Ivan Hristov
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items