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.

CommentFileSizeAuthor
#1 legend_entries_2129701.patch594 bytesmetzlerd
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

metzlerd’s picture

Status: Active » Fixed
FileSize
594 bytes

Tested patch is as follows.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.