Problem/Motivation
Right now the populateOptions, populateData and populateAxes method in the Drupal\charts_highcharts\Plugin\chart\Library\Highcharts are marked as private. This make it harder to implement another Highcharts library like the Highstock or Highmaps without copying all the code even if they are not going to be that different.
Steps to reproduce
Try to implement a one of the library mentioned above.
Proposed resolution
Make populateOptions, populateData and populateAxes protected instead of private.
Remaining tasks
Submit a patch or MR.
User interface changes
N/A
API changes
This means now we need to think about backward compatibility when trying to change something in those methods.
Data model changes
N/A
Issue fork charts-3317896
Show commands
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
nikathoneNow that the test have pass. Setting this to needs review for manual check.
Comment #6
andileco commentedMakes sense and looks good!