sylvester
sylvester

Reputation: 887

How to set series expression when you do not have any series when creating bar chart in iReport?

I have created a bar chart in iReport Designer 5.1.0. I want to show some ips at x axis and the occurrence of each of these ips at y axis. The bar chart must have a single color but when I run it bars have different colors with each other. I think series expression has to be empty, and I have to put $F{ip} in category expression and $F{occurrence} in value expression, but series expression has to be filled because it is not optional.

It would be great if someone can help me.

Upvotes: 0

Views: 2817

Answers (2)

user2083954
user2083954

Reputation: 17

change the orientation again back to vertical. Click the barchart and choose the properties to be orientation:vertical. Hope thats what you meant

Upvotes: 0

Rashmi Nagaraja
Rashmi Nagaraja

Reputation: 821

In your series expression, using quotes you can just specify something like a name or anything relative to the chart. For e.g,"Ip v/s Occurrence". Basically have a string value in there. This will be displayed as a legend. You would get the chart in single color.

Upvotes: 1

Related Questions