Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: [CHART] Legend Placement - Line Graphs

nichharp pro asked 6 years ago


Hey,

For Line Charts can we position the legend to the top left corner rather than the top center? (I've seen this: Legend Placement - Chart.js).

The option: `position: 'left'` moves the whole graph to the right. I'd still want the legend to be on the top just aligned to the left.

If not, when will we see this implemented if this chart.js merge goes through?

Thanks,

Nick


Arkadiusz Idzikowski staff answered 6 years ago


Hello,

Unfortunately, currently it's not possible to change position to top-left (only top, right, bottom and left are available). If it will be fixed in chart.js we will want to update our directive as soon as possible, but I can't provide an ETA yet.

Regards,

Arek



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: Computer
  • Browser: Chrome/All
  • OS: Ubuntu
  • Provided sample code: No
  • Provided link: Yes