Closed (fixed)
Project:
Charts
Version:
8.x-3.x-dev
Component:
Highcharts integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2018 at 12:16 UTC
Updated:
23 Feb 2019 at 05:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
john cook commentedI created a patch to allow use of
tickmarkPlacementoption of Highcharts. I've applied it to both X and Y axises, but will need #2946078: Add Y-Axis Categories for it to work with the Y axis.I added
'xaxis_tickmark_placement' => 'on'to the settings of the example chart for testing.Before:

After:

Comment #3
john cook commentedComment #4
andileco commentedHey @John Cook, I like all of these related patches that you made, but I'm trying to keep the core Charts module and its sub-modules as separate as possible. Would you mind thinking about how sub-modules could receive separate configuration options (including through Views)? It's something that I have been wanting to figure out, but have been distracted by a lot of other bugs and feature improvements that will help me get to a release.
Please note that the latest -dev is substantially different than from when theses were made.
Comment #5
andileco commentedHi @John Cook,
The latest -dev now has an override feature, which is being tracked here: https://www.drupal.org/project/charts/issues/2945629.
How to set this up is described here: https://cgit.drupalcode.org/charts/tree/src/Plugin/override/ChartOverrid...
Can you test this out and see if it works for your issues related to the y-axis?
Comment #7
andileco commented