Skip to content

zeroline is not visible when axis has no gridlines #4027

Closed
@DaanyWaay

Description

@DaanyWaay

https://codepen.io/anon/pen/pXxqeW
zeroline is not visible if these conditions are met:

rangemode: 'tozero',
nticks: 1 (or 2)

If you change nticks to: 0 | 3 | 3+ it is shown again.
Unfortunately I need to hide all the ticks except tick0 as this configuration will be used for subplots.

The solution with mirror axis works better, but:

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions