With my use case, I need to be able to hide the first and last label. Highcharts has the option to do this using showFirstLabel and showLastLabel of the yAxis options.

I am requesting that the capability to use these options is added to Charts.

Comments

John Cook created an issue. See original summary.

john cook’s picture

Status: Active » Needs review
StatusFileSize
new10.06 KB
new10.25 KB
new1.1 KB

I've created a patch to use the showFirstLabel and showLastLabel settings.

I changed the example chart for testing and added the following:

      'yaxis_show_first_label' => FALSE,
      'yaxis_show_last_label' => FALSE,

Before:

After:

  • andileco committed 4186d09 on 8.x-3.x authored by John Cook
    Issue #2946050 by John Cook: Add ability to show/hide first/last Y axis...
andileco’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.