changeset 975:023499bc265f

Remove titles on charts Reviewed-by: neugens Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-February/005680.html PR 1310
author Omair Majid <omajid@redhat.com>
date Thu, 14 Feb 2013 15:40:44 -0500
parents 605f87eac75f
children a5125d1ef8b1
files host-memory/client-core/src/main/java/com/redhat/thermostat/host/memory/client/locale/LocaleResources.java host-memory/client-core/src/main/resources/com/redhat/thermostat/host/memory/client/locale/strings.properties host-memory/client-swing/src/main/java/com/redhat/thermostat/host/memory/client/swing/internal/HostMemoryPanel.java numa/client-core/src/main/java/com/redhat/thermostat/numa/client/locale/LocaleResources.java numa/client-core/src/main/resources/com/redhat/thermostat/numa/client/locale/strings.properties numa/client-swing/src/main/java/com/redhat/thermostat/numa/client/swing/internal/NumaPanel.java vm-heap-analysis/client-core/src/main/java/com/redhat/thermostat/vm/heap/analysis/client/core/internal/HeapDumpController.java vm-heap-analysis/client-core/src/main/java/com/redhat/thermostat/vm/heap/analysis/client/locale/LocaleResources.java vm-heap-analysis/client-core/src/main/resources/com/redhat/thermostat/vm/heap/analysis/client/locale/strings.properties
diffstat 9 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/host-memory/client-core/src/main/java/com/redhat/thermostat/host/memory/client/locale/LocaleResources.java	Thu Feb 14 15:35:01 2013 -0500
+++ b/host-memory/client-core/src/main/java/com/redhat/thermostat/host/memory/client/locale/LocaleResources.java	Thu Feb 14 15:40:44 2013 -0500
@@ -46,7 +46,6 @@
     HOST_INFO_MEMORY_TOTAL,
     
     HOST_MEMORY_SECTION_OVERVIEW,
-    HOST_MEMORY_CHART_TITLE,
     HOST_MEMORY_CHART_TIME_LABEL,
     HOST_MEMORY_CHART_SIZE_LABEL,
     
--- a/host-memory/client-core/src/main/resources/com/redhat/thermostat/host/memory/client/locale/strings.properties	Thu Feb 14 15:35:01 2013 -0500
+++ b/host-memory/client-core/src/main/resources/com/redhat/thermostat/host/memory/client/locale/strings.properties	Thu Feb 14 15:40:44 2013 -0500
@@ -5,7 +5,6 @@
 HOST_INFO_MEMORY_TOTAL = Total Memory
 
 HOST_MEMORY_SECTION_OVERVIEW = Memory
-HOST_MEMORY_CHART_TITLE = Memory
 HOST_MEMORY_CHART_TIME_LABEL = Time
 HOST_MEMORY_CHART_SIZE_LABEL = Size ({0})
 
