Attribute-driven visualization in a bar chart in ArcGIS Pro

158
0
2 weeks ago
Labels (1)
MIM
by
New Contributor

Hello everyone,

I have the following problem.
I would like to use the attribute-driven visualization in ArcGIS Pro to display the values contained in a layer in a bar chart. These bars should be colororized based on the value of that actual value.
These measured values are stored in the range 0-7000 as a double fields.
Displaying these individual measured values in a bar chart is not a problem, but I would also like to symbolize the values not only on the height but also on the value. So that the bars should be colororized based on the value. As an example that the bar turns red for a high value (e.g. 6000) and turns green for a low value, for example.
I am using ArcGIS Pro 3.1.4. Currently i have the bar diagram in ArcGIS Pro as in the picture added in this post.

Is this possible at all to use Arcade or "color" attributes, as in the example given in the following URL?
https://support.esri.com/en-us/knowledge-base/how-to-apply-hex-or-rgb-color-codes-from-an-attribute-...

My arcade expression (which color value should be used) as an example would look something like this:

if ($feature.xxx > 0 && $feature.xxx < 1000) {
return "#00ff00"
} else if($feature.xxx>= 100 && $feature.xxx< 2000) {
return "#Ffa500"
} else {
return "#Ff0000"
}

Does anyone have an idea or is this even possible?
Later, the layer will also be published in the ArcGIS portal.

Best regards,

 

Tim

0 Kudos
0 Replies