Search unanswered questions...
Enter a question here...

How do i use XY Line graph in Ireport?

[Edit]

Answer

Main DB Query :

SELECT

users_vs_msg."coalesce" AS year_month,

users_vs_msg."messages_sent" AS msg_sent,

users_vs_msg."users_registered" AS users_registered

FROM

"public"."users_vs_msg" users_vs_msg

Fields that i get from it are

$F{year_month},

$F{msg_sent},

$F{users_registered }

Pie CHART

Dbl click chart > "chart tab" > edit chart properties> tab "chart data"> tab "Details">

Key Expression : $F{year_month}

Value expression : $F{msg_sent}

Label Expression : $F{year_month}


Bar-chart

Dbl click chart > "chart tab" > edit chart properties> tab "chart data"> tab "Details"> Category series

Add a category …with these values

Series Expression : $F{year_month}

Category expression : $F{year_month}

Value Expression : $F{msg_sent}

Label: empty

Improve Answer Discuss the question "How do i use XY Line graph in Ireport?" Watch Question

First answer by ID2523226485. Last edit by ID2523226485. Question popularity: 14 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Programming > How do i use XY Line graph in Ireport?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
How do you use yx bar chart?  How do i use bar chart in Ireport?  How do you use xy chart in Ireport?  How do you use xy line graph in ireport?  Adding multiple columns in jasper ireport?