Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When using Graph legends, legend entries are not being processed correctly when specified as attributes as follows:
<svg frx:label="{state}" frx:series_1="{total}" frx:type="BarGraph" frx:renderer="FrxSVGGraph"
frx:legend_entries_1="Test"
frx:legend_entries_2="Another"
frx:legend_position="top right"
/>
This is due to the fact that attributes that have _ in them are not properly being identified as arrays. An attribute like colors_1 was being changed to an array but legend_entires_1 is not.
Comment | File | Size | Author |
---|---|---|---|
#1 | legend_entries_2129701.patch | 594 bytes | metzlerd |
Comments
Comment #1
metzlerd CreditAttribution: metzlerd commentedTested patch is as follows.