From 7f35eb2810fe46724f628d4e96cc5e242f3f95b4 Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Fri, 15 Nov 2024 16:22:35 +0100 Subject: [PATCH] Draw cont5 axis as is - add title --- modules/hist/TGraph2DPainter.mjs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/hist/TGraph2DPainter.mjs b/modules/hist/TGraph2DPainter.mjs index c069fd0f5..510cee485 100644 --- a/modules/hist/TGraph2DPainter.mjs +++ b/modules/hist/TGraph2DPainter.mjs @@ -1103,8 +1103,10 @@ class TGraph2DPainter extends ObjectPainter { return this.Markers || this.Error || this.Circles || this.Line || this.Triangles || res.Contour; }; - if (res.isAny()) { - res.Axis = res.Contour ? 'axis' : 'lego2'; + if (res.Contour) + res.Axis = ''; + else if (res.isAny()) { + res.Axis = 'lego2'; if (res.Zscale) res.Axis += 'z'; } else res.Axis = opt;