Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Design DataSet in Line Chart
Rapporter
Hi,
I am trying to generate Line Graph through BIRT. The problem I am facing is how to set design DataSet fo my graph. I am generating graph as follows:-
Axis axBase = cwa.getPrimaryBaseAxes()[0];
Axis[] axaOrthogonal = cwa.getOrthogonalAxes(axBase, true);
SeriesDefinition sdX = SeriesDefinitionImpl.create();
axBase.getSeriesDefinitions().add(sdX);
final int FIRST = 0;
SeriesDefinition sdY = SeriesDefinitionImpl.create();
axaOrthogonal[FIRST].getSeriesDefinitions().add(sdY);
LineSeries ls = (LineSeries) LineSeriesImpl.create();
ls.setDataSet(?);
ls.getLineAttributes().setColor(ColorDefinitionImpl.GREEN());
ls.getMarker().setType(MarkerType.BOX_LITERAL);
sdY.getSeries().add(ls);
Thanks in Advance.
Find more posts tagged with
Comments
There are no comments yet