dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20255
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9173: Removed shadows from png pie and stacked bar charts
------------------------------------------------------------
revno: 9173
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-12-04 19:10:04 +0100
message:
Removed shadows from png pie and stacked bar charts
modified:
dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.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-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java'
--- dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java 2012-11-28 12:58:49 +0000
+++ dhis-2/dhis-services/dhis-service-reporting/src/main/java/org/hisp/dhis/chart/impl/DefaultChartService.java 2012-12-04 18:10:04 +0000
@@ -480,6 +480,7 @@
for ( int i = 0; i < colors.length; i++ )
{
renderer.setSeriesPaint( i, colors[i] );
+ renderer.setShadowVisible( false );
}
return renderer;
@@ -653,6 +654,8 @@
piePlot.setSimpleLabels( true );
piePlot.setIgnoreZeroValues( true );
piePlot.setIgnoreNullValues( true );
+ piePlot.setShadowXOffset( 0d );
+ piePlot.setShadowYOffset( 0d );
for ( int i = 0; i < dataSets[0].getColumnCount(); i++ )
{