I created three charts using the Apache Trinidad chart component, and I was having trouble adjusting the chart display. By default, charts (or sensors in my case) are displayed in two columns, so the third charts are displayed in the second row below the first. (See the example below).
I would show that the sensors will be displayed in three columns so that they are all on the same row next to each other. I looked through all the attributes of the component, but still cannot figure out how to do this.
(see attributes here. http://myfaces.apache.org/trinidad/trinidad-api/tagdoc/tr_chart.html )
The code I use in my jsp is shown below.
<tr:chart id="orderStatusGauge" type="circularGauge"
value="#{orderStatusBacking.gaugeModel}" YMinorGridLineCount="4"
inlineStyle="width:450px; height:325px;"/>
I already tried to adjust the width and height of the inline style and it seems to be no problem.
Any ideas? All help would be greatly appreciated.
Example http://www.vogella.de/articles/ApacheMyFaces/images/graphics10.gif
source
share