Figured out these days that setting an offset for series does not work if it exceeds a specific value:
if offset is set to -11month (or -345d), values are shown in the chart as desired (fig on the left hand side), if offset is set to -12month (or -350d or -1year), values are not shown anymore (figure on the right hand side):
I had installed ApexCharts card about six months ago and never had an issue until I installed Latest Firefox. As soon as navigated to the page with the chart, the memory usage goes through the roof crashing that tab. If I access the same page in Edge it doesn’t have this problem.
I removed all but one chart which did not help in Firefox. Then I visited hacs to check if I am missing something. To my amazement ApexCharts card is no longer installed. So I go through and install it again which does not fix the issue.
Is anyone else encountered any issues with latest Firefox?
I am using an ApexChart to show our energy consumption. It is a simple timeline chart with the total power in W we use over the time, currently based on a 2 week graph_span.
To understand our energy usage better, I would like to „highlight“ the weekends in a different colour to simply see if there are some insights.
Is there any possibility to achieve this (like having the background during the weekends „paler“ or changing the colour of the line chart during days that represent weekends or whatever )?
And another question - I have been able to enable the toolbar including the zoom function.
When enabling the zoom function, the idea was to see the data from the previous time. However, when using the zoom switches, the graph just zooms into or out of the middle.
So, how can I use zoom (or whatever) to see the historic data?
Im hoping someone can guide me in how to add a point (XY) annotation to the latest/ current data point on a line chart. I’ve found the reference (A guide to annotating the charts – ApexCharts.js) but unable to code the x & y to dynamically identify latest/ current series value. Here is my code & picture of what I’m trying to achieve. Thx.
I’ve got a time series based vertical bar chart where the final (rightmost) column in each data set is narrower than all others. I’ve tried messing with plotOptions.bar.columnWidth and chart.width but no joy. Only thing that helps is adding a stroke_width but that does skew the bar sizes and can produce overlaps. I’ve been through the Apex Charts docs and searched forums for advice, but what I can find is confusing or useless. This feels like a bug…
I made a graph with the Zonneplan current and next gas tariffs. As expected this results in a graph where all next gas tariffs are identical to the current gas prices, but just shown a day earlier.
I would like to show current gas prices and only the future Zonneplan gas price for tomorrow (if available). So I think that I need to
use data_generator to add 1 day to the data for the next gas tariff.
filter on next gas price for tomorrow and
This should result in a column graph with the historical gas tariff (including the current price) in one color (green in my example) and the gas price for tomorrow (if available) in orange.
I tried to transform the data like this, but didn’t succeed. Anyone who knows how to realize this?
I am trying to create a bar graph showing a 24hr history of a binary_sensor state. That bit is working. I am also trying to display in the header the time at which the binary sensor last changed state. To do this I have created a template sensor to give the time - that works - but it only displays the hours on the chart - not hours:minutes. Any idea how to solve this?