In the
previous post, we saw how to concatenate two fields, change the chart properties
of any text field, static filed and charts properties such as color of chart,
add background color form Property Pane in iReport but after this post, you
will be able to add some more properties than the ones visible in the Property
Pane.
How to add additional properties
To add additional properties, select the element on which you want to add the property and select the “Properties expression” in Property Pane.Once you click on Properties expression click on “Add” button, you will get “Add/modify property” window.
.
Just add the Property name that you want to use as in the above screen shot in this report I am using tick interval property and trying to set the tick intervals for value axis.
net.sf.jasperreports.chart.range.axis.tick.interval
|
|
Property
specifying the interval between 2 consecutive ticks on a range value axis.
If the net.sf.jasperreports.chart.range.axis.tick.count property is set, this interval
will be neglected.
If it is not set, the JFreeCharts engine will use its own defaults to instantiate the axis. By default, it is not set. |
List of Properties :-
A very large set of special properties are now available in the current version. Over the upgrade history, many new properties have enriched the list.
The full API's are available at http://jasperreports.sourceforge.net/config.reference.html
http://jasperreports.sourceforge.net/api/index.html.
3 comments:
fantabulous article to presuppose from i prefer bookmark it too
Hi Sharad,
i want to plant time series chart where x axis or Y Axis should display the series of date
or Month or Year.
for ex if i want Display Date from 01/01/2013 - 15/01/2013
or Jan'13 - Dec'13.
how to do that ?.
in the Value expression what do i format that.
Thanks in Advance
Rajesh. S
Hi Sharad,
In Timeseries or XY chart. i would like to display Dateseries or month series in the x and y axis.
For ex: Date Series 01/01/2013 to 15/01/2013 or Month Series Jan'13 - Dec'13.
how do i display these series in xy axis.
Thanks in advance.
Rajesh. S
Post a Comment