--- a/host-memory/client-swing/src/main/java/com/redhat/thermostat/host/memory/client/swing/internal/HostMemoryPanel.java	Thu Feb 14 15:35:01 2013 -0500
+++ b/host-memory/client-swing/src/main/java/com/redhat/thermostat/host/memory/client/swing/internal/HostMemoryPanel.java	Thu Feb 14 15:40:44 2013 -0500
@@ -300,7 +300,7 @@
 
     private JFreeChart createMemoryChart() {
         JFreeChart chart = ChartFactory.createTimeSeriesChart(
-                translator.localize(LocaleResources.HOST_MEMORY_CHART_TITLE), // Title
+                null, // Title
                 translator.localize(LocaleResources.HOST_MEMORY_CHART_TIME_LABEL), // x-axis Label
                 translator.localize(LocaleResources.HOST_MEMORY_CHART_SIZE_LABEL, Size.Unit.MiB.name()), // y-axis Label
                 memoryCollection, // Dataset
--- a/numa/client-core/src/main/java/com/redhat/thermostat/numa/client/locale/LocaleResources.java	Thu Feb 14 15:35:01 2013 -0500
+++ b/numa/client-core/src/main/java/com/redhat/thermostat/numa/client/locale/LocaleResources.java	Thu Feb 14 15:40:44 2013 -0500
@@ -40,7 +40,7 @@
 
 public enum LocaleResources {
     NUMA_TAB,
-    NUMA_NODE, NUMA_SECTION_OVERVIEW, NUMA_CHART_TITLE, NUMA_CHART_TIME_LABEL, NUMA_CHART_NUM_HITS_LABEL,
+    NUMA_NODE, NUMA_SECTION_OVERVIEW, NUMA_CHART_TIME_LABEL, NUMA_CHART_NUM_HITS_LABEL,
     ;
 
     static final String RESOURCE_BUNDLE =
--- a/numa/client-core/src/main/resources/com/redhat/thermostat/numa/client/locale/strings.properties	Thu Feb 14 15:35:01 2013 -0500
+++ b/numa/client-core/src/main/resources/com/redhat/thermostat/numa/client/locale/strings.properties	Thu Feb 14 15:40:44 2013 -0500
@@ -1,6 +1,5 @@
 NUMA_TAB = NUMA
 NUMA_NODE = Node {0}
 NUMA_SECTION_OVERVIEW = NUMA
-NUMA_CHART_TITLE = NUMA
 NUMA_CHART_TIME_LABEL = Time
 NUMA_CHART_NUM_HITS_LABEL = Number of hits
--- a/numa/client-swing/src/main/java/com/redhat/thermostat/numa/client/swing/internal/NumaPanel.java	Thu Feb 14 15:35:01 2013 -0500
+++ b/numa/client-swing/src/main/java/com/redhat/thermostat/numa/client/swing/internal/NumaPanel.java	Thu Feb 14 15:40:44 2013 -0500
@@ -275,7 +275,7 @@
 
     private JFreeChart createNumaChart() {
         JFreeChart chart = ChartFactory.createTimeSeriesChart(
-                translator.localize(LocaleResources.NUMA_CHART_TITLE), // Title
+                null, // Title
                 translator.localize(LocaleResources.NUMA_CHART_TIME_LABEL), // x-axis Label
                 translator.localize(LocaleResources.NUMA_CHART_NUM_HITS_LABEL), // y-axis Label
                 numaCollection, // Dataset
--- a/vm-heap-analysis/client-core/src/main/java/com/redhat/thermostat/vm/heap/analysis/client/core/internal/HeapDumpController.java	Thu Feb 14 15:35:01 2013 -0500
+++ b/vm-heap-analysis/client-core/src/main/java/com/redhat/thermostat/vm/heap/analysis/client/core/internal/HeapDumpController.java	Thu Feb 14 15:40:44 2013 -0500
@@ -125,7 +125,7 @@
         this.heapDAO = heapDao;
         
         model = new OverviewChart(
-                    translator.localize(LocaleResources.HEAP_CHART_TITLE),
+                    null,
                     translator.localize(LocaleResources.HEAP_CHART_TIME_AXIS),
                     translator.localize(LocaleResources.HEAP_CHART_HEAP_AXIS),
                     translator.localize(LocaleResources.HEAP_CHART_CAPACITY),
--- a/vm-heap-analysis/client-core/src/main/java/com/redhat/thermostat/vm/heap/analysis/client/locale/LocaleResources.java	Thu Feb 14 15:35:01 2013 -0500
+++ b/vm-heap-analysis/client-core/src/main/java/com/redhat/thermostat/vm/heap/analysis/client/locale/LocaleResources.java	Thu Feb 14 15:40:44 2013 -0500
@@ -46,7 +46,6 @@
     
     HEAP_SECTION_TITLE,
     HEAP_OVERVIEW_TITLE,
-    HEAP_CHART_TITLE,
     HEAP_CHART_TIME_AXIS,
     HEAP_CHART_HEAP_AXIS,
     HEAP_CHART_CAPACITY,
--- a/vm-heap-analysis/client-core/src/main/resources/com/redhat/thermostat/vm/heap/analysis/client/locale/strings.properties	Thu Feb 14 15:35:01 2013 -0500
+++ b/vm-heap-analysis/client-core/src/main/resources/com/redhat/thermostat/vm/heap/analysis/client/locale/strings.properties	Thu Feb 14 15:40:44 2013 -0500
@@ -5,7 +5,6 @@
 
 HEAP_SECTION_TITLE = Heap Analyzer
 HEAP_OVERVIEW_TITLE = Heap Usage Overview
-HEAP_CHART_TITLE = Used Heap vs. Heap Capacity
 HEAP_CHART_TIME_AXIS = Time
 HEAP_CHART_HEAP_AXIS = Heap
 HEAP_CHART_CAPACITY = Heap Capacity