Hi Glenn,
I have added TGraph::setTitle in my dev version.
Note that the signature must be "const Text_t *title"
Rene Brun
Glen R. Salo wrote:
>
> The pull down option SetTitle in TGraph does not work. I added the following
> method to G_Graph.cxx which fixes the problem. Is this the correct approach?
>
> Add the following to G_Graph.cxx:
>
> //______________________________________________________________________________
> void TGraph::SetTitle(Text_t* title)
> {
> fTitle = title;
> if (fHistogram) fHistogram->SetTitle(title);
> }
>
> Add to TGraph.h under public:
>
> virtual void SetTitle(Text_t* title); // *MENU*
>
> Glen
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET