diff --git a/gui/browsable/src/RNTupleDraw6Provider.cxx b/gui/browsable/src/RNTupleDraw6Provider.cxx index 5ff52ffca87c4..f9e5e72c8ec1d 100644 --- a/gui/browsable/src/RNTupleDraw6Provider.cxx +++ b/gui/browsable/src/RNTupleDraw6Provider.cxx @@ -39,7 +39,7 @@ class RNTupleDraw6Provider : public RProvider { if (!treeMap) return false; - treeMap->Paint(opt.c_str()); + pad->Add(treeMap.release(), opt.c_str()); return true; } diff --git a/gui/webgui6/src/TWebCanvas.cxx b/gui/webgui6/src/TWebCanvas.cxx index fcdfa7cdd9021..e64abb55da212 100644 --- a/gui/webgui6/src/TWebCanvas.cxx +++ b/gui/webgui6/src/TWebCanvas.cxx @@ -312,7 +312,8 @@ Bool_t TWebCanvas::IsJSSupportedClass(TObject *obj, Bool_t many_primitives) const char *name{nullptr}; bool with_derived{false}; bool reduse_by_many{false}; - } supported_classes[] = {{"TH1", true}, + } supported_classes[] = {{"ROOT::Experimental::RTreeMapPainter"}, + {"TH1", true}, {"TF1", true}, {"TGraph", true}, {"TScatter"}, @@ -3000,3 +3001,4 @@ TCanvas *TWebCanvas::CreateWebCanvas(const char *name, const char *title, UInt_t return canvas; } +