legend placement

I've been keeping this locked up for a while - but now - it's
just one of
those little, little picky things that absolutely bothers me.
In Firefox - I LOVE the way the
<legend>Blah</legend> text is placed in
regards of its position to the left. However, in IE - it's
over to the right
noticably and drives me crazy. I've tried margins, padding,
and still, it
seems, nothing works to get it more-left like in Firefox.
Does anyone know a fix - or is this a stupid IE thing that
can't be
resolved?
Example:
http://www.avenuedesigners.com/contact.php
Shane H
[email protected]
http://www.avenuedesigners.com
=============================================
Proud GAWDS Member
http://www.gawds.org/showmember.php?memberid=1495
Delivering accessible websites to all ...
=============================================

Look harder - it's moved more towards the right.
Shane H
[email protected]
http://www.avenuedesigners.com
=============================================
Proud GAWDS Member
http://www.gawds.org/showmember.php?memberid=1495
Delivering accessible websites to all ...
=============================================
"Ken Binney" <[email protected]> wrote
in message
news:e6hd2h$rqu$[email protected]..
> Sorry Shane... I see no difference on PC IE6 vs FF.
>
>
> "Shane H" <[email protected]> wrote
in message
> news:e6g4h9$cfq$[email protected]..
>> I've been keeping this locked up for a while - but
now - it's just one of
>> those little, little picky things that absolutely
bothers me.
>>
>> In Firefox - I LOVE the way the
<legend>Blah</legend> text is placed in
>> regards of its position to the left. However, in IE
- it's over to the
>> right noticably and drives me crazy. I've tried
margins, padding, and
>> still, it seems, nothing works to get it more-left
like in Firefox.
>>
>> Does anyone know a fix - or is this a stupid IE
thing that can't be
>> resolved?
>>
>> Example:
http://www.avenuedesigners.com/contact.php
>>
>> --
>> Shane H
>> [email protected]
>>
http://www.avenuedesigners.com
>>
>> =============================================
>> Proud GAWDS Member
>>
http://www.gawds.org/showmember.php?memberid=1495
>>
>> Delivering accessible websites to all ...
>> =============================================
>>
>>
>>
>
>

