=== modified file 'dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/chart/hibernate/Chart.hbm.xml'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/chart/hibernate/Chart.hbm.xml 2011-09-22 09:15:51 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/resources/org/hisp/dhis/chart/hibernate/Chart.hbm.xml 2011-10-20 11:23:55 +0000
@@ -12,13 +12,13 @@
-
+
-
-
-
+
+
+
@@ -56,6 +56,13 @@
+
+
+
+
+
+
+
@@ -70,12 +77,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/SaveChartAction.java'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/SaveChartAction.java 2011-10-20 09:35:23 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/java/org/hisp/dhis/reporting/chart/action/SaveChartAction.java 2011-10-20 11:23:55 +0000
@@ -341,16 +341,16 @@
dataElements.add( dataElementService.getDataElement( id ) );
}
+ for ( Integer id : getIntegerCollection( selectedDataSets ) )
+ {
+ dataSets.add( dataSetService.getDataSet( id ) );
+ }
+
for ( Integer id : getIntegerCollection( selectedOrganisationUnits ) )
{
organisationUnits.add( organisationUnitService.getOrganisationUnit( id ) );
}
- for ( Integer id : getIntegerCollection( selectedDataSets ) )
- {
- dataSets.add( dataSetService.getDataSet( id ) );
- }
-
Collections.sort( periods, new AscendingPeriodComparator() );
chart.setTitle( title );
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties 2011-10-12 17:32:39 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/resources/org/hisp/dhis/reporting/i18n_module.properties 2011-10-20 11:23:55 +0000
@@ -68,6 +68,7 @@
must_select_at_least_one_indictor_data_element_data_set = Please select at least one indicator, data element or data set
must_select_at_least_one_indicator = Please select at least one indicator
must_select_at_least_one_dataelement = Please select at least one data element
+must_select_at_least_one_dataset = Please select at least one dataset
must_select_at_least_one_unit= Please select at least one organisation unit
must_select_at_least_one_period= Please select at least one period
target_line_value_must_be_provided = Target line value must be provided when target lines are enabled.
@@ -171,14 +172,19 @@
add_indicator_chart = Add indicator chart
period_by_indicator_chart = Period by indicator chart
period_by_dataelement_chart = Period by data element chart
+period_by_completeness_chart = Period by completeness chart
indicator_by_period_chart= Indicator by period chart
dataelement_by_period_chart= Data element by period chart
+completeness_by_period_chart= Completeness by period chart
indicator_by_organisation_unit_chart= Indicator by organisation unit chart
dataelement_by_organisation_unit_chart= Data element by organisation unit chart
+completeness_by_organisation_unit_chart= Completeness by organisation unit chart
create_indicator_by_period_chart= Create indicator by period chart
create_dataelement_by_period_chart= Create data element by period chart
+create_completeness_by_period_chart= Create completeness by period chart
create_indicator_by_organisation_unit_chart= Create indicator by organisation unit chart
create_dataelement_by_organisation_unit_chart= Create data element by organisation unit chart
+create_completeness_by_organisation_unit_chart= Create completeness by organisation unit chart
dimension= Dimension
category_option_combos= Category Option Combinations
hide_legend= Hide legend
@@ -200,7 +206,9 @@
value_y_available_indicators= Value (Y) - Available indicators
value_y_selected_indicators= Value (Y) - Selected indicators
value_y_available_dataelements= Value (Y) - Available data elements
+value_y_available_datasets= Value (Y) - Available datasets
value_y_selected_dataelements= Value (Y) - Selected data elements
+value_y_selected_datasets= Value (Y) - Selected datasets
category_x_available_organisationunits= Category (X) - Available organisation units
category_x_selected_organisationunits= Category (X) - Selected organisation units
category_x_available_periods= Category (X) - Available periods
@@ -314,10 +322,13 @@
orgunit_distribution_report = Organisation Unit Distribution Report
create_period_by_indicator_chart = Create period by indicator chart
create_period_by_dataelement_chart = Create period by data element chart
+create_period_by_completeness_chart = Create period by completeness chart
value_x_selected_indicators = Value (X) - Selected indicators
value_x_available_indicators = Value (X) - Available indicators
value_x_selected_dataelements = Value (X) - Selected data elements
+value_x_selected_datasets = Value (X) - Selected datasets
value_x_available_dataelements = Value (X) - Available data elements
+value_x_available_datasets = Value (X) - Available datasets
category_y_selected_periods = Value (Y) - Selected periods
category_y_available_periods = Value (Y) - Available periods
get_current_design = Get current design
=== added file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addChartDataSetModeForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addChartDataSetModeForm.vm 1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/addChartDataSetModeForm.vm 2011-10-20 11:23:55 +0000
@@ -0,0 +1,150 @@
+