Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How to render BarChart in rows base on rowdata?
atian25
sorry,i'am a newer of birt.
how can i get a report like the img below?
i had read the doc and some source,but i can't find the way.
the dataset is simple:
**open script:
i=0
**fetch script:
if(i<10){
row = i;
row=10-i;
i++;
return true;
}
return false;
it seems that i need to create a new dataset for per row? anyway to auto it?
3x
Find more posts tagged with
Comments
atian25
solve.
// cell.onCreate
suc = this.getRowData().getColumnValue("suc");
fail = this.getRowData().getColumnValue("fail");
//a temp dataset
//open:
i=0
//fetch:
if(i==0){
row = suc;
row = "SucCount";
i++;
return true;
} else if(i==1){
row = fail;
row = "FailCount";
i++;
return true;
}
return false;