Similar Messages

  • Legend placement in Excel

    Hi,
    I'm trying to control the placement of a chart legend in Excel from Labview using active X. The VBA lines I need to perform in Labview are as follows:
    ActiveChart.Legend.Select
    Selection.Position = xlBottom
    The problem I'm having is that I can't find an automation refnum for Selection. I have tried searching the Microsoft Excel Objects library but it does not seem to be there. I have attached a screen shot of the code. I am relatively new to active X so any help appreciated.
    Thanks
    LMS17
    Solved!
    Go to Solution.
    Attachments:
    selection_position_refnum.JPG ‏13 KB

    Here is what you need yo do. Look at the gif
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    Chart.gif ‏3 KB

  • VC Chart legend Display

    Hello Everybody,
    Here we are facing a problem in our Visual composer Dashboard.
    We have upgraded the patch level of EP server from SP10 to SP17 and BW patch level is SP19.
    We are using VC 7.0 with compiler Flex2.
    In our Dashboard we are displaying some Queries's results via "Line" chart type.
    In Category Axis field we have 'fiscal_year_period'. In Data Series field we have one key figure per Business area (There are 25 Data Series key figures).
    eg.  Generation per Business Area.
         Generation for 1033
         Generation for 1004
         Generation for 1007
         Generation for 1015
    Now we are filtering the Queries's output according to Buisness Area. But after the filteration of values in Chart the legends (Legend Placement = below ) are not changing dynamicaly as per the input Buisness Area.
    eg . If we have filtered for two Business Areas the Chart is also coming for two Business Areas but the legends (Legend Placement = below ) are coming for all Business Areas.
    Kindly Help us as we are not able to find any solution.
    Thanks & Regards
    Nivedita

    Hi Nivedita,
    Of course you have this problem becouse the Data Series declaration is static.
    You can hide the legent and the end user can use tooltip in order to understand line's Business Area.
    If this solution is not enough, give some table generated from the same query with same filtering and for each row attach color used in chart (the appearance of chart colors is permanent). It's something very tricky and may bring down the performance.
    Another way is to use Business Graphics of WebDynpro in order to create your dashboard and forget about problems like this
    Good luck,
    Ola

  • Legend, error bars, 2nd y axis etc

    Hello all,
    Measurement Studio is a powerful program. But it's graphing functions need improvement. As a scientific tool, for example, the lack of plotting error bars in CWGraph is unforgivable. And many other essential functions for producing decent graphs are missing. So I attempted to try to fill in some gaps. The attached program intends to do following:
    1) Plots x- and y error bars.
    2) Legends for data sets,
    3) Graph saving,
    4) Graph printing
    Notes:
    1)Error bars are not plotted symmetrically. They can be improved.
    2)Legends can be improved by making them automatically located in the empty part of the plotting area. And the routine doesn't work well for the logarithmic scale.
    3)Since the point sizes are tied to line size, it is impossible to use larger symbols without increasing the size of the lines!
    4)y axis and the 2nd axis labels as rotated have terrible looking fonts.
    5)When printing to a pdf file, filename can be automatically set to a default filename so that a dialog box can be avoided.
    I hope the attached program is useful.
    Sincerely,
    Cem
    P.S.
    The program plots 5 data sets. 4 of which use left y-axis, the last one uses the right axis. Only y error bars are plotted. (x error bars optional). The legend text appears on the left upper corner. User can enable/disable legend, lines connecting data points, error bars, and grid lines. When log axis is chosen, the legend placement is screwed up.
    Attachments:
    plottest.zip ‏6 KB

    Thanks for sharing this with us Girit. I'm sure this will help out alot of people on the forum.
    For your legend, this document provides another way you might be able to create a legend and not have to deal with finding an empty place on the graph.
    Thanks again
    Bilal Durrani
    NI

  • Legend Calendar view of VC doesn't work

    Hello,
    I have created a model which returning start date and end date of planned maintenance dates. I can show these dates in calendar view but when I try to add legend to this calendar not only I am not able to see any legend but also calendar is also empty, all dates are gone.
    But when I remove all legends the calendar shows all dates in the same color.
    I tried to find an answer for this issue on SDN and google but except 2 [not answered question |Visual Composer Calendar;on SDN, Couldn't find any usefull answer.
    I also reviewed these:
    http://help.sap.com/saphelp_gts72/helpdata/de/43/eca4ef15b22ae6e10000000a422035/content.htm
    http://help.sap.com/saphelp_rc10/helpdata/en/43/eeb0b2a3597062e10000000a1553f6/content.htm
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9326072e-0c01-0010-bc97-f72e93338101?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe?QuickLink=index&overridelayout=true
    It is very simple but it doesn't work!!!
    these are my settings;
    from date field = @Begda
    to date field = @endda
    Calendar range = Auto
    Legend placement = Below (not able to change)
    legend filtering = filter
    dynamic legend = not selected
    legend ID field = when dynamic legend is not selected this field is disabled
    the Table for legend:
    = 0
    Label = ABC  
    Color = #339966
    Condition = @SYSID=='ABC'
    I really can't figure this out!    your help will be highly appreciated
    Thanks.

    Your description is a bit sketchy, however a few thoughts (might actually start with step 4).
    1) make sure your cfm files and project is set up to be under your ColdFusion9 wwwroot.  So, on windows, if your project was called test, the correct folder would be c:\ColdFusion9\wwwroot\test, with the .cfm files under that directory.
    2) make sure you can bring up the ColdFusion9 administrator panel.  Under Servers, right-click the server you setup, and do "launch ColdFusion Administrator".  Make sure your local server is setup with the right passwords.
    3) check your project properties (right click on your project, select properties), and here make sure your project is referencing the server.  From there you should be able to switch from the Source|Firefox|IE tabs (that's what I have on Windows), and something should show up.  Also, when you run the .cfm file in an external browser.
    4) Step 1, however, should be verifyable OUTSIDE of CF Builder, with a path something like:
         http://localhost:8500/project-directory-name/example.cfm file
    Also of course make sure that http://localhost:8500/CFIDE does something.   That should tie it altogether, since when you do a launch/run from CF Builder, you can compare the address it puts in your browser, with the aforementioned addresses.
    Let us know what was wrong, so others can use your post.

  • Creating a new chart in PowerPoint 2013 with Chart Styles applied

    In PowerPoint 2013 when I manually insert a new chart into a slide, the chart automatically has the Chart Style "Style 1" applied. This has the effect of setting the font sizes of chart labels to 12.
    However, no Chart Styles are applied if I try to add a new chart to PowerPoint 2013 using the following C# code:
    var ppt = new Microsoft.Office.Interop.PowerPoint.Application();
    var presentation = ppt.Presentations.Add();
    var layout = Microsoft.Office.Interop.PowerPoint.PpSlideLayout.ppLayoutChart;
    var slide = presentation.Slides.Add(1, layout);
    var shapes = slide.Shapes;
    shapes.AddChart();
    Font sizes seem to default to 18. Is there any way to create a chart or to set Chart Styles using Interop so that it matches a chart produced manually (i.e. has Chart Styles applied)?
    I am aware of the Chart.ChartStyle property but it only seems to change chart colors and legend placement, not font size. There is no Macro recorder in PowerPoint, so I can't generate VBA code to replicate the action of creating a new chart.

    Hi
    >> there any way to create a chart or to set Chart Styles using Interop so that it matches a chart produced manually (i.e. has Chart Styles applied)?
    You can add using shapes.AddChart2() instead of the last sentence shapes.AddChart(), I have tested in my projects, if I using AddChart(), the label size and the space will be different from manually insert a chart into a slide, but AddChart2() is the same
    with manually operating.
    And This object, member, or enumeration is deprecated and is not intended to be used in your code.
    More details you cab refer to the following link
    https://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.shapes.addchart.aspx
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can we place values near the legend in charts

    Dear Obiee Gurus!!
    I have a requirement for pie chart where we need to place the values near the legend color. We have option to place the legend or not in obiee but not to show both colors and value.
    Pie chart circle
    yellow color Manufacturing 52
    green color other 72
    Pink IT 10
    I highly appreciate any guidance.
    Thanks,
    sanjay

    user12846884 wrote:
    Cant we do that at report level rather than doing it at rpd level.Where did you see rpd level? It does on report level but you have to change some js files for decision to work.
    user12846884 wrote:
    And i have another requirement as in the dashboard prompt page i want to place two different sections horizontally to each other .You may add the second column in dashboard editor and place the second section in it.

  • Legend display and decimal places

    Hi all,
    I'm using mapviewer to create thematic maps and the Ranged Bucket Advanced Style (XML below) with whole numbers but when I generate the legend each range has a ".0" on the end of it. Is there a way of turning this off?
    <?xml version="1.0" standalone="yes"?>
    <non_map_request>
    <add_style name="V.POLK THEMATIC" >
    <AdvancedStyle>
    <BucketStyle>
    <Buckets>
    <RangedBucket low="57" high="146" style="SCOTT:C.IMQ_1"/>
    <RangedBucket low="146" high="307" style="SCOTT:C.IMQ_2"/>
    <RangedBucket low="307" high="504" style="SCOTT:C.IMQ_3"/>
    <RangedBucket low="504" high="714" style="SCOTT:C.IMQ_4"/>
    <RangedBucket low="714" high="1359" style="SCOTT:C.IMQ_5"/>
    </Buckets>
    </BucketStyle>
    </AdvancedStyle>
    </add_style>
    </non_map_request>
    The legend however has these ranges :
    57.0 - 146.0
    146.0 - 307.0
    307.0 - 504.0
    504.0 - 714.0
    714.0 - 1359.0
    Any thoughts anyone? Forgive me if this has been posted before but the forum search doesn't appear to be working right now!
    Thanks
    Steve

    Hi Steve,
    at this time there is no way to turn this off.
    Joao

  • How Rock Guitar Legend Slash Hopes to Hack Music Discovery Apps

    Editor's Note: What do you guys think about the concept of apps helping artists with music discovery? Does it have legs? Is it monetizeable? Read and then let us know your thoughts on this thread.--ks
    http://thenextweb.com/insider/2014/03/10/sxslashat​hon-rock-legend-slash-hopes-hack-music-discovery (via TheNextWeb.com)
    Glance at this year’s SXSW schedule and “Slashathon” might sound like an all-night 80s horror flick screening. In reality, the title is fairly literal: rock guitarist Slash is hosting an artist-focused hackathon on Wednesday with the hopes of drawing in crowds at the perfect mid-point between SXSW’s Interactive and Music sessions.
    “It was an idea that came up when we were brainstorming the launch of our new record,” Slash, also uncommonly known as Saul Hudson, tells The Next Web in a phone interview. “I’m sure there are a lot of people out there who don’t have a platform to talk about new tech ideas for music, so we hope that the event helps inspire software developers to create something unique in the spur of the moment.”
    Despite having been involved in several apps and video games, Slash says he’s not a particularly techie person, and is mostly interested in music recording apps that aid artists on the go. “I travel a lot, so tuner apps or things that enhance sound recordings are what I’m most interested in.”
    A fan of Spotify and Pandora, the guitarist says music streaming apps are great for artists to both discover new music and share with fans, and he hopes to see more apps devoted to helping artists gain exposure.
    “This is what people do now: they go to their computers and smartphones and find new music, shows, and artists,” Slash says. “Spotify and Pandora have definitely helped soften the blow on musical piracy… making records is a huge business now, and these apps help artists feel like they’re not doing it for nothing.”
    While he doesn’t intend for the Slashathon to necessarily “solve” problems — as most startups tend to focus on — he would like to see music discovery become more catered to recording artists, not just consumers.
    “I’d like to see the trend continue on apps that help artists get the word out about their new records and local shows,” he says.
    It’s not surprising that a musician like Slash is keen on discovering new music. Thanks to Guitar Hero’s repopularization of “Sweet Child O’ Mine,” it’s hard to escape a dive bar or TV commercial without the familiar rock rhythms, even for Slash himself.
    But of course, he’s grateful for the multi-generational love that’s passed along, decades after the song emerged.
    “I was definitely more sick of it when we first wrote, recorded, and played it,” Slash says. “But over the years… it’s one of those things where you have to appreciate that a lot of people still like it.”
    The SXSW Slashathon takes place at Capital Factory, and begins at 9 AM on March 12.
    LenovoDev.com Manager

    Editor's Note: What do you guys think about the concept of apps helping artists with music discovery? Does it have legs? Is it monetizeable? Read and then let us know your thoughts on this thread.--ks
    http://thenextweb.com/insider/2014/03/10/sxslashat​hon-rock-legend-slash-hopes-hack-music-discovery (via TheNextWeb.com)
    Glance at this year’s SXSW schedule and “Slashathon” might sound like an all-night 80s horror flick screening. In reality, the title is fairly literal: rock guitarist Slash is hosting an artist-focused hackathon on Wednesday with the hopes of drawing in crowds at the perfect mid-point between SXSW’s Interactive and Music sessions.
    “It was an idea that came up when we were brainstorming the launch of our new record,” Slash, also uncommonly known as Saul Hudson, tells The Next Web in a phone interview. “I’m sure there are a lot of people out there who don’t have a platform to talk about new tech ideas for music, so we hope that the event helps inspire software developers to create something unique in the spur of the moment.”
    Despite having been involved in several apps and video games, Slash says he’s not a particularly techie person, and is mostly interested in music recording apps that aid artists on the go. “I travel a lot, so tuner apps or things that enhance sound recordings are what I’m most interested in.”
    A fan of Spotify and Pandora, the guitarist says music streaming apps are great for artists to both discover new music and share with fans, and he hopes to see more apps devoted to helping artists gain exposure.
    “This is what people do now: they go to their computers and smartphones and find new music, shows, and artists,” Slash says. “Spotify and Pandora have definitely helped soften the blow on musical piracy… making records is a huge business now, and these apps help artists feel like they’re not doing it for nothing.”
    While he doesn’t intend for the Slashathon to necessarily “solve” problems — as most startups tend to focus on — he would like to see music discovery become more catered to recording artists, not just consumers.
    “I’d like to see the trend continue on apps that help artists get the word out about their new records and local shows,” he says.
    It’s not surprising that a musician like Slash is keen on discovering new music. Thanks to Guitar Hero’s repopularization of “Sweet Child O’ Mine,” it’s hard to escape a dive bar or TV commercial without the familiar rock rhythms, even for Slash himself.
    But of course, he’s grateful for the multi-generational love that’s passed along, decades after the song emerged.
    “I was definitely more sick of it when we first wrote, recorded, and played it,” Slash says. “But over the years… it’s one of those things where you have to appreciate that a lot of people still like it.”
    The SXSW Slashathon takes place at Capital Factory, and begins at 9 AM on March 12.
    LenovoDev.com Manager

  • Not able to see legends on Internet Explorer 8

    I have a Flex Application that works great in Internet Explorer 9 and Firefox. However with Internet Explorer it does not show the colors for the legends, just the values. Do you guys could give me any ideas what I need to change in my code so that IE 8 shows the legend colors? You can see on the image attached that the colors show correctly on the map but the legend does not show the colors for each values.! Thank you for any help!
    Here is the code
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application       
                    xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    xmlns:esri="http://www.esri.com/2008/ags"
                    paddingBottom="8" paddingLeft="8"
                    paddingRight="8" paddingTop="8"
                    backgroundColor="0xffffff"
                    layout="vertical" >
        <!-- Start Declarations -->
    <fx:Declarations>
            <esri:SimpleFillSymbol id="mouseOverSymbol" alpha="0.5" color="0x808080">
                <esri:SimpleLineSymbol width="0" color="#000000"/>
            </esri:SimpleFillSymbol>
            <esri:SimpleFillSymbol id="defaultsym" alpha="0.01" color="#E0E0E0"   >
                <esri:SimpleLineSymbol width="1" color="#000000"/>
            </esri:SimpleFillSymbol>
        <!-- End Declarations -->
    </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import com.esri.ags.Graphic;
                import com.esri.ags.SpatialReference;
                import com.esri.ags.events.GraphicEvent;
                import com.esri.ags.geometry.Extent;
                import com.esri.ags.layers.*;
                import com.esri.ags.symbols.SimpleFillSymbol;
                import com.esri.ags.symbols.SimpleLineSymbol;
                import mx.collections.ArrayCollection;
                import mx.controls.RadioButton;
                import mx.controls.TextArea;
                import mx.events.DropdownEvent;
                import mx.events.ItemClickEvent;
                private function closeHandler(evt:DropdownEvent):void
                try
                    myLabel.text = ComboBox(evt.target).selectedItem.label;
                catch(error:Error){
                    trace("Caught Error: "+error);
                private function loadLayerName():void
                    myLegend.layers = null;
                    layerPanel.removeAllChildren();
                    //loop through each layer and add as a radiobutton
                    for(var i:uint = 0; i < (dynamicLayer.layerInfos.length); i++)
                        var radioBtn:RadioButton = new RadioButton;
                        radioBtn.groupName = "radioBtnGroup";
                        radioBtn.value = i;
                        radioBtn.label = dynamicLayer.layerInfos[i].name;
                        if (dynamicLayer.layerInfos[i].name == "Direct Impact (Million $)")
                            radioBtn.label = "Direct Impact";
                        else if (dynamicLayer.layerInfos[i].name == "Total Impact (Million $)")
                        {radioBtn.label = "Total Impact";
                        else if (dynamicLayer.layerInfos[i].name == "Total Impact (Jobs)")
                        {radioBtn.label = "Total Impact";
                        else if (dynamicLayer.layerInfos[i].name == "Direct Impact (Jobs)")
                        {radioBtn.label = "Direct Impact";
                        else
                        {radioBtn.visible= false;
                        layerPanel.addChild(radioBtn);
                    /*     myDividerBox.getDividerAt(0).visible = false; */
                    //set the visible layer the first radio button
                     radioBtnGroup.selectedValue = 0;
                     dynamicLayer.visibleLayers = new ArrayCollection([0]);
                    myLegend.layers = [dynamicLayer];
                    myLegend.visible = true;
                private function radioClickHandler(event:ItemClickEvent):void
                    myLegend.layers = null;
                    // update the visible layers to only show the layer selected
                    dynamicLayer.visibleLayers = new ArrayCollection([event.index]);
                    myLegend.layers = [dynamicLayer];
                    myLegend.visible = true;
                private function changeEvt(event:Event):void {
                if (yearcombo.selectedItem.year == "2007")
                    measures.filterFunction=filter1
                    measures.refresh()
                    myURL.dataProvider=measures
                    myLegend.visible = true;
                else if (yearcombo.selectedItem.year == "2009")
                    measures.filterFunction=filter2
                    measures.refresh();
                    myLegend.visible = true;
            public function filter1(item:Object):Boolean
                if (item.year=="2007") return true
                else return false
                public function filter2(item:Object):Boolean
                    if (item.year=="2009") return true
                    else return false
                private function clickEvt(event:Event):void {
                    if (yearcombo.selectedItem.year == "2007")
                        measures.filterFunction=filter3
                        measures.refresh()
                        myURL.dataProvider=measures
                    else if (yearcombo.selectedItem.year == "2009")
                        measures.filterFunction=filter4
                        measures.refresh();
                public function filter3(item:Object):Boolean
                    if (item.year=="2007") return true
                    else return false
                public function filter4(item:Object):Boolean
                    if (item.year=="2009") return true
                    else return false
                private function clickEv2(event:Event):void {
                    if (yearcombo.selectedItem.year == "2007")
                        measures.filterFunction=filter5
                        measures.refresh()
                    else if (yearcombo.selectedItem.year == "2009")
                        measures.filterFunction=filter6
                        measures.refresh();
                    else if (yearcombo.selectedItem.year == 2007 && myURL.selectedIndex==8)
                        myLegend.layers = null;
                        layerPanel.removeAllChildren();
                public function filter5(item:Object):Boolean
                    if (item.year=="2007") return true
                    else return false
                public function filter6(item:Object):Boolean
                    if (item.year=="2009") return true
                    else return false
                /* IF YOU WANT TO INCLUDE OTHER VALUES IN THE MAP TOOLTIP LIKE COUNTY NAME AND THE LABEL OF THE SELECTED ITEM
                if (myURL.selectedIndex==0)
                myTextArea.htmlText = "<b>County: </b>" + gr.attributes.NAME + "\n"
                + "<b>Measure: </b>" + myURL.selectedItem.label + gr.attributes.ForDirIndOut.toString()
                    public function fLayer_graphicAddHandler(event:GraphicEvent):void
                        event.graphic.addEventListener(MouseEvent.MOUSE_OVER, onMouseOverHandler);
                        event.graphic.addEventListener(MouseEvent.MOUSE_OUT, onMouseOutHandler);
                    public function onMouseOverHandler(event:MouseEvent):void
                        //Place the lines of code that don't change based on the selections once.
                        var graphic:Graphic = Graphic(event.currentTarget);
                        graphic.symbol = mouseOverSymbol;
                        var htmlText:String = graphic.attributes.htmlText;
                        var textArea:TextArea = new TextArea();
                        textArea.width= 110
                        textArea.height = 25
                        //The particular year doesn't seem to have an impact on anything but the definetionExpression
                        //so there is no need to evaluate it each time
                    /*     if (yearcombo.selectedItem.year == "2007"){
                            fLayer.definitionExpression = "DATA_YEAR_TXT like '2007'";
                        }else if(yearcombo.selectedItem.year == "2009"){
                            fLayer.definitionExpression = "DATA_YEAR_TXT like '2009'";
                        fLayer.definitionExpression = "DATA_YEAR_TXT like '"+ yearcombo.selectedItem.year+"'";
                        //This part is always the same so only do it once
                        textArea.htmlText = myURL.selectedItem.label; */
                        /* for each (var item:object in fLayer.getItemAt(i)
                        if (myURL.selectedItem.namefield == fLayer.tableDetails.fields){ */
                        /* if (myURL.selectedItem.namefield == fLayer.outFields 
                            textArea.htmlText = graphic.attributes.ForDirIndOut.toString();
                        private function locateBoundary(event:Event) : void
                        layerCOUNTIES.definitionExpression = "STATE = '" + (event.currentTarget as TextArea).data.STATEFP + "'";
                        try{
                            if (radioBtnGroup.selectedValue == 0){
                                if(myURL.selectedIndex == 0){
                                    textArea.htmlText = graphic.attributes.ForDirIndOut.toString();
                                }else if(myURL.selectedIndex == 1 ){
                                    textArea.htmlText = graphic.attributes.ForDirEmp.toString();
                                }else if(myURL.selectedIndex == 2){
                                    textArea.htmlText = graphic.attributes.ForDirLabInc.toString();
                                }else if(myURL.selectedIndex == 3){
                                    textArea.htmlText = graphic.attributes.ForIndirBusTax.toString();
                                }else if(myURL.selectedIndex == 4){
                                    textArea.htmlText = graphic.attributes.LogDirIndOut.toString();
                                }else if(myURL.selectedIndex == 5){
                                    textArea.htmlText = graphic.attributes.LogDirEmp.toString();
                                }else if(myURL.selectedIndex == 6){
                                    textArea.htmlText = graphic.attributes.LogDirLabInc.toString();
                                }else if(myURL.selectedIndex == 7){
                                    textArea.htmlText = graphic.attributes.LogIndirBusTax.toString();}
                                else if(myURL.selectedIndex == 8){
                                    textArea.htmlText = graphic.attributes.PrimaryPaperDirIndOut.toString();}
                                else if(myURL.selectedIndex == 9){
                                    textArea.htmlText = graphic.attributes.PrimaryPaperDirEmp.toString();}
                                else if(myURL.selectedIndex == 10){
                                    textArea.htmlText = graphic.attributes.PrimaryPaperDirLabInc.toString();}
                                else if(myURL.selectedIndex == 11){
                                    textArea.htmlText = graphic.attributes.PrimaryPaperIndirBusTax.toString();}
                                else if(myURL.selectedIndex == 12){
                                    textArea.htmlText = graphic.attributes.PrimarySolidIndOut.toString();}
                                else if(myURL.selectedIndex == 13){
                                    textArea.htmlText = graphic.attributes.PrimarySolidEmp.toString();}
                                else if(myURL.selectedIndex == 14){
                                    textArea.htmlText = graphic.attributes.PrimarySolidLabInc.toString();}
                                else if(myURL.selectedIndex == 15){
                                    textArea.htmlText = graphic.attributes.PrimarySolidIndBusTax.toString();}
                                else if(myURL.selectedIndex == 16){
                                    textArea.htmlText = graphic.attributes.SecondPaperDirIndOut.toString();}
                                else if(myURL.selectedIndex == 17){
                                    textArea.htmlText = graphic.attributes.SecondPaperDirEmp.toString();}
                                else if(myURL.selectedIndex == 18){
                                    textArea.htmlText = graphic.attributes.SecondPaperDirLabInc.toString();}
                                else if(myURL.selectedIndex == 19){
                                    textArea.htmlText = graphic.attributes.SecondPaperIndirBusTax.toString();}
                                else if(myURL.selectedIndex == 20){
                                    textArea.htmlText = graphic.attributes.SecondSolidDirIndOut.toString();}
                                else if(myURL.selectedIndex == 21){
                                    textArea.htmlText = graphic.attributes.SecondSolidDirEmp.toString();}
                                else if(myURL.selectedIndex == 22){
                                    textArea.htmlText = graphic.attributes.SecondSolidDirLabInc.toString();}
                                else if(myURL.selectedIndex == 23){
                                    textArea.htmlText = graphic.attributes.SecondSolidBusTax.toString();}
                                myMap.infoWindow.show(myMap.toMapFromStage(event.stageX, event.stageY));
                            else if (radioBtnGroup.selectedValue == 1){
                                    if(myURL.selectedIndex == 0){
                                        textArea.htmlText = graphic.attributes.ForTotImpIndOut.toString();
                                    }else if(myURL.selectedIndex == 1 ){
                                        textArea.htmlText = graphic.attributes.ForTotImpEmp.toString();
                                    }else if(myURL.selectedIndex == 2){
                                        textArea.htmlText = graphic.attributes.ForTotImpLabInc.toString();
                                    }else if(myURL.selectedIndex == 4){
                                        textArea.htmlText = graphic.attributes.LogTotImpIndOut.toString();
                                    }else if(myURL.selectedIndex == 5){
                                        textArea.htmlText = graphic.attributes.LogTotImpEmp.toString();
                                    }else if(myURL.selectedIndex == 6){
                                        textArea.htmlText = graphic.attributes.LogTotImpLabInc.toString();}
                                    else if(myURL.selectedIndex == 8){
                                        textArea.htmlText = graphic.attributes.PrimaryPaperTotImpIndOut.toString();}
                                    else if(myURL.selectedIndex == 9){
                                        textArea.htmlText = graphic.attributes.PrimaryPaperTotImpEmp.toString();}
                                    else if(myURL.selectedIndex == 10){
                                        textArea.htmlText = graphic.attributes.PrimaryPaperTotImpLabInc.toString();}
                                    else if(myURL.selectedIndex == 12){
                                        textArea.htmlText = graphic.attributes.PrimarySolidTotImpIndOut.toString();}
                                    else if(myURL.selectedIndex == 13){
                                        textArea.htmlText = graphic.attributes.PrimarySolidTotImpEmp.toString();}
                                    else if(myURL.selectedIndex == 14){
                                        textArea.htmlText = graphic.attributes.PrimarySolidTotImpLabInc.toString();}
                                    else if(myURL.selectedIndex == 16){
                                        textArea.htmlText = graphic.attributes.SecondPaperTotImpIndOut.toString();}
                                    else if(myURL.selectedIndex == 17){
                                        textArea.htmlText = graphic.attributes.SecondPaperTotImpEmp.toString();}
                                    else if(myURL.selectedIndex == 18){
                                        textArea.htmlText = graphic.attributes.SecondPaperTotImpLabInc.toString();}
                                    else if(myURL.selectedIndex == 20){
                                        textArea.htmlText = graphic.attributes.SecondSolidIndOut.toString();}
                                    else if(myURL.selectedIndex == 21){
                                        textArea.htmlText = graphic.attributes.SecondSolidEmp.toString();}
                                    else if(myURL.selectedIndex == 22){
                                        textArea.htmlText = graphic.attributes.SecondSolidLabInc.toString();}
                                myMap.infoWindow.show(myMap.toMapFromStage(event.stageX, event.stageY));
                            myMap.infoWindow.content=textArea;
                            myMap.infoWindow.label = graphic.attributes.NAME;
                            myMap.infoWindow.closeButtonVisible = false;
                            myMap.infoWindow.width = 120;
                        catch(error:Error){
                            trace("Caught Error: "+error);
                        //Place the lines of code that don't change based on the selections once.
                public function onMouseOutHandler(event:MouseEvent):void
                        var gr:Graphic = Graphic(event.target);
                        gr.symbol = defaultsym;
                        myMap.infoWindow.hide();
            ]]>
        </fx:Script>
        <fx:Style>
            @namespace esri "http://www.esri.com/2008/ags";
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/mx";
            @namespace esri "http://www.esri.com/2008/ags";
            @namespace components "com.esri.ags.components.*";
            components|InfoWindow
                background-alpha : 0.7;
                border-style : solid;
        </fx:Style>
        <mx:HBox   width="930" height="800"  id="mapHbox"  horizontalAlign="center" >   
        <mx:HBox width="80">
        </mx:HBox>
        <mx:HBox id="myHBox" width="800" height="600" backgroundColor="0xffffff"  >
            <mx:VBox  height="590" width="358"  >
            <!--    <mx:Panel
                    width="356" height="100%"
                    color="0x000000"
                    borderAlpha="0.15"
                    >
                    -->
                    <mx:Canvas height="100%" width="100%" backgroundColor="0xffffff" >
                        <esri:Map id="myMap" openHandCursorVisible="false"
                                  height="100%" 
                                  logoVisible="false"
                                  doubleClickZoomEnabled="false"
                                  scrollWheelZoomEnabled="false"
                                  zoomSliderVisible="false"
                                  scaleBarVisible="false" scale="4000000" >
                            <esri:extent>
                                <esri:Extent xmin="-10736651.061900" ymin="4024099.909700" xmax="-10409195.669800" ymax="3440153.831100"      >
                                    <esri:SpatialReference wkid="102100"/>
                                </esri:Extent>
                            </esri:extent>
                            <esri:ArcGISDynamicMapServiceLayer id="dynamicLayer2"
                                                               url="http://tfs-24279/ArcGIS/rest/services/RADIO_BUTTONS/counties_layer/MapServer" />
                            <esri:ArcGISDynamicMapServiceLayer id="dynamicLayer" name=" "
                                                               alpha="1"
                                                               load="loadLayerName()"
                                                       url="http://tfs-24279/ArcGIS/rest/services/{myURL.selectedItem.value}/MapServer"   />
                            <esri:FeatureLayer id="fLayer"
                                               graphicAdd="fLayer_graphicAddHandler(event)"
                                               mode="snapshot"
                                               outFields="*"
                                               symbol="{defaultsym}"
                                               url= "http://tfs-24279/ArcGIS/rest/services/RADIO_BUTTONS/feature_layer_0709_five/FeatureServer/ 0" />
                        </esri:Map>
                    </mx:Canvas>
            <!--    </mx:Panel>-->
            </mx:VBox>       
            <mx:VBox  height="590" width="20"  >
            </mx:VBox>       
            <mx:Canvas height="500" width="400" backgroundColor="0xffffff"
                       horizontalScrollPolicy="off"
                       verticalScrollPolicy="off" >
                <mx:VBox  width="420" height="50%" paddingLeft="5" paddingTop="10" paddingRight="10" paddingBottom="10"
                         verticalGap="8">
                    <mx:Form  >
                        <mx:FormItem label="Year        :"  >
                            <mx:ComboBox   id="yearcombo" selectedIndex="0" labelField="label" width="100%" change="changeEvt(event)"  >
                                <mx:ArrayCollection id="year"  >
                                    <fx:Object label="2007"  year="2007" />
                                    <fx:Object label="2009"  year="2009" />
                                </mx:ArrayCollection>
                            </mx:ComboBox>
                        </mx:FormItem>
                        <mx:FormItem label="Measure:">
                            <mx:ComboBox   id="myURL" selectedIndex="48" width="80%" mouseOver="clickEv2(event)" close="closeHandler(event)" >
                            <mx:ArrayCollection id="measures"   >
                                <fx:Object id="forindout07"  label="Forestry Industry Output" value="RADIO_BUTTONS/TFEI_07_forest_industry_output" year="2007" labeltext="Industry Output"  />
                                <fx:Object id="foremp07" label="Forestry Employment " value="RADIO_BUTTONS/TFEI_07_forest_employment" year="2007" />
                                <fx:Object id="forlabinc07" label="Forestry Labor Income " value="RADIO_BUTTONS/TFEI_07_forest_labincome" year="2007" />
                                <fx:Object id="forindbustax07" label="Forestry Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_forest_business_tax" year="2007" />
                                <fx:Object id="forindout09" label="Forestry Industry Output " value="RADIO_BUTTONS/TFEI_09_forest_industry_output2" year="2009"  />
                                <fx:Object id="foremp09" label="Forestry Employment " value="RADIO_BUTTONS/TFEI_09_forest_employment" year="2009" />
                                <fx:Object id="forlabinc09" label="Forestry Labor Income " value="RADIO_BUTTONS/TFEI_09_forest_labincome2" year="2009" />
                                <fx:Object id="forindbustax09" label="Forestry Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_forest_business_tax" year="2009" />
                                <fx:Object id="logindout07" label="Logging Industry Output"  value="RADIO_BUTTONS/TFEI_07_logging_industry_output" year="2007"  />
                                <fx:Object id="logemp07" label="Logging Employment " value="RADIO_BUTTONS/TFEI_07_logging_employment" year="2007" />
                                <fx:Object id="loglabinc07" label="Logging Labor Income " value="RADIO_BUTTONS/TFEI_07_logging_labincome" year="2007" />
                                <fx:Object id="logindbustax07" label="Logging Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_logging_business_tax" year="2007" />
                                <fx:Object id="logindout09" label="Logging Industry Output " value="RADIO_BUTTONS/TFEI_09_logging_industry_output" year="2009"  />
                                <fx:Object id="logemp09" label="Logging Employment " value="RADIO_BUTTONS/TFEI_09_logging_employment" year="2009" />
                                <fx:Object id="loglabinc09" label="Logging Labor Income " value="RADIO_BUTTONS/TFEI_09_logging_labincome" year="2009" />
                                <fx:Object id="logindbustax09" label="Logging Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_logging_business_tax" year="2009" />
                                <fx:Object id="ppindout07" label="Primary Paper Industry Output"  value="RADIO_BUTTONS/TFEI_07_primary_paper_industry_output" year="2007"  />
                                <fx:Object id="ppemp07" label="Primary Paper Employment " value="RADIO_BUTTONS/TFEI_07_primary_paper_employment" year="2007" />
                                <fx:Object id="pplabinc07" label="Primary Paper Labor Income " value="RADIO_BUTTONS/TFEI_07_primary_paper_labincome" year="2007" />
                                <fx:Object id="ppindbustax07" label="Primary Paper Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_primary_paper_business_tax" year="2007" />
                                <fx:Object id="ppindout09" label="Primary Paper Industry Output " value="RADIO_BUTTONS/TFEI_09_primary_paper_industry_output" year="2009"  />
                                <fx:Object id="ppemp09" label="Primary Paper Employment " value="RADIO_BUTTONS/TFEI_09_primary_paper_employment2" year="2009" />
                                <fx:Object id="pplabinc09" label="Primary Paper Labor Income " value="RADIO_BUTTONS/TFEI_09_primary_paper_labincome2" year="2009" />
                                <fx:Object id="ppindbustax09" label="Primary Paper Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_primary_paper_business_tax" year="2009" />
                                <fx:Object id="psindout07" label="Primary Solid Industry Output"  value="RADIO_BUTTONS/TFEI_07_primary_solid_industry_output" year="2007"  />
                                <fx:Object id="psemp07" label="Primary Solid Employment " value="RADIO_BUTTONS/TFEI_07_primary_solid_employment" year="2007" />
                                <fx:Object id="pslabinc07" label="Primary Solid Labor Income " value="RADIO_BUTTONS/TFEI_07_primary_solid_labincome" year="2007" />
                                <fx:Object id="psindbustax07" label="Primary Solid Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_primarysolid_business_tax" year="2007" />
                                <fx:Object id="psindout09" label="Primary Solid Industry Output " value="RADIO_BUTTONS/TFEI_09_primary_paper_industry_output" year="2009"  />
                                <fx:Object id="psemp09" label="Primary Solid Employment " value="RADIO_BUTTONS/TFEI_09_primary_solid_employment" year="2009" />
                                <fx:Object id="pslabinc09" label="Primary Solid Labor Income " value="RADIO_BUTTONS/TFEI_09_primary_solid_labincome" year="2009" />
                                <fx:Object id="psindbustax09" label="Primary Solid Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_primarysolid_business_tax" year="2009" />
                                <fx:Object id="spindout07" label="Secondary Paper Industry Output"  value="RADIO_BUTTONS/TFEI_07_secondary_paper_output" year="2007"  />
                                <fx:Object id="spemp07" label="Secondary Paper Employment " value="RADIO_BUTTONS/TFEI_07_secondary_paper_employment" year="2007" />
                                <fx:Object id="splabinc07" label="Secondary Paper Labor Income " value="RADIO_BUTTONS/TFEI_07_secondary_paper_labincome" year="2007" />
                                <fx:Object id="spindbustax07" label="Secondary Paper Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_secondary_paper_business_tax" year="2007" />
                                <fx:Object id="spindout09" label="Secondary Paper Industry Output " value="RADIO_BUTTONS/TFEI_09_secondary_paper_output2" year="2009"  />
                                <fx:Object id="spemp09" label="Secondary Paper Employment " value="RADIO_BUTTONS/TFEI_09_secondary_paper_employment" year="2009" />
                                <fx:Object id="splabinc09" label="Secondary Paper Labor Income " value="RADIO_BUTTONS/TFEI_09_secondary_paper_labincome" year="2009" />
                                <fx:Object id="spindbustax09" label="Secondary Paper Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_secondary_paper_business_tax" year="2009" />
                                <fx:Object id="ssindout07" label="Secondary Solid Industry Output"  value="RADIO_BUTTONS/TFEI_07_secondary_solid_industry_output" year="2007"  />
                                <fx:Object id="ssemp07" label="Secondary Solid Employment " value="RADIO_BUTTONS/TFEI_07_secondary_solid_employment" year="2007" />
                                <fx:Object id="sslabinc07" label="Secondary Solid Labor Income " value="RADIO_BUTTONS/TFEI_07_secondary_solid_labincome" year="2007" />
                                <fx:Object id="ssindbustax07" label="Secondary Solid Indirect Business Tax" value="RADIO_BUTTONS/TFEI_07_secondary_solid_business_tax" year="2007" />
                                <fx:Object id="ssindout09" label="Secondary Solid Industry Output " value="RADIO_BUTTONS/TFEI_09_secondary_solid_industry_output" year="2009"  />
                                <fx:Object id="ssemp09" label="Secondary Solid Employment " value="RADIO_BUTTONS/TFEI_09_secondary_solid_employment" year="2009" />
                                <fx:Object id="sslabinc09" label="Secondary Solid Labor Income " value="RADIO_BUTTONS/TFEI_09_secondary_solid_labincome" year="2009" />
                                <fx:Object id="ssindbustax09" label="Secondary Solid Indirect Business Tax" value="RADIO_BUTTONS/TFEI_09_secondary_solid_business_tax" year="2009" />
                                <fx:Object id="blank" label=" "  />
                            </mx:ArrayCollection>
                        </mx:ComboBox>
                        </mx:FormItem>
                    </mx:Form>
                    <mx:VBox  id="layerPanel" width="50%" height="8%" verticalGap="3" paddingLeft="17">
                        <mx:RadioButtonGroup id="radioBtnGroup" itemClick="radioClickHandler(event)"  />
                    </mx:VBox>
                    <mx:VBox   height="2%">
                    </mx:VBox>
                    <mx:VBox paddingLeft="17" height="10%"  >
                    <mx:Canvas  id="legendPanel" width="100%"  >
                        <mx:Label id="myLabel" text=" " fontWeight="bold" />
                        <esri:Legend id="myLegend"
                                     layers="{[dynamicLayer]}"
                                     map="{myMap}" visible="false"
                                     respectCurrentMapScale="false" />
                    </mx:Canvas>
                    </mx:VBox>
                    <mx:VBox>
                    <mx:TextArea width="275"  borderAlpha="0" height="200"  >
                        <mx:htmlText   >
                            <![CDATA[<font size='11'><b>Note:</b> Counties in white indicate either no data is available for that measure or the data has been supressed due to confidentiality.</font>
                            ]]>
                        </mx:htmlText>
                    </mx:TextArea>
                    </mx:VBox>   
                </mx:VBox>
            </mx:Canvas>
        </mx:HBox>
        </mx:HBox>   
    </mx:Application>

    Here is the HTML
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Texas Forestry Economic Impact</title>
    <style type="text/css">
    <!--
    body {
        font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
        background: #42413C;
        margin: 0;
        padding: 0;
        color: #FFF;
    p {
        margin-top: 0;     /* removing the top margin gets around an issue where margins can escape from their containing div. The remaining bottom margin will hold it away from any elements that follow. */
        padding-right: 14px;
        padding-left: 15px; /* adding the padding to the sides of the elements within the divs, instead of the divs themselves, gets rid of any box model math. A nested div with side padding can also be used as an alternate method. */
        font-size: medium;
        color: #333;
        font-family: Calibri;
        text-align: left;
    a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
        border: none;
    /* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
    a:link {
        color: #FFF;
        text-decoration: none; /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
    a:visited {
        color: #FFF;
        text-decoration: none;
    .container table tr td Menu a {
        color: #FFF;
        text-decoration: none;
    a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
        text-decoration: underline;
        color: #FFF;
        font-size: small;
    /* ~~ this fixed width container surrounds the other divs ~~ */
    .container {
        width: 960px;
        background: #FFF;
        margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
    /* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
    .header {
        background: #6f8d5c;
    /* ~~ This is the layout information. ~~
    1) Padding is only placed on the top and/or bottom of the div. The elements within this div have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.
    .content {
        padding: 10px 0;
    /* ~~ The footer ~~ */
    .footer {
        padding: 10px 0;
        background: #6f8d5c;
    /* ~~ miscellaneous float/clear classes ~~ */
    .fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
        float: right;
        margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
        float: left;
        margin-right: 8px;
    .clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
        clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    .container .content table tr td {
        color: #FFF;
        font-weight: bold;
        text-align: center;
    .container table tr td {
        text-align: center;
        color: #FFF;
        font-family: Calibri;
        font-size: small;
    .container table {
        font-size: xx-small;
    table {
        font-size: 9px;
    .container table tr td p a {
        text-align: center;
    table tr td p a {
        text-align: center;
    .container .footer table tr td .footer {
        color: #FFF;
        font-size: small;
        text-align: center;
    .container p {
        font-size: medium;
    -->
    </style>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script type="text/javascript">
    function updateSwfSize(myHeight, myWidth)
        var flexibleGorillaSwf = document.getElementById("FlashID");
        flexibleGorillaSwf.height = myHeight;
        flexibleGorillaSwf.width = myWidth;
    </script>
    </head>
    <body id="body" >
    <div class="container">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
           <tr>
        <td bgcolor="#6f8d5c"><img src="assets/Banner5.jpg" width="960" height="120" alt="banner" /></td>
      </tr>
          <tr>
        <td height="31" bgcolor="#6f8d5c"><a href="Home.html">Home</a>  -  <a href="Highlights.html">Highlights</a>  -  <a href="EcoImpactTX.html" title="Map" target="_self">Summary Tool</a>  -  <a href="maps.html"  style="font-weight: bold; font-size:medium; target="_self">Maps</a>  -  <a href="charts.html" target="_self">Charts</a>  -  <a href="Report.html" target="_self">Download Reports</a>  -   <a href="FAQs.html" target="_self">FAQs</a>  -  <a href="ContactUs.html" target="_self"> Contact Us</a>  -  <a href="http://txforestservice.tamu.edu/main/default.aspx"> TFS Home</a><a href="http://txforestservice.tamu.edu/main/default.aspx"></a></td>
      </tr>
       <tr>
        <td height = "0" bgcolor="#FFFFFF"> </td>
      </tr>
    </table>
    <p >                                                                                                        <span style="font-size:x-large; color:#000">Thematic Maps</span></p>
    <p>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="930" height="1950" id="FlashID" title="map">
        <param name="movie" value="maps.swf" />
        <param name="quality" value="high" />
        <param name="swfversion" value="6.0.65.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <param name="SCALE" value="exactfit" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object data="maps.swf" type="application/x-shockwave-flash" width="930" height="1950">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="swfversion" value="6.0.65.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <param name="SCALE" value="exactfit" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
            </div>
          <!--[if !IE]>-->
          </object>
        <!--<![endif]-->
      </object>
    </p>
    <p><!-- end .content --></p>
    <div class="footer">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="0"  bgcolor="#6f8d5c"><p class="footer"><a href="Home.html">Home</a>  -  <a href="Highlights.html">Highlights</a>  -  <a href="EcoImpactTX.html" title="Map" target="_self">Summary Tool</a>  -  <a href="maps.html"><span style="font-weight:bolder"><span style="font-size:medium">Maps</span></span></a></a>  -  <a href="charts.html">Charts</a>  -  <a href="Report.html" target="_self">Download Reports</a>  -  <a href="FAQs.html" target="_self">FAQs</a>  -  <a href="ContactUs.html" target="_self">Contact Us</a>  -  <a href="http://txforestservice.tamu.edu/main/default.aspx">TFS Home</a><a href="http://txforestservice.tamu.edu/main/default.aspx"></a></p></td>
      </tr>
    </table>
    </div>
    </div>
      <!-- end .container --></div>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    </body>
    </html>

  • How to add 3 legends for a single series barchart?? JAVAFX

    Here is my code to generate 10 bars of different colors. I want to add legend respectively but it only one shows yellow legend
    1. I think it shows only 1 color because there is only 1 series. Is it possible to add more than 1 legend for a single series?
    or
    2. or can i display another image for legend in barchart??
    output :http://i.stack.imgur.com/fSNu7.png
    file i want to display in barchart:http://i.stack.imgur.com/cchch.png
    public class DynamicallyColoredBarChart extends Application {
        @Override
        public void start(Stage stage) {
            final CategoryAxis xAxis = new CategoryAxis();
            xAxis.setLabel("Bars");
            final NumberAxis yAxis = new NumberAxis();
            yAxis.setLabel("Value");
            final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
            bc.setLegendVisible(false);
            XYChart.Series series1 = new XYChart.Series();
            for (int i = 0; i < 10; i++) {
                // change color of bar if value of i is >5 than red if i>8 than blue
                final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
                data.nodeProperty().addListener(new ChangeListener<Node>() {
                    @Override
                    public void changed(ObservableValue<? extends Node> ov, Node oldNode, Node newNode) {
                        if (newNode != null) {
                            if (data.getYValue().intValue() > 8) {
                                newNode.setStyle("-fx-bar-fill: navy;");
                            } else if (data.getYValue().intValue() > 5) {
                                newNode.setStyle("-fx-bar-fill: red;");
                series1.getData().add(data);
            bc.getData().add(series1);
            stage.setScene(new Scene(bc));
            stage.show();
        public static void main(String[] args) {
            launch(args);
    ...Edited by: 993431 on Mar 12, 2013 1:42 PM

    Either:
    1. Use a chart which displays multiple series, then you can allow the built-in legend to show OR
    2. Use a single dynamically colored series have you have done and create your own custom legend.
    import javafx.application.Application;
    import javafx.scene.*;
    import javafx.scene.chart.*;
    import javafx.stage.Stage;
    public class ThreeSeriesBarChart extends Application {
      @Override public void start(Stage stage) {
        final CategoryAxis xAxis = new CategoryAxis();
        xAxis.setLabel("Bars");
        final NumberAxis yAxis = new NumberAxis();
        yAxis.setLabel("Value");
        final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
        XYChart.Series lowSeries = new XYChart.Series();
        lowSeries.setName("Not Achieved");
        XYChart.Series medSeries = new XYChart.Series();
        medSeries.setName("Achieved");
        XYChart.Series hiSeries  = new XYChart.Series();
        hiSeries.setName("Exceeded");
        bc.setBarGap(0);
        bc.setCategoryGap(0);
        for (int i = 0; i < 10; i++) {
          final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
          if (data.getYValue().intValue() > 8) {
            hiSeries.getData().add(data);
          } else if (data.getYValue().intValue() > 5) {
            medSeries.getData().add(data);
          } else {
            lowSeries.getData().add(data);
        bc.getData().setAll(lowSeries, medSeries, hiSeries);
        bc.getStylesheets().add(getClass().getResource("colored-chart.css").toExternalForm());
        stage.setScene(new Scene(bc));
        stage.show();
      public static void main(String[] args) {
        launch(args);
    import javafx.application.Application;
    import javafx.beans.value.*;
    import javafx.geometry.Pos;
    import javafx.scene.*;
    import javafx.scene.chart.*;
    import javafx.scene.control.Label;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.*;
    import javafx.stage.Stage;
    public class DynamicallyColoredBarChart extends Application {
      @Override public void start(Stage stage) {
        final CategoryAxis xAxis = new CategoryAxis();
        xAxis.setLabel("Bars");
        final NumberAxis yAxis = new NumberAxis();
        yAxis.setLabel("Value");
        final BarChart<String, Number> bc = new BarChart<>(xAxis, yAxis);
        bc.setLegendVisible(false);
        XYChart.Series series1 = new XYChart.Series();
        for (int i = 0; i < 10; i++) {
          // change color of bar if value of i is >5 than red if i>8 than blue
          final XYChart.Data<String, Number> data = new XYChart.Data("Value " + i, i);
          data.nodeProperty().addListener(new ChangeListener<Node>() {
            @Override
            public void changed(ObservableValue<? extends Node> ov, Node oldNode, Node newNode) {
              if (newNode != null) {
                if (data.getYValue().intValue() > 8) {
                  newNode.setStyle("-fx-bar-fill: -fx-exceeded;");
                } else if (data.getYValue().intValue() > 5) {
                  newNode.setStyle("-fx-bar-fill: -fx-achieved;");
                } else {
                  newNode.setStyle("-fx-bar-fill: -fx-not-achieved;");
          series1.getData().add(data);
        bc.getData().add(series1);
        LevelLegend legend = new LevelLegend();
        legend.setAlignment(Pos.CENTER);
        VBox chartWithLegend = new VBox();
        chartWithLegend.getChildren().setAll(bc, legend);
        chartWithLegend.getStylesheets().add(getClass().getResource("colored-chart.css").toExternalForm());
        stage.setScene(new Scene(chartWithLegend));
        stage.show();
      class LevelLegend extends GridPane {
        LevelLegend() {
          setHgap(10);
          setVgap(10);
          addRow(0, createSymbol("-fx-exceeded"),     new Label("Exceeded"));
          addRow(1, createSymbol("-fx-achieved"),     new Label("Achieved"));
          addRow(2, createSymbol("-fx-not-achieved"), new Label("Not Achieved"));
          getStyleClass().add("level-legend");
        private Node createSymbol(String fillStyle) {
          Shape symbol = new Ellipse(10, 5, 10, 5);
          symbol.setStyle("-fx-fill: " + fillStyle);
          symbol.setStroke(Color.BLACK);
          symbol.setStrokeWidth(2);
          return symbol;
      public static void main(String[] args) { launch(args); }
    /** colored-chart.css: place in same directory as other bar chart application files and setup your build system to copy it to the output directory */
    .root {
      -fx-not-achieved: red;
      -fx-achieved:     green;
      -fx-exceeded:     blue;
    .default-color0.chart-bar { -fx-bar-fill: -fx-not-achieved; }
    .default-color1.chart-bar { -fx-bar-fill: -fx-achieved; }
    .default-color2.chart-bar { -fx-bar-fill: -fx-exceeded; }
    .level-legend {
      -fx-padding: 10;
      -fx-border-width: 2;
      -fx-background-color: rgba(211, 211, 211, 0.5);
      -fx-border-color: derive(rgba(211, 211, 211, 0.7), 10%);
    }

  • How to get League of Legends working in Arch!

    I didn't like the old wiki guide which required a chroot to run the game from wine, so I rewrote it: wiki guide. An alternative method (mentioned in the guide) is patching Wine instead of the textures of the game, but I hear that can break compatibility with some other games/programs, so I did not want to do that. This guide is how I got it working.
    I did not get the installer itself working, for me it hangs when the installation process should start, if you encounter this problem your best bet is to find a windows machine, install the game on it and then copy it over with a USB flash drive or external HDD (14GB game folder, you can take it in more than one trip) or alternatively you can set up a temporary virtual machine and install from there with virtualbox.
    Dependencies (if you're on a 32-bit system, remove the lib32 part of all the dependencies, i.e. lib32-lcms2 becomes lcms2):
    lib32-alsa-lib lib32-libldap lib32-lcms2 lib32-gnutls wine winetricks
    Winetricks Dependencies:
    d3dx9 dxdiag vcrun2005 wininet corefonts adobeair
    1. First you need to create a new 32-bit wine prefix (if you're on a 32-bit installation already and only have a 32-bit version of Wine, you do not need to do this, just use your existing prefix and for the rest of this guide do not type WINEARCH or WINEPREFIX parts of commands, and replace .wine32 with .wine)
    WINEARCH=win32 WINEPREFIX=/home/USER/.wine32 winecfg
    2. next, you need to install the winetricks dependencies
    WINEARCH=win32 WINEPREFIX=/home/USER/.wine32 winetricks d3dx9 dxdiag vcrun2005 wininet corefonts adobeair
    3. If/when you run into problems with installing adobe air, it is most likely a problem with the dnsapi library. Run winecfg, go to the Libraries tab and find the Existing Override for dnsapi (or if it does not exist, add it) and hit the Edit button to set it to "Native then Builtin".4
    4. Place the LoL folder in the Wine directory
    ln -s /mnt/HardDrive3/Riot\ Games $HOME/.wine32/drive_c/
    (or)
    mv $HOME/Riot\ Games/League\ of\ Legends $HOME/.wine32/drive_c/
    This guide now assumes you've got your folder set up like one of the above above. The ln -s (symlink) command assumes that you have the game installed on another hard drive and want to keep it there, the mv command (move) moves the folder into Wine.
    5. Make it compatible!
    First do
    $cat /etc/hostname
    This will show you the name of your computer, next open /etc/hosts with an editor of your choice, and replace all instances of localhost with your computer's name (make sure to be case sensitive)
    Last but not least, you need to patch the textures of the shop icons in the game or the game will crash when you try to buy items, which will be very embarrassing.
    Download this patch and extract it wherever you like, the patch is built for python2 but works with python 3 I hear, I will assume you have python 2 installed, so open a terminal in the directory where you extracted the patch to, and run the following.
    $ln -s .wine32/drive_c/Riot\ Games/League\ of\ Legends Game_Folder
    Then edit config.py with an editor of your choice and set
    lol_path = './Game_Folder'
    Then execute the patch with
    python2 lol_linux.py
    If all went well, you will see an output explaning what the patch is doing (unpacking a bunch of dds files from an archive, patching out the mipmaps in them, archiving them again, and then it will be done, this takes a few)
    And now your LoL client should be working just fine!
    6. Try launching the game
    $cd cd /home/xandis/.wine32/drive_c/Riot\ Games/League\ of\ Legends/RADS/system/
    $WINEARCH=win32 WINEPREFIX=/home/USER/.wine32 wine rads_user_kernel.exe run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe
    If all goes well you will see the launcher, if there is a patch then wait for it to finish and press play.
    7.Test it!
    Be aware of the issues (at the bottom of the post) and now test all the menus as much as you would like (store page, summoner profile, masteries, team builder, whatever, chances are it will all work if you managed to get far in enough to see the launcher)
    Next you need to make sure the game loads and runs fine, press Play, go to "Custom" and create a game in summoner's rift, add one bot, start, pick a champion and launch the game. Right now your game should be working! If not, boggle your mind over the terminal output you get from wine, try to find out what error it's giving you and then google it (or if you can't find anything, post here)
    8.Finalize!
    Last step is to make the game easily accessible, I do this by creating an alias in .bashrc but you can create a "league_of_legends" bash script in /bin if you would like, or a .desktop file somewhere in /usr/share/applications.
    But here is what I do in bashrc
    alias wine32='env WINEARCH=win32 WINEPREFIX="/home/USER/.wine32" wine'
    alias League_of_Legends='cd /home/USER/.wine32/drive_c/Riot\ Games/League\ of\ Legends/RADS/system/ && wine32 rads_user_kernel.exe run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe'
    That way I have the wine32 command to execute files with the 32-bit wine prefix (since I have more applications that work better with a 32-bit prefix, I didn't want to dedicate a Wine installation to LoL alone by patching it to work with mipmaps either)
    And this way I just type League_of_Legends in the terminal to execute the game.
    Issues:
    1. Icons for runes in the launcher store do not appear
    2. Most button textures in the launcher store are missing (but the buttons do work)
    3. Right clicking friends in the friend list (to invite to a game) does not work (this issue can be circumvented by using the invite button in the lobby)
    4. Lesser performance than running the game on windows
    5. A small, mysterious "Riot" icon will appear somewhere around the edges of the minimap
    6. In a 64-bit Wine prefix the Patcher will be black (but pressing buttons will work) and launching a match will end up in a black screen.
    7. The installer hangs when it should start the installation
    Last edited by rabcor (2014-07-06 12:30:33)

    rabcor wrote:
    I just got the idea that you might be using a different setup since you had your wineprefix on /mnt/raid/lol/ instead of $HOME/.wine32/ (which would make more sense if you run into other games that require a 32 bit prefix, that way you can just have 1 64 bit and 1 32 bit prefix ready for whenever you need them instead of setting up a specific prefix just for LoL or just for some other application)
    Do tell if you manage to fix your game, I'm hoping since you haven't said anything more than you will test it yet that you're already too busy playing to comment
    Okay, so short answer is, no dice. I moved the env line down along with the wine execution. My bash script looks like:
    pushd "/mnt/raid/lol/drive_c/Riot Games/League of Legends/RADS/system/"
    env WINEARCH=win32 WINEPREFIX=/mnt/raid/lol wine rads_user_kernel.exe run lol_launcher $(ls ../projects/lol_launcher/releases/) LoLLauncher.exe
    popd
    I noticed this error in the console before the tutorial crashed:
    err:ntdll:RtlpWaitForCriticalSection section 0x110060 "../../../wine/dlls/ntdll/heap.c: main process heap section" wait timed out in thread 004b, blocked by 004f, retrying (60 sec)
    I saw this the first few times I tried playing.
    the wine debug dump for this is
    http://pastebin.com/9a1eALKq
    When I set up wine, i just wanted segregation and flexibility for different prefixes. My main prefix is actually still on the raid, rather than home. I have similar setups for Diablo 3 and Dead Space 3 (both on the same prefix). Following your guide, I knew I needed a separate one for LoL.
    I WISH i was busy playing. But no, I was at work when I replied

  • Mapviewer legend and note overlap

    I am using Mapviewer 11ea and wish to place a legend above a note in the SOUTH EAST corner of my map. The note is defined in the config file and the legend is provided in the map request. The legend itself seems to create a box larger than required and overlaps the note text below. See the image at http://www.geocities.com/ozspatial/legend-note-overlap.jpg showing the overlap and the large amount of white space at the bottom of the legend.
    The legend component of the request is from the default mapviewer request and looks like:
    <legend bgstyle="fill:#ffffff;stroke:#ff0000" profile="MEDIUM" position="SOUTH_EAST">
              <column>
                <entry text="Map Legend" is_title="true" />
                <entry style="M.STAR" text="center point" />
                <entry style="M.CITY HALL 3" text="cities" />
                <entry style="M.CITY HALL 4" text="big cities" />
                <entry is_separator="true" />
                <entry style="C.ROSY BROWN STROKE" text="state boundary" />
                <entry style="L.PH" text="interstate highway" />
                <entry text="County population:" />
                <entry style="V.COUNTY_POP_DENSITY" tab="1" />
              </column>
      </legend>Does anyone know how to reduce the white space in the legend or some other way to avoid the overlap? (whilst still placing both note and legend in the SOUTH EAST corner)
    thanks,
    Ross.

    Hi Ross,
    I don't think you will be able to reduce the white space at the bottom, but there are some parameters on the legend that you can use.
    1) In overlap situations you can set the transparency of the legend:
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000" profile="MEDIUM" position="SOUTH_EAST">
    2) For the profile value there is an internal size defined. In your figure I can note that the advanced style items are also overlapping, which means that the internal size MEDIUM seems not appropriate for this legend. You can assign a height for a legend entry:
    <entry style="V.CA INCOME 2" tab="1" height="150"/>
    3) With version 11 there are two new parameters (location_x and location_y) for the legend that can be used to put the legend in any position. In this case the position attribute is ignored if defined.
    <legend bgstyle="fill:#ffffff;fill-opacity:128;stroke:#ff0000" profile="MEDIUM" location_x="20" location_y="50">
    Joao

  • Position Cursor on GRAPH either by dragging it OR entering the dsired position in the Cursor legend

    I've written a VI that allows the user to import a dataset, view it on a graph, and then use cursors to "filter" the range of data that I'm interested in, by sending the cursor.index values from the first graph to an array subset function which feeds a second graph.  The problem is that I'd like to provide the user the ability to position the cursors on the first graph both visually - by dragging - (for "course" control) AND by entering the desired values directly into the cursor legend (for fine control).  The problem is that I cannot find a way to do this, since I have to have the Lock Ring set to “Lock to Plot” in order to capture the index information. According to the documentation, the only way to be able to position the cursors via the Cursor legend is to set the Lock Ring to “Free”, which means the index values are rendered useless, since the cursor is no longer locked to the plot.  If I leave the Lock Ring in "Lock to Plot", and enter a value in the cursor legend, it does move the cursor, but not to where it should.  If I enter a value an x value of 9.0 for cursor 1, the cursor goes to 10.2638.  The next time I enter 9.0, it goes to 9.82794.  I don't understand what the issue is.  Is there a way around this?
    Attachments:
    ppv data filter 3.vi ‏366 KB

    Yes Rudi:  What I want is for the operator to place the cursors by dragging them (just eye-balling it).  The, if they see that the Y cursor (horizontal) is at 10.234, and they want to make it 10, they could simply enter that value in the cursor legend, and the cursor would be placed exactly at 10.  The only way to do this seems to be to select the “Free” option for the cursor.  However, in order to use the first graph to set the boundaries of the second graph, I have to use the Cursor Index from the first as an input to the Array Subset that feeds the second graph.  In order to use the Cursor Index, the first graph has to have its cursor Lock Rings set to “Lock to Plot”.  Am I making this any more understandable, or just rambling?

  • Chart Legend: Worked in Beta, No longer working in Prod

    Hi everybody,
    The legend attached to the LineChart is no longer displaying the proper color. That is, the line, in the linechart is red (as requested) but the "legend" is black. It is supposed to be a red square and the word "Jobs" but I get a black square (as it is not picking the fact that it should be red).
    <s:SolidColorStroke id="s3" color="red" />
    <mx:Legend dataProvider="{myChart}" />
    <mx:LineChart id="myChart"
      x="10" y="40" width="600" height="400"
      dataProvider="{platformsData}"
      showDataTips="true" >
    <mx:series>
    <mx:LineSeries yField="id" displayName="Jobs" lineStroke="{s3}"/>
    </mx:series>
    </mx:LineChart>
    This worked in Beta but no longer works in Production. Is this a bug or I need to make coding changes to accommodate to new Production ways of dealing with this?
    Regards,
    egm

    Seems like a bug to me.  If you remove lineStroke="{s3}", the chart legend loads fine.
    Might have something to do with fill color perhaps?
    In any case, the fills documentation says:
    "If you specify the fills property and you want to have a Legend  control, you must manually create a Legend control and add LegendItems to it."
    Perhaps the entry for lineStroke should say the same.
    In the mean time you could use the defaults, or a custom Legend, like this (place into an AIR 2 project if you try running it):
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark"
                                xmlns:mx="library://ns.adobe.com/flex/mx" width="1059" height="722">
         <fx:Script>
              <![CDATA[
                   import mx.events.FlexEvent;
                   [Bindable]
                   public var platformsData:Array = [{id:1, jobs:'Test1'},{id:4, jobs:'Test2'},{id:6, jobs:'Test3'},{id:9, jobs:'Test4'}];
              ]]>
         </fx:Script>
         <fx:Declarations>
              <s:SolidColorStroke id="s3" color="0xFF0000" weight="2" alpha=".8"/>
         </fx:Declarations>
         <mx:Legend>
              <mx:LegendItem label="Jobs" fontWeight="bold">
                   <mx:fill>
                        <mx:SolidColor color="0xFF0000"/>
                   </mx:fill>
                   <mx:stroke>
                        <mx:SolidColorStroke color="0xFF0000" weight="2"/>
                   </mx:stroke>
              </mx:LegendItem>
         </mx:Legend>
         <mx:LineChart id="myChart" x="53" y="124" width="600" height="400" dataProvider="{platformsData}" showDataTips="true">
              <mx:series>
                   <mx:LineSeries yField="id" displayName="Jobs" lineStroke="{s3}"/>
              </mx:series>
         </mx:LineChart>
    </s:WindowedApplication>

Maybe you are looking for