# HG changeset patch # User Omair Majid # Date 1360874444 18000 # Node ID 023499bc265f4beee0c4115001fa97a3ddebcf64 # Parent 605f87eac75f122be04d7f0f56d3ec76abf2f4df Remove titles on charts Reviewed-by: neugens Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-February/005680.html PR 1310 diff -r 605f87eac75f -r 023499bc265f host-memory/client-core/src/main/java/com/redhat/thermostat/host/memory/client/locale/LocaleResources.java --- 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, diff -r 605f87eac75f -r 023499bc265f host-memory/client-core/src/main/resources/com/redhat/thermostat/host/memory/client/locale/strings.properties --- 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}) diff -r 605f87eac75f -r 023499bc265f host-memory/client-swing/src/main/java/com/redhat/thermostat/host/memory/client/swing/internal/HostMemoryPanel.java --- 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 diff -r 605f87eac75f -r 023499bc265f numa/client-core/src/main/java/com/redhat/thermostat/numa/client/locale/LocaleResources.java --- 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 = diff -r 605f87eac75f -r 023499bc265f numa/client-core/src/main/resources/com/redhat/thermostat/numa/client/locale/strings.properties --- 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 diff -r 605f87eac75f -r 023499bc265f numa/client-swing/src/main/java/com/redhat/thermostat/numa/client/swing/internal/NumaPanel.java --- 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 diff -r 605f87eac75f -r 023499bc265f vm-heap-analysis/client-core/src/main/java/com/redhat/thermostat/vm/heap/analysis/client/core/internal/HeapDumpController.java --- 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), diff -r 605f87eac75f -r 023499bc265f vm-heap-analysis/client-core/src/main/java/com/redhat/thermostat/vm/heap/analysis/client/locale/LocaleResources.java --- 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, diff -r 605f87eac75f -r 023499bc265f vm-heap-analysis/client-core/src/main/resources/com/redhat/thermostat/vm/heap/analysis/client/locale/strings.properties --- 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