change Color of legend
authorpyeongsoo.kim <pyeongsoo.kim@samsung.com>
Wed, 9 Nov 2011 07:12:51 +0000 (16:12 +0900)
committerpyeongsoo.kim <pyeongsoo.kim@samsung.com>
Wed, 9 Nov 2011 07:12:51 +0000 (16:12 +0900)
com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/timeline/chart/TimelineChart.java

index 70a2ebe..5350628 100644 (file)
@@ -102,9 +102,9 @@ public abstract class TimelineChart {
 
                chart.setBackgroundPaint(new Color(151, 151, 151));
 
-               // chart.getLegend().setVisible(true);
                chart.getLegend().setPosition(RectangleEdge.TOP);
                chart.getLegend().setHorizontalAlignment(HorizontalAlignment.RIGHT);
+               chart.getLegend().setBackgroundPaint(new Color(151, 151, 151));
 
                TextTitle texttitle = new TextTitle(chartName);
                texttitle.setHorizontalAlignment(HorizontalAlignment.LEFT);