Re: How to edit a legend?

From: Ilka Antcheva <>
Date: Mon, 11 Apr 2005 15:02:56 +0200

Hi Dmitry,

I spent some time to investigate this case and what I see is that any legend entry is created according the line/marker/fill/text attributes of the corresponding object in the canvas. If you change the line type of the object itself, this will reflect into the corresponding legend entry.

Please use the user interface available via the canvas View menu / Editor. After the graphics editor shows up on the left of the canvas area, click with the left mouse button on the object you want to change to select it. This will load the corresponding user interface in the editor via which you can change different attributes.

Meanwhile the methods

  virtual void EditEntryAttFill();
  virtual void EditEntryAttLine();
  virtual void EditEntryAttMarker();
  virtual void EditEntryAttText();
were removed from the context menu of TLegend objects.

Cheers, Ilka

Dmitry A. Shtol wrote:

>I have a canvas saved to root file. It contains a legend. How I can edit a
>type of line in legend entries? Function TLegend::>EditEntryAttLine()
>doesn't help: it changes type of border line.
Received on Mon Apr 11 2005 - 15:03:15 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:06 MET