legend

Which CSS tag creates a box like this with title?

I want to create a box like this with title: Can any one please let me know if there is a default CSS tag to do this? Or do I need to create my custom style? ...

Wrapping a label element within a legend element

I've never had a reason to put a label element inside of a legend element (never really thought about it or seen it done). But with the design I'm implementing, it's tempting to do so. Here's what I'm tempted to do: <fieldset> <legend><label for="formInfo">I would like information on</label></legend> <select id="formInfo"> <option val...

Flex 3.0 : Showing data in the legend of a Pie Chart

Hi, I'm a newbie to Adobe Flex 3.0. I need to show data within the Pie Chart Legend, alongside the colored markers. I have a few vague ideas about how to go about it. (Maybe I would have to write my custom legendMarkerRenderer.) Could anybody give any pointers? There aren't many examples on the net regarding this. Thanks in advance! P....

How to add children to a LegendItem?

I'm trying to add a Label to the LegendItem objects in my chart's legend, without much success. I extended the LegendItem class, and the constructor of the class I made is below. The problem is that the Label you see me trying to add doesn't appear in the legend item. It's there (I can find it with getChildByName), but it's invisible, fo...

Adding LegendItems in Flex places horizontally not vertically (as it's supposed to)

I'm dynamically inserting LegendItems into a Legend using the following code: signalLegend.removeAllChildren(); signalLegend.direction = "vertical"; for (var i:int = 0; i < numItems - 1; i++) { signalLegend.addChild(new LegendItem()); legendItem = signalLegend.getChildAt(i) as LegendItem; legendItem.label = "Title here"; ...

Changing Legend Type in Excel

I have a line chart, where the chart legend also in forms of line. Is there a way I can change the legend type from colored 'line' to colored 'circle' or 'square'? Figure like ...

Flex - Placement of Legend for a chart

Hi, 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 no avail... Putting the legend before the linechart in the mxml causes it to appear to the left. I can't seem to get it appear at the ...

Dyanmically updating Legends - ActionScript 3

Hey All, 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 chart and legend to a container. There is an update button. Clicked on the button. Now the line chart was updated with three da...

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</legend> ... the rest ... </fieldset> I want to create a custom widget in GWT that implements that. I managed to do that, but the problem is that e...

How to format SSRS 2008 Pie Chart's Legend into Table?

I have a DataSet with 4 fields. For example: FieldA, FieldB, FieldC, FieldD FieldA is the data field, and FieldB is the category field. Normally the Legend will display the category field. By applying custom format in the Series Properties --> Legend --> Custom legend text, I could format it like this: FieldB - FieldC - FieldD Because...

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 the legend to be displayed next to each other, ie. {legend 1},{legend 2},{legend 3}, rather than the default column format. 1) was easy to...

Place a Dojox Chart Legend into Multiple Columns

Hi, Can anyone reccomend a good way to place a dojox chart legend into columns? I would like the results to be something like this: item 1 item 4 item 7 item 2 item 5 item 8 item 3 item 6 item 9 I have many records (>20) and this would be a much better way to display the related legend from the pie chart. It appears the ...

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 for the entire legend, but I can't manage to assign it line by line. Is this possible? Code so far: list={'Label 1','Label 2','Label 3'}; l...

How to exclude series in legend (Flex)

Hello, 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 possible to exclude some series from chart legend? Thanks! ...

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 a span and setting the width and display: block. <legend> <span style="border: 1px solid blue; width: 250px; display: block"> ...

HOW TO: Draggable legend in matplotlib

QUESTION: 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 the user. How can this be done? SOLUTION: Well, I found bits and pieces of the solution scattered among mailing lists. I've come...

Cannot add margin to Legend element in Safari & Chrome

I have some pretty straightforward markup: <form action=""> <fieldset class="compact"> <legend>Member Tools</legend> <label for="username">Username</label> <input name="username" id="username" type="text"/> <label for="password">Password</label> <input name="password" id="pas...

Flex Column Chart customization

Hi all, 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 missed anything? Thanks. ...

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 = price, color = cut, group = cut)) r + geom_smooth() #(left) r + geom_smooth(size = 2) #(right) EDIT: added a close-up ...

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 http://i.imgur.com/IRrXB.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 the look of the legend to be consistent across browsers, i want it to use the width of the fieldset no more (like chrome and ie) no less (like f...