dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #29439
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14876: Chart merge fixes.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 14876 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-04-15 15:54:21 +0200
message:
Chart merge fixes.
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java 2014-04-15 13:22:03 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/chart/Chart.java 2014-04-15 13:53:17 +0000
@@ -614,9 +614,9 @@
showData = chart.isShowData();
hideEmptyRows = chart.isHideEmptyRows();
rewindRelativePeriods = chart.isRewindRelativePeriods();
- rangeAxisMaxValue = chart.getRangeAxisMaxValue() == null ? rangeAxisMaxValue : chart.getRangeAxisMaxValue();
- rangeAxisSteps = chart.getRangeAxisSteps() == null ? rangeAxisSteps : chart.getRangeAxisSteps();
- rangeAxisDecimals = chart.getRangeAxisDecimals() == null ? rangeAxisDecimals : chart.getRangeAxisDecimals();
+ rangeAxisMaxValue = chart.getRangeAxisMaxValue();
+ rangeAxisSteps = chart.getRangeAxisSteps();
+ rangeAxisDecimals = chart.getRangeAxisDecimals();
filterDimensions.clear();
filterDimensions.addAll( chart.getFilterDimensions() );