Hi friends,

I want to create a pie chart with calculated variables from ireport jrxml file. I created bar char succesfully with

series expression : "1.Budget Sales
Category expression : new Integer(1)
Value expression : $V{ptd_budget_sales}

like that I added four seris for four bars.

I need to use same way to create pie char. but in pie chart have only one section value
key expression
value expression
label expression

cant give more than one.

I usually pass pie char value from java datasource but now i need to take values from calculated variables only. I googled but found similar questions without answer. Please anybody help me or any link...
I read somewhere that can create from csv file too.In that case how to create a csv file from report? I know to create from java but not from ireport ...any suggestion is appreciated..