From a layer with point geometry, I store the following fields:
"CATEG"which can be A or B
"ORDER"which is an autonumeric field sequence without repetitions
"VALUE"which is a value
Points are distributed/digitalized in the space according to where the phenomenon occurs. The attribute table design is shown in the following screenshot:
My goal is to transform/translate this point cloud layer into a pseudo-bar chart. The points should be translated in a straight line that would be the X axis with the values from the minimum value of the
"ORDER" field (1) to the maximum value of the
"ORDER" field (12).
Then I would like to draw an arrow representing the value of the
Here is a screenshot made manually with the idea I'm looking for:
The solution presented by user Babel is exactly what I was looking for. I am speechless!
To refine the solution a little more. I am trying to color the arrows with the field "CATEG" which is a string, and I use the following expression, but I can't get it to work:
WHEN "CATEG" = 'A' THEN '#b2f0cf'
WHEN "CATEG" = 'B' THEN '#46b2fa'
I have also tried to create a numeric field (with values 1 and 2) and use the Categoritzed symbol renderer and I have not been able to color either:
I can't manage the arrow colors using "CATEG" field. I don't know what I'm doing wrong. I add an animated screenshot showing my workflow. Could you help me to find out what I am doing wrong?