I Am Legend 1

0 views
Skip to first unread message
Message has been deleted

Harold Yengo

unread,
Jul 9, 2024, 4:56:58 PM7/9/24
to amossege

I have a polygon layer that I have symbolized with an unclassed light to dark blue color scheme. When I add a legend, it shows a vertical bar. Currently there is no option for rotating just the color bar 90 degrees.

A workaround is to rotate the legend 90 degrees, adjust the patch size (and spacing if using classes in your symbology), and then add separate text boxes for the labels. A bit cumbersome when it comes to sizing the color bar. For example - to be centered perfectly below the map requires a bit of trial and error trying different patch widths to find a good fit.

i am legend 1


Download File https://bytlly.com/2yRXvK



Love this idea! I cobble something together in PowerPoint (gotta work with what you've got ) like this & add it to dashboards as an image sometimes:

Dashboard with an example of a horizontally oriented legend

Depending on the dashboard, this layout can be easier to read and a better use of the space than the vertically oriented option. Both formats have their merits for sure, but it would be great to have the option for a horizontal legend in ArcGIS Pro (and some of the online apps).

@RenBurghardt I love seeing all the unique ways people come up with to solve the same problem. I always learn about a function in Pro that I have not used before, such as right-clicking to rotate the entire legend element.

On November 20, 2019, at FINOS' flagship Open Source Strategy Forum, FINOS Platinum member Goldman Sachs announced its intention to open source its internally developed Legend data management platform into FINOS. The Legend code was open sourced and contributed into FINOS in October 2020 and is now available at github.com/finos/legend for anyone to use and contribute to.

Check out the Legend documentation, open source code and other available materials below, and email legend+s...@finos.org to subscribe to the Legend public mailing list and to receive important updates:

When you change the map map frame, you lose all the legend formatting. You go through the trouble of making a legend which can be quite time consuming, and want to recycle it with a similar map, but when you switch the maps in the map frame, the legend resets itself to the defaults.

The equivalent of a layer file, but for the legend. It would set all the formatting automatically, for things like font and font size for each class, spacing, indentation, alignment...etc. I am constantly changing my layouts, even when I set them how I want them in my templates. Doesn't seem to matter. ArcPro always is changing my layouts. Doesn't matter if I check sync fonts when adding new items. It literally does not matter. ArcPro will change your legend for you, in all the worst ways.

Good news. At Pro 2.9 we are introducing the Legend and Legend Item styles. There will be a gallery of styles to choose from when you insert a new legend or legend item. The styles can be modified and shared like other styles in the Pro application.

The Legend widget describes the symbols used to represent layers in a map.All symbols and text used in this widget are configured in theRenderer of the layer.The legend will only display layers and sublayers that arevisible in the view unless respectLayerVisibility is false.

Collection of ActiveLayerInfo objects used by the legend view todisplay data in the legend. The legend widget watches this property to hide or display the layer's legend whenan ActiveLayerInfo is removed from or added to this collection.

Indicates whether to show the Basemap layers in the Legend. If you set this property totrue and specify layerInfos, the basemap layers you want included in the legend must also bespecified in layerInfos.

Indicates the heading level to use for the legend title. By default, legend titlesare rendered as level 3 headings (e.g. Legend title). Depending on the legend placementin your app, you may need to adjust this heading for proper semantics. This isimportant for meeting accessibility standards.

When true, layers will only be shown in the legend ifthey are visible in the view's extent. When data from a layeris not visible in the view, the layer's legend informationwill be hidden. Only layers that implement the createQuery()and queryFeatureCount() methods are supported by hideLayersNotInCurrentView.

Specifies a subset of the layers to display in the legend. This includes any basemap layersyou want to be visible in the legend.If this property is not set, all layers in the map will display in the legend, includingbasemap layers if basemapLegendVisible is true.Objects in this array are defined with the properties listed below.

Determines whether to respect the properties of the layers in the map thatcontrol the legend's visibility (minScale, maxScale, legendEnabled).By default, a layer's legend elements willnot render in the legend given the following conditions:

When the respectLayerVisibility property of the legend is set to false, the legend elements for eachlayer in the map will always display, thus disregarding the minScale, maxScale,and legendEnabled properties for each layer in the map.

Indicates the style of the legend. The style determines the legend's layout and behavior.You can either specify a string or an object to indicate the style. The known string values are the same values listed inthe table within the type property.

The view model for this widget. This is a class that contains all the logic(properties and methods) that controls this widget's behavior. See theLegendViewModel class to accessall properties and methods on the widget.

If false, the widget will no longer be rendered in the web document. This may affect the layout of other elements or widgets in the document. For example, if this widget is the first of three widgets associated to the upper right hand corner of the view UI, then the other widgets will reposition when this widget is made invisible.For more information, refer to the css display value of "none".

Key identifying the group to which the handles should be added. All the handles in the groupcan later be removed with Accessor.removeHandles().If no key is provided the handles are added to a default group.

when() may be leveraged once an instance of the class is created. This method takes two input parameters: a callback function and an errback function.The callback executes when the instance of the class loads. Theerrback executes if the instance of the class fails to load.

Specific artists can be excluded from the automatic legend elementselection by using a label starting with an underscore, "_".A string starting with an underscore is the default label for allartists, so calling Axes.legend without any arguments andwithout setting the labels manually will result in a UserWarningand an empty legend being drawn.

A list of Artists (lines, patches) to be added to the legend.Use this together with labels, if you need full control on whatis shown in the legend and the automatic mechanism described aboveis not sufficient.

The string 'best' places the legend at the location, among the ninelocations defined so far, with the minimum overlap with other drawnartists. This option can be quite slow for plots with large amounts ofdata; your plotting speed may benefit from providing a specific location.

Box that is used to position the legend in conjunction with loc.Defaults to axes.bbox (if called as a method to Axes.legend) orfigure.bbox (if Figure.legend). This argument allows arbitraryplacement of the legend.

If a 4-tuple or BboxBase is given, then it specifies the bbox(x, y, width, height) that the legend is placed in.To put the legend in the best location in the bottom rightquadrant of the Axes (or figure):

A 2-tuple (x, y) places the corner of the legend specified by loc atx, y. For example, to put the legend's upper right-hand corner in thecenter of the Axes (or figure) the following keywords can be used:

The font size of the legend. If the value is numeric the size will be theabsolute font size in points. String values are relative to the currentdefault font size. This argument is only used if prop is not specified.

The color of the text in the legend. Either a valid color string(for example, 'red'), or a list of color strings. The labelcolor canalso be made to match the color of the line or marker using 'linecolor','markerfacecolor' (or 'mfc'), or 'markeredgecolor' (or 'mec').

The vertical offset (relative to the font size) for the markerscreated for a scatter plot legend entry. 0.0 is at the base thelegend text, and 1.0 is at the top. To draw all markers at thesame height, set to [0.5].

The font properties of the legend's title. If None (default), thetitle_fontsize argument will be used if present; if title_fontsize isalso None, the current rcParams["legend.title_fontsize"] (default: None) will be used.

The font size of the legend's title.Note: This cannot be combined with title_fontproperties. If you wantto set the fontsize alongside other font properties, use the sizeparameter in title_fontproperties.

Last April at T-Mobile, Mike Sievert took over for a legend, John Legere, who started out in last place and ended up gaining the most customers and having the best performing stock in telecom over his eight year run.

So I am currently working on a project for my job and I could really use this Status legend as shown in the picture below. Each one of the legends has its own color which I love. How do I turn these status OFF and ON as seen below the status and have it incorporated into my table where it shows Status and is a drop down so I can change the status of each of my modules. I also need the color to work as well. I tried all the data validation possibilities and cant get it to work. Thank you in advance for any help

To create a status legend with a dropdown box that allows you to turn the status ON and OFF while maintaining the associated colors, you can use a combination of Excel features such as Conditional Formatting and Data Validation. Here is a step-by-step guide:

This setup allows you to choose a status from the dropdown, and based on your selection, Excel will apply the corresponding color to the cell using Conditional Formatting. You can repeat the Conditional Formatting steps for each status and color combination you want to use in your table.

59fb9ae87f
Reply all
Reply to author
Forward
0 new messages