I'm trying to add labels to both the uniqueValues and the visualVariable parts of my legend. The valueExpressionTitle = "Title" property is not working for me.
Link to codepen
Ken
Figured it out.
Had this up in the css.
.esri-legend__layer-caption {display: none;}
I got ride of that css and I have them showing up now with this code.
Should be shorter now. The valueExpressionTitle (line 837), as I understand it, should provide a title to the visual variable (size) in the legend correct? Ultimately I'm trying to label the two different ways the umosRenderer (line 633) is displayed in the legend. One title for the colored uniqueValues and one title for the size.
Can you provide a shorter example that highlights just the problem?
Thanks Ken
I believe I fixed it but no luck getting the valueExpressionTitle working.
A quick glance shows a problem with the agreement with your require modules and your function arguments. They get out of sequence after CalciteMapsArcGIS. I don't know if this affects the visualVariables, but you should fix this first.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.