How to add mulitple legends in chart created with the Forena reports module? I have created a report using the module Forena reports. It's a compound graph of 3 items.

I need to mention these 3 items in legend. But I am not able to add more than 1 legend.
I am trying to create this graph from the front end itself. I don't want to use the frx file.
Any attribute supported as PHP SVGGraph options may be included as frx attributes also. Checkout the PHP SVGGraph library documentation to fully understand the available options, and identify the actual SVG Graph option you should be using (there are plenty of them).

In your case, I think you're looking for SVG Graph legends. In your Forena FRX file, you should be able to specify the desired legends (say 1st Legend, 2nd Legend and 3rd Legend) within the SVG tag of your chart with something similar to this example:

  &lt;svg frx:renderer="FrxSVGGraph"
    frx:legend_entries_1="1st Legend"
    frx:legend_entries_2="2nd Legend"
    frx:legend_entries_3="3rd Legend"
    ...
  /&gt;


For many more details about how to create charts with Forena, refer to the reports/help.renderers#frxsvggraph in your own site (which is part of what comes with Forena), or refer to the online equivalent of it.

Note: if you only have 1 legend (say MyLegend), the SVG tag of your chart should be similar to this example (no need for the suffixes like _1, etc):

  &lt;svg frx:renderer="FrxSVGGraph"
    frx:legend_entries="MyLegend"
    ...
  /&gt;