Skip to main content

Questions tagged [legend]

A graph legend is commonly used when plotting several sets of data within the same diagram. The legend associates each plot with its corresponding data.

114 votes
4 answers
149k views

How to move or position a legend in ggplot2

I'm trying to create a ggplot2 plot with the legend beneath the plot. The ggplot2 book says on p 112 "The position and justification of legends are controlled by the theme setting legend.position, ...
Dan Goldstein's user avatar
2 votes
2 answers
4k views

Crystal Reports Legends

Is there a way to force a Bar Chart legend in Crystal Report 11.5 to display its objects in a particular order? For Example, say I am reporting on the consumption of "Bananas" and "Apples" by State. ...
AWinters's user avatar
1 vote
0 answers
247 views

IE8 displays legend in blue but all other browsers dispaly it correctly in white text. Why?

I have a Joomla 1.5 site with a client login on the page (rather than going right into the back-end) using the standard Joomla module, but when the login is accessed via IE* the tag displays in blue. ...
user351922's user avatar
0 votes
1 answer
1k views

i want to have some cross browser consistency on my fieldsets, do you know how can i do it?

i have this problem with fieldsets... have a look at https://i.sstatic.net/2P59B.png is it possible to achieve what i want with css??? believe me, i tried! as you can see on the img, i just want ...
Omar's user avatar
  • 21
2 votes
1 answer
4k views

R: ggplot2, why does my legend show faded colors?

Why is my legend faded in these examples below? Notice how the colours in the legend are not as vivid as the colours in the plot: library(ggplot2) r <- ggplot(data = diamonds, aes(x = carat, y =...
John  's user avatar
  • 5,189
0 votes
2 answers
2k views

Flex Column Chart customization

When I customized the ColumnChart in Flex by overrided updateDisplayList function, colors in legend no longer display. As you will see in the below picture: http://i41.tinypic.com/mim35d.png Does I ...
tdfs's user avatar
  • 1
23 votes
6 answers
14k views

Cannot add `margin` to `<legend>` element in Safari & Chrome (WebKit)

EDIT: As of 2012-06-11 this bug has been finally fixed! https://bugs.webkit.org/show_bug.cgi?id=35981#c1 I have some pretty straightforward markup: <form action=""> <fieldset class="...
Graham Conzett's user avatar
43 votes
3 answers
15k views

How to create a draggable legend in matplotlib?

I'm drawing a legend on an axes object in matplotlib but the default positioning which claims to place it in a smart place doesn't seem to work. Ideally, I'd like to have the legend be draggable by ...
Adam Fraser's user avatar
  • 6,555
0 votes
2 answers
2k views

Getting LEGEND tags to wrap text properly

Legend tags are always a nuisance as they don't adhere to a lot of CSS rules. I'm trying to get the text within a LEGEND tag to wrap using the typical solution of wrapping the text in the LEGEND with ...
DA.'s user avatar
  • 40.5k
5 votes
5 answers
5k views

How to exclude series in legend (Flex)

In flex charting, I want to draw something like "reference lines" which are related to specific series, therefore these lines are not independent series and should not be shown in legend. Is it ...
Sean Chen's user avatar
9 votes
3 answers
25k views

MATLAB: Assign multiple colors to text in legend

I'm trying to color code text in a legend. (Since I'm trying to sort several plots into different categories, I can't just rely on the line colors in the legend.) I've managed to set the text color ...
Doresoom's user avatar
  • 7,428
11 votes
2 answers
15k views

Change Silverlight Chart Legend Item Layout

I am working on customizing the layout of a Silverlight Toolkit Chart. I have two requirements: 1) Move the Legend area to the bottom of the chart (solved). 2) change the layout of elements within ...
Ryan's user avatar
  • 27.8k
6 votes
2 answers
10k views

Titled frame panel for GWT (using FIELDSET and LEGEND html tags)

I'm trying to create a titled border frame in GWT, which results in this: This can be done using HTML fieldset and legend tags, such as <fieldset> <legend>Connection parameters</...
Randy Sugianto 'Yuku''s user avatar
0 votes
2 answers
1k views

Dyanmically updating Legends - ActionScript 3

I have some issues in updating the legends created using action script. Please read the following steps to understand the issue. Created a line chart with two data Series. Created a legend. Appended ...
Jay's user avatar
  • 711
0 votes
1 answer
3k views

Flex - Placement of Legend for a chart

I would like to be able to specify the placement of a legend for a linechart. Currently, it continues to appear to the right of the chart. I have tried playing with the width/height of the chart to ...
heri0n's user avatar
  • 1,479

15 30 50 per page