Search code examples
cssoracle-adfjdeveloper

Oracle ADF : Increasing BarGraph Size and Bars Size


We have developed web application using Oracle ADF. In our application we have a page with a graph as show below.

enter image description here

Actually we need to increase bar graph size in terms of height, width and Bars size also.

Problem 1: For this we have found some solution from oracle documents we can increase graph size using inlinestyle="height=400px;widht=600px;"(This is working fine). But This is browser dependent. Please let us know if there is any class to increase graph size. .

Problem 2: But we are unable to find solution for increasing the size of bars(lines). Please Help us in increasing bar's size as follows

enter image description here

Thanks in advance.


Solution

  • Put the graph inside an stretchable layout component (such as the center facet of a panelStretchLayout component). This should stretch the chart to fill out the area available. See for example: http://jdevadf.oracle.com/adf-richclient-demo/faces/components/barChart.jspx