This is a migrated thread and some comments may be shown as answers.

Autoresize a graph with lot of data.

3 Answers 122 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Shreyas
Top achievements
Rank 1
Shreyas asked on 08 Jun 2016, 01:10 PM

Hi,

 

I have a horizontal bar graph, with varying amount of data in it. Is there any feature or property I can set, either in code or within the reportviewer directly , so that the graph.container will resize accordingly?

Thanks in advance!

 

Regards,

Shreyas Menon.

3 Answers, 1 is accepted

Sort by
0
Shreyas
Top achievements
Rank 1
answered on 08 Jun 2016, 01:20 PM

Hi,

 

Kindly find Screenshots of the issue.

 

Regards

0
Shreyas
Top achievements
Rank 1
answered on 08 Jun 2016, 01:21 PM
0
Stef
Telerik team
answered on 08 Jun 2016, 03:24 PM
Hello Shreyas,

The Graph item will not change its size based on the visualized content. Instead the content is recalculated to fit into the available space.
Having the above into account, you can:
  1. Analize the data in code and set the Graph item's Height based on the number of records. This can be done via binding to the Graph.Height property;
  2. Use the approach from the How to: Add Drilldown action to the Graph item help article to display less data at once in the Graph item.


Regards,
Stef
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
Tags
Report Designer (standalone)
Asked by
Shreyas
Top achievements
Rank 1
Answers by
Shreyas
Top achievements
Rank 1
Stef
Telerik team
Share this question
or