Skip to content

Legend placement inside the grid #6185

Description

@jan-tosovsky-cz

Feature Proposal

In jqPlot library it is possible to place the legend inside the grid. It is a handy space saver if both chart values and legend entries are informative only and it doesn't mind these are covered (intersected):
http://www.jqplot.com/docs/files/jqplot-core-js.html#Legend.placement

image

Feature Use Case

If there are many series in the chart, it is better to display the legend not on the top/bottom, but rather on left/right (every series on separate line).

If series labels are long, the legend width occupies too much space of the chart area. Moreover, if there are many similar charts on the same page, every chart can have different width which looks weird.

If the legend is placed inside grid, all charts can occupy the entire width, which looks much more consistent. And because the legend background is semi-transparent, the legend width variations between subsequent charts are not so apparent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions