Tag Info

New answers tagged

0

Something that I use often is to add a gradient background to the bubble circles in the legend: <div class='cartodb-legend bubble'> <ul> <li> 1.46 </li> <li class="graph" style="background: linear-gradient(to right,rgb(253, 141, 60), rgb(252, 78, 42), rgb(177, 0, 38));"> <div class="bubbles"></div> ...


4

To keep the legend "live" (rather than drawing it as graphics), divide the Contours layer into 3 layers in your map. One layer is for values >=12 and will appear at the top of the legend, one is for values <= 1 and will appear at the bottom of the legend, and one is for the values in between. The "Top" and "Bottom" layers will have custom patches in the ...


2

You could simply concatenate the three classification fields in the layer's properties. "Unit_Num" || ' ' || "Age" || ' ' || "Name" Then it will also appear in the legend in the Print composer: Unfortunately, the concatenated text will also appear in the main window. Edit: The legend is derived from your classification, but you can of course ...


1

The legend can only display the classification set up in the layer's properties. (Afaik, there is currently no equivalent to ArcGIS's legend label descriptions.) One workaround would be to edit the legend manually in the Print Composer which is probably not an option. The better option is to set up a classification which will result in the desired legend ...


2

As dmahr said, this isn't possible but there are workarounds. My normal one is to create a separate legend for those items and use the legend title for your text instead of the layer heading. The title can be centered above all the columns in the legend, unlike the layer name or layer heading. So in your example map, I'd create 3 legends: one for Fire Hazard ...


2

There is no way to stretch the heading across multiple columns using the built-in legend functionality in ArcMap. You could repeat the heading across both columns by splitting your layer into two, but that's probably not desirable. My recommendation would be to hide the layer heading in your legend and use a static text element (e.g. Rectangle Text box) to ...


2

I don't think it's possible (yet) for the Legend Format to include expressions such as those from the Field Calculator. A workaround is to manually insert the commas into the correct places in the Legend (this can be laborious if you have a lot of items) and then click Apply. DO NOT CLICK "CLASSIFY" AS THIS WILL RESET YOUR LEGEND.


0

Not sure if it fits with your workflow at all, but it may be worth creating a few pre-authored .lyr files and using ApplySymbologyFromLayer on the TOC layer that you'd like to change. It would work if you only have a few preset label sets you're hoping to apply, but not if it'll be different every time.


-1

Or, in other words, you can't. You are asking about symbologyType OTHER (not UNIQUE). You can't access it from arcpy. And for the love of Pete don't waste your time in ArcGIS help. That addresses your question, because I know exactly what you are asking about and I've tried everything to get at it myself, ending in failure. PS: I don't know if there is a ...


0

Using arrows is not an option defined in the current CSS of CartoDB, but bullets are defined here. You'd need to add them from the image uploader (IMG button) for legends in order to use them. Unfortunately, there are no arrows in the icon sets available, so you'll need to use your own images.



Top 50 recent answers are included