ItEr49S04ValidacionEProbasFuncionaisItEr48S04: [Bug #373] Fixed bug. Using JustDaysWithInformationGraphicSpecificationCreator only for earned value chart and not for the load chart.
This commit is contained in:
parent
a0ca0d4d36
commit
8da563b358
3 changed files with 16 additions and 2 deletions
|
|
@ -541,10 +541,21 @@ public abstract class ChartFiller implements IChartFiller {
|
|||
@Override
|
||||
public Plotinfo createPlotinfo(SortedMap<LocalDate, BigDecimal> map,
|
||||
Interval interval) {
|
||||
String uri = getServletUri(map, interval.getStart(), interval
|
||||
return createPlotinfo(map, interval, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Plotinfo createPlotinfo(SortedMap<LocalDate, BigDecimal> map,
|
||||
Interval interval, boolean justDaysWithInformation) {
|
||||
String uri;
|
||||
if (justDaysWithInformation) {
|
||||
uri = getServletUri(map, interval.getStart(), interval
|
||||
.getFinish(),
|
||||
new JustDaysWithInformationGraphicSpecificationCreator(interval
|
||||
.getFinish(), map, interval.getStart()));
|
||||
} else {
|
||||
uri = getServletUri(map, interval.getStart(), interval.getFinish());
|
||||
}
|
||||
|
||||
PlotDataSource pds = new PlotDataSource();
|
||||
pds.setDataSourceUri(uri);
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ public abstract class EarnedValueChartFiller extends ChartFiller {
|
|||
|
||||
protected Plotinfo createPlotInfo(SortedMap<LocalDate, BigDecimal> map,
|
||||
Interval interval, String lineColor) {
|
||||
Plotinfo plotInfo = createPlotinfo(map, interval);
|
||||
Plotinfo plotInfo = createPlotinfo(map, interval, true);
|
||||
plotInfo.setLineColor(lineColor);
|
||||
return plotInfo;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,6 +63,9 @@ public interface IChartFiller {
|
|||
Plotinfo createPlotinfo(SortedMap<LocalDate, BigDecimal> map,
|
||||
Interval interval);
|
||||
|
||||
Plotinfo createPlotinfo(SortedMap<LocalDate, BigDecimal> map,
|
||||
Interval interval, boolean justDaysWithInformation);
|
||||
|
||||
void appendPlotinfo(Timeplot chart, Plotinfo plotinfo, ValueGeometry valueGeometry,
|
||||
TimeGeometry timeGeometry);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue