Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeline chart grid column color not working #2591

Closed
GeorgEduard opened this issue Sep 2, 2021 · 6 comments
Closed

Timeline chart grid column color not working #2591

GeorgEduard opened this issue Sep 2, 2021 · 6 comments
Labels
bug Something isn't working

Comments

@GeorgEduard
Copy link

On any chart, if xaxis type is set to 'datetime', grid column customisation is not working. If xaxis type has no setting, or other than 'datetime', there is no issue.

Steps to Reproduce

In the options, set the xaxis type to 'datetime';
In the grid column section, add some colors or other styling - nothing happens;
Remove xaxis type, or set type="category" - styling is now appearing;

Expected Behavior

The columns should change color, or whatever valid setting I add there.

Actual Behavior

Nothing happens if you change something there.

Reproduction Link

https://codepen.io/georgedy/pen/OJgXPeG

@GeorgEduard GeorgEduard added the bug Something isn't working label Sep 2, 2021
@rhysdavies1994
Copy link

+1; I'm seeing this same issue. Colors are not being set for 'datetime' type.

It seems as though the grid lines are being set correctly for 'datetime' axis when grid.xaxis.lines is set to true;
Though colours are not being set when using grid.column.colors with the 'datetime' axis

@sdrios
Copy link

sdrios commented Sep 14, 2022

I encounter the same issue.

@cx-keeko
Copy link

+1 - Issue occurs exclusively with type: "datetime".

@annLiu310
Copy link

+1 - Issue occurs exclusively with type: "datetime".

1 similar comment
@annLiu310
Copy link

+1 - Issue occurs exclusively with type: "datetime".

@nevecex
Copy link

nevecex commented Aug 22, 2024

+1 It seems to be intentionally disabled 🤔
https://github.com/apexcharts/apexcharts.js/blob/main/src/modules/axes/Grid.js#L249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants