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

First date is missing from graph #198

Open
thijselblaso opened this issue Aug 10, 2021 · 8 comments
Open

First date is missing from graph #198

thijselblaso opened this issue Aug 10, 2021 · 8 comments
Labels
ApexCharts.JS ApexCharts.JS issue bug Something isn't working

Comments

@thijselblaso
Copy link

Hi, for some reason the first date of my graph is missing. Is this a bug or does someone know how to solve it?
I use the latest version. See also the screenshots.

This is the configuration I used:

type: custom:apexcharts-card
graph_span: 5d
span:
  end: day
header:
  show: true
  show_states: true
  colorize_states: true
  title: Stroomkosten vandaag
apex_config:
  chart:
    type: area
    height: 250
  xaxis:
    tooltip:
      enabled: false
series:
  - color: '#5F9BEA'
    entity: sensor.energy_import_total_dagelijks_eur
    float_precision: 2
    type: column
    group_by:
      func: max
      duration: 24h

Screenshot 2021-08-10 at 12 26 39

Screenshot 2021-08-10 at 12 28 31

@thijselblaso thijselblaso added the bug Something isn't working label Aug 10, 2021
@RomRider
Copy link
Owner

Yes, that's a bug in the ApexCharts library. Unfortunately, I can't do anything about it.

@RomRider RomRider added the ApexCharts.JS ApexCharts.JS issue label Aug 10, 2021
@kongo09
Copy link

kongo09 commented Jan 15, 2022

Do you know under what conditions the first label is missing? Some charts seem to have it, some not.

@RomRider
Copy link
Owner

That should be fixed in the latest beta

@kongo09
Copy link

kongo09 commented Apr 19, 2022

I just tried 1.11.0-dev.1 but it is not working:

image

@RomRider
Copy link
Owner

Are you sure you are not running an older cached version? Check your javascript console please

@kongo09
Copy link

kongo09 commented Apr 19, 2022

image

@RomRider
Copy link
Owner

Well too bad :/ for most of my charts it's fixed now. It's still an issue in the library, nothing I can do about it unfortunately :(

@teleksterling
Copy link

teleksterling commented Jan 29, 2023

It looks like there was a fix merged in November (2022)
apexcharts/apexcharts.js#3505
Which would put it in the currently unreleased version 3.36.3.
I'm interested to see the fix, as I just came across the issue myself this evening

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

No branches or pull requests

4 participants