question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Graph is not showing in Lovelace 0.115

See original GitHub issue

Hi guys,

After the update to 0.115, the graph in the card stopped working. Does this happen to anyone else? This is the result: image

The only error I have is the below:

ncaught (in promise) TypeError: Cannot read property 'language' of undefined
    at HTMLElement._formatTickValue (chunk.93de88efd85a8b7b4ec4.js:26957)
    at Object.tickFormatFunction (chunk.d9cbf2fe4e32a009641f.js:1)
    at Object.convertTicksToLabels (chunk.d9cbf2fe4e32a009641f.js:1)
    at Object.update (chunk.d9cbf2fe4e32a009641f.js:1)
    at Object.update (chunk.d9cbf2fe4e32a009641f.js:1)
    at chunk.d9cbf2fe4e32a009641f.js:1
    at Object.each (chunk.d9cbf2fe4e32a009641f.js:1)
    at Object.update (chunk.d9cbf2fe4e32a009641f.js:1)
    at tn.updateLayout (chunk.d9cbf2fe4e32a009641f.js:1)
    at tn.update (chunk.d9cbf2fe4e32a009641f.js:1)

And this is my card config:

current: true
details: true
entity: weather.dark_sky
forecast: true
graph: true
hide_precipitation: true
name: Lisbon
type: 'custom:weather-card'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
kbrohkahncommented, Sep 19, 2020

Looks like that error is unrelated, I was digging through the HA git history and found a fix courtesy of @fancygaphtrn by making the following addition in the source js file.

I previously used this in the html. <ha-chart-base data="[[ChartData]]"></ha-chart-base> Had to change to include the hass object to this. <ha-chart-base hass="[[_hass]]" data="[[ChartData]]"></ha-chart-base>

Link to the breaking change

1reaction
SiliconAvatarcommented, Sep 19, 2020

Submitted the needed changes to this repo in PR#43.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Graph is not showing in Lovelace 0.115 · Issue #42 - GitHub
Hi guys,. After the update to 0.115, the graph in the card stopped working. Does this happen to anyone else? This is the...
Read more >
Lovelace: mini graph card - Dashboards & Frontend
“Graph is not displayed” - means: ... I'm experimenting a strange issue since the upgrade to Core 0.116.4 (from 0.115.x) and python 3.8.6....
Read more >
no plot on simple XY graph - (not the express ... - NI Community
Solved: I am using simple xy graph. No plot is seen however the scales are changing while run showing that its plotting but...
Read more >
HA does not see mini-graph-card after install : r/homeassistant
I installed the Mini-graph-card form HACS, modified the config.yaml file, and restarted HA. However, when I go to dashboard edit and add a ......
Read more >
Neurochemical correlates of rapid treatment response to ...
Results from follow-up analyses to determine normalization of metabolite concentrations with ECT by comparing T3 and C1 values are not shown.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found