legend

How to change the colors of a legend item in flex legend?

in my flex chart I changed the fill of the PieSeries to use custom colors (set colors that I was prepared to be used according to values in the data provider of the Pie Chart)... The problem that the legend that is linked to my PieChart still shows the flex default colors and not the new colors from the PieChart series! Any idea how can...

How to put custom style for Legend items in Bar charts in ireport ?

Hi, I have got a situation where I need to keep styled text for legend items in Bar chart. I need to put different fonts and different font sizes for each legend item. And also I need to have different font sizes for some of the letters in one Legend item. For ex: Legend items are : 2010 2009 2008* 2007 2006* Now I want to give a d...

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. It is set in the .css files as white. IE8 is ignoring this. Any ideas? This only shows when admin is logged in so hard to show the problem...

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. The Bar Chart should display the percentage of people who eat these fruits by county (Percent Bar Chart). The "Apples" percentage always ...

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, and the value can be right, left, top, bottom, none (no legend), or a numeric position". The following code works (since "right" it is the ...

Irrelevant legend information in ggplot2

When running this code (go ahead, try it): library(ggplot2) (myDat <- data.frame(cbind(VarX=10:1, VarY=runif(10)), Descrip=sample(LETTERS[1:3], 10, replace=TRUE))) ggplot(myDat,aes(VarX,VarY,shape=Descrip,size=3)) + geom_point() ... the "size=3" statement does correctly set the point size. However it causes the legend to give bi...

basic html css design of a box with image and title

Hi. I am not a very good designer. At least not with html and css. I have been using a very simple code like this: <fieldset style=\"color: #000000; border: 1px solid #000000; width: 225px; text-align: left; padding: 5px;\"> <legend style=\"color: #999999; font-weight: bold;\">Headline.</legend> <p>text</p> </fieldset> To output infor...

How to make mosaic plot with pictures as bars with R?

Hi, I'd like to plot mosaic bar or spinogram like here: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=117, but I'd like to have vertically streched 3-letter string legend inside of each bar. Any ideas how to implement this easily? ...

Can any HTML element be styled as a fieldset/legend?

Using the display property, HTML elements become interchangeable from a styling perspective. This doesn't seem to be the case for fieldset and legend, however. Is it possible to style other HTML elements to look like fieldset and legend? ...

Using the <legend> tag for input.

So I've got a form, who's content will change based on a dropdown list of different reports. So the question is, how horrible would it be to include a select box as the legend tag for the fieldset? I know that technically it works, and semantically it makes sense (the actual text of the legend tag, the selected value is a caption of th...

Matplotlib legend help

I am writing a script that plot's several points. I am also trying to create a legend from these points. To sum up my script, I am plotting several 'types' of points (call them 'a', 'b', 'c'). These points have different colors and shapes: 'a'-'go' 'b'-'rh' 'c'-'k^'. This is a shortened version of the relevant parts of my script: lbl =...

Dojo 1.5.0 Charting Legend missing

Hi, I just upgraded from Dojo 1.4.3 to 1.5.0 and noticed that my legend is now missing. Anyone else have this problem?? I keep receiving the following error: o is undefined in dojo.js line 73 This error occurs when chart1.render(); //Graph shows but error causes the rest of the code in that javascript function to not execute (So, ...

Javascript/jQuery legend widget

Is there a JS/jQuery widget that would allow me to display a simple legend that contains for example a small colored rectanlge and a text label next to it? In this specific case the legend would show meanings behind different color codes in an inline jQuery UI datepicker widget, which would be customized to enable multiple selections by...

Making a Legend/Key in GraphViz

Hi, I’d like to include a legend or key in my GraphViz diagram, something like the mock-up below. I’m having trouble figuring out what code to use though; the best I can get are the attempts in the second graphic. I also want to put it in a corner, but the only coord I know for sure is the bottem-left: pos="10,10!". Does anyone know ho...

Setting label and value of the chart

I'm creating pie charts using JFreeChart, and I want to set the value and the label seperately like in iReport, how can I do this? In other words, I want the chart to show different results on the pie than in the legend. ...

Add legend outside of axes without rescaling in MATLAB

I've got a GUI in MATLAB with a set of axes pre-placed. I'm using the location property of the legend to place it to the right hand side of the axes. However, by doing this the axes get re-scaled so that the axes+legend take up the original width of the axes. Is there any way to circumvent the re-size? Example: x=0:.1:10; y=sin(x); fi...

Making a Flex chart with an interactive legend

Hello, I currently need help with making a chart in Flex with multiple series and a chart legend which is an interactive legend where upon selecting an item in the legend (which corresponds with a series in the chart) that specific series in the chart will slideDown or Up depending on whether it was just de-selected from the legend or ...

Eclipse - ButtonCLick --> new screen with text?

Im kinda new on developing for Android, and i've only completed apps like - hello world, paint pot etc. I know how to design the layout, but when it comes to the "activity" I alwats messes things up.. So now to my question - I'm creating a app to show my school schedule so I have 5 buttons (monday tuesday wednesday etc.) Then when I cl...

ButtonClick -> ImageView on new screen?

I am developing an app that is gonna be like a "comicApp", but so far I've just created 2 buttons and then I got 2 .jpgs. So when I click the first button I want to show a .jpg file in a new screen. I got 2 layout XML's (Main and the one with the ImageView on it.) How do I create a new screen in the activity? This is what I got so far...

Flex Chart Legend - how to get fine grained programmatic control?

I am looking to get access to individual legend items in actionscript (a Legend Item being the label and coloured block identifying a chart series). Does anyone know of a property of the Legend or Chart that gives access to all of the currently displayed LegendItems in a Legend? I know this is possible by using LegendMouseEvents, as the...