Active
Project:
Charts
Version:
5.2.x-dev
Component:
Highcharts integration
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Apr 2026 at 15:54 UTC
Updated:
17 Apr 2026 at 20:13 UTC
Jump to comment: Most recent
The charts_highcharts plugin provides global toggles under its configuration form (e.g., Enable Pareto library, Enable Color Axis, Enable Solid Gauge, etc.). However the selection of these charts, as well as their features remain present in the UI even when they're not enabled.
pareto_library configuration property is explicitly missing in Highcharts::submitConfigurationForm, making it impossible for administrators to save the global Pareto toggle.Modify \Drupal\charts_highcharts\Plugin\chart\Library\Highcharts to strictly adhere to global library configurations:
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
cballenar commentedWould love to get another pair of eyes on this. I don't know if there's anything in the roadmap from the maintainers for how to handle these type of library dependent options.
If these features are available as toggles in the Highcharts settings then it makes sense for the entire feature to be enabled/disabled accordingly, including related UI.
A big motivation for these changes in our case is that some of these features are not user friendly and having all these options available just adds complexity to an already busy interface. The submitted MR allows us to show only the features we have enabled.
Comment #4
cballenar commentedA possible issue with this is in how all this is part of the "Default" settings. Based on its description:
But I don't understand why enabling/disabling Highcharts features is in this section at all. Shouldn't they be considered global? Would it make sense to move these outside of the Default section and onto its own "Library Features" section to more accurately reflect these as global settings.
---
With that said, I think given the way things are currently setup, the work from MR!191 is still valid since the module was already enabling/disabling features.