Jump to content
We've recently updated our Privacy Statement, available here ×

How to draw a chart in Group Footer?


rajesh.kulkarni2000

Recommended Posts

Data Source is a CSV file with following fields

src_ip, destination_ip, sent, received, total

The file is already sorted by "src_ip" and looks like as shown below

SOURCE_IPDESTINATION_IPSENTRECEIVEDTOTAL
172.17.70.11774.125.25.10957011237034294045
172.17.70.117173.194.79.108171661057821
172.17.70.11774.125.129.108172761097836
192.168.135.245173.194.117.548988755016538
192.168.135.245173.194.117.539300820217502
192.168.135.24574.125.200.138116002413835738

I have created a Group in JasperReport with Group Expression as "SOURCE_IP".

I wish to draw a "Pie Chart" in the group footer showing "Top 5" destination_ip communicating with the source_ip for earch source_ip group. Problem is, the pie chart shows a single random destination_ip. Am I missining something? I can sharethe .jrxml if need be.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...