Provide a reverse legend option for the highcharts

Created on 30 June 2022, about 2 years ago
Updated 23 May 2023, about 1 year ago

Problem/Motivation

The highchart library provides an option to display the chart legend in reverse order. But the module does not provide any functionality related to this option.

Proposed resolution

There should be a checkbox in the block settings to display the the legend in reverse order.

✨ Feature request
Status

Needs work

Version

5.0

Component

Highcharts integration

Created by

πŸ‡΅πŸ‡°Pakistan hmdnawaz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom Baysaa

    I'm not sure if the `#access` part is relevant? I can't find any mention of `highcharts_settings` anywhere in code apart from that #access bit.

    I'm removing the #access and re-uploading patch as it seems completely irrelevant here.

  • Status changed to Needs review about 1 year ago
  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 5.7
    last update about 1 year ago
    10 pass
  • πŸ‡¬πŸ‡§United Kingdom Baysaa
  • Status changed to Needs work about 1 year ago
  • πŸ‡¨πŸ‡¦Canada nikathone Ontario

    Thank you for the patch but if this config is being added only to be used for highcharts.

    I think it should go under highcharts plugin configuration instead of the base settings element. To do this I think we can add a new reversed properties under legend in default configurations and then proceed to add the form element in the build configuration form of the plugin. The schema should also need to be updated for the new configuration property.

Production build 0.69.0 2024