cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
See how to use to use Text Explorer to glean valuable information from text data at April 25 webinar.
Choose Language Hide Translation Bar
View Original Published Thread

problem displaying legend

Françoise
Level V

Good morning,

 

I have a legend at the bottom of a graph but everything is not displayed.

 

see attached files.

 

how to get the complete legend?

 

Sincerelyundefinedundefinedundefined

 

This post originally written in French and has been translated for your convenience. When you reply, it will also be translated back to French .

2 REPLIES 2


Re: probleme pour afficher la légende

Hi @Françoise, could you attach a data table with a script for the graph attached? This might help us better understand what you are asking for.

jthi
Super User


Re: probleme pour afficher la légende

It looks like there could be a row change within the value which is being shown in Legend Box -> it won't fit

Names Default To Here(1);

dt = New Table("Untitled",
	Add Rows(3),
	Compress File When Saved(1),
	New Column("Column 1", Character, "Nominal", Set Values({"aaa
aaa", "bbb", "ccc
ccc
ccc"})),
	New Column("Column 2", Numeric, "Continuous", Format("Best", 12), Set Values([1, 2, 3])),
	New Column("Column 3", Numeric, "Continuous", Format("Best", 12), Set Values([2, 4, 6]))
);

gb = dt << Graph Builder(
	Size(518, 454),
	Show Control Panel(0),
	Legend Position("Bottom"),
	Variables(X(:Column 2), Y(:Column 3), Overlay(:Column 1)),
	Elements(Points(X, Y, Legend(17)), Smoother(X, Y, Legend(18)))
);

jthi_0-1701877957049.png

 

-Jarmo