From: pyeongsoo.kim Date: Wed, 9 Nov 2011 07:12:51 +0000 (+0900) Subject: change Color of legend X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa3f51a256538f5e456e2f71ad4ac0a1cab0731d;p=sdk%2Ftools%2Fdynamic-analyzer.git change Color of legend --- diff --git a/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/timeline/chart/TimelineChart.java b/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/timeline/chart/TimelineChart.java index 70a2ebe..5350628 100644 --- a/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/timeline/chart/TimelineChart.java +++ b/com.samsung.dynamicanalyzer/src/com/samsung/dynamicanalyzer/timeline/chart/TimelineChart.java @@ -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);