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)
Lineseries marker problem
lineline
Hi,
i want to add 2 LineSeries to my chart with the following data:
LineSeries 1: (x)
Sun Jul 12 18:53:00 CEST 2009
Mon Jul 13 21:24:00 CEST 2009
Tue Jul 14 11:53:00 CEST 2009
LineSeries 1: (y)
57.55838025608763
53.25171233893699
25.810461225409906
LineSeries 2: (x)
Sun Jul 12 04:04:00 CEST 2009
Mon Jul 13 13:59:00 CEST 2009
Tue Jul 14 12:36:00 CEST 2009
LineSeries 2: (y)
24.968829180982894
218.79807918807415
73.114878280929
i add twice the x data with following code:
Series plotData = SeriesImpl.create();
plotData.setDataSet(DateTimeDataSetImpl.create(generateDates(count)));
xAxis.getSeriesDefinitions().add(sdX);
sdX.getSeries().add(plotData);
the y data is added like:
SeriesDefinition sdY = SeriesDefinitionImpl.create();
LineSeries ls = (LineSeries) LineSeriesImpl.create();
ls.setDataSet(NumberDataSetImpl.create(generateValues(count)));
yAxis.getSeriesDefinitions().add(sdY);
sdY.getSeries().add(ls);
in the attached image u the it uses the right y positions for the marker and line but the x position is for 1 lineseries wrong.. it seems helike he merges something...
what i want is a chart with 2 lineseries with different start/end and with different marker x positions.
any idea
thx
Find more posts tagged with
Comments
mwilliams
Hi lineline,
Can you recreate this issue in a report that I can run, so that I can see it for myself and do some testing? Thanks.