This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch fix/camel-tui-circuit-breaker
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/fix/camel-tui-circuit-breaker 
by this push:
     new e9a9991f83da TUI: suppress numeric value labels on throughput bar chart
e9a9991f83da is described below

commit e9a9991f83da11f63afdb9d51d202886d9bcf1cd
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat May 16 15:46:57 2026 +0200

    TUI: suppress numeric value labels on throughput bar chart
    
    Setting textValue("") hides the 0/value labels below each bar.
    The current numbers are already shown in the chart title.
    
    Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
---
 .../org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
index 2414b4c60683..3ead3679ea0b 100644
--- 
a/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
+++ 
b/dsl/camel-jbang/camel-jbang-plugin-tui/src/main/java/org/apache/camel/dsl/jbang/core/commands/tui/CamelMonitor.java
@@ -1011,8 +1011,8 @@ public class CamelMonitor extends CamelCommand {
                 long failed = Math.min(mergedFailed[i], mergedTotal[i]);
                 long ok = Math.max(0, mergedTotal[i] - failed);
                 groups.add(BarGroup.of(
-                        
Bar.builder().value(ok).style(Style.EMPTY.fg(Color.GREEN)).build(),
-                        
Bar.builder().value(failed).style(Style.EMPTY.fg(Color.RED)).build()));
+                        
Bar.builder().value(ok).textValue("").style(Style.EMPTY.fg(Color.GREEN)).build(),
+                        
Bar.builder().value(failed).textValue("").style(Style.EMPTY.fg(Color.RED)).build()));
             }
 
             BarChart barChart = BarChart.builder()

Reply via email to