I just checked the legend image plotting code, and layer labels there are
just rendered to the final image verbatim, without going through FDO
expression evaluation, which kind of makes logical sense as rendering
legend content should not be making any FDO feature queries, where we would
have access to a means to evaluate FDO expressions. So, the answer is no.
Same for the rendering of Legend labels in our viewer offerings. They're
definitely rendered out as-is.
- Jackie
You wrote:
Hi!
Does Mapguide 4.0 supports dynamic, on-the-fly calculations directly in
legend labels.
For a sample themed layer: for every theme I like to show count of records
per theme as legend label. LegendLabel I like to include:
Count(If(ExtractToInt('YEAR',
date) = 2025, 1, NULL))
I'm using Maestro 12 and 13.
Thanks in advance!
Kajar
_______________________________________________
mapguide-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapguide-users