I am new to the javascript api. For my project I need to be able to change the font size, font color and the font family for a label based on the class break. I could do this via css but the end user will be the one to choose the font color, size, and family, so I have no idea of those values before hand. Has any one done anything like this before?
I think this is sorta what you are looking for
https://apps.magis.nc/maps/wab1.2-widgets/?extent=18141720%2C-2589885%2C18728757%2C-2398793%2C102100
or here
https://community.esri.com/docs/DOC-3209-measure-widget-21-for-web-app-builder
I do not think that will help me. What I want is to have the user have different color/size of labels of the feature layer based on the class breaks. An example is this
If a county in the USA has a population less than 50,000 then make the label color red and 8pt font, else color the label from the feature layer green and make 10 pt. Again the color/size will come from the end user. I just need to find a way to change the feature layers label based on the end users input.