February missing from month type charts

Since 1 March, I’ve noticed that none of my chart widgets of chartType: month and oh-aggregate-series will display the month of February. Clicking the left arrow in the date navigator jumps straight from March 2026 to January 2026. The line chart in all previous months displays incorrectly.

Going back to March 2025, clicking the left arrow in the date navigator shows March 2025 again, but with different data. Clicking the left arrow again in this duplicate March 2025 gives January 2025.

OpenHAB version is 5.1.3, with the persistence service set to InfluxDB.

Chart for January 2026:

Code for the chart:

guid: AAA_Daily_COP_Chart
tags:
  - card
  - energy
props:
  parameters: []
  parameterGroups: []
timestamp: Mar 2, 2026, 9:09:18 AM
component: f7-card
config:
  title: Daily COP
slots:
  default:
    - component: oh-chart
      config:
        chartType: month
        label: COP
      slots:
        grid:
          - component: oh-chart-grid
            config:
              containLabel: true
              left: 3%
              right: 3%
              show: true
        legend:
          - component: oh-chart-legend
            config:
              bottom: 25
              left: 10
              show: true
        series:
          - component: oh-aggregate-series
            config:
              aggregationFunction: average
              animation: false
              color: red
              dimension1: date
              item: Optolink_COP_Heating_Mode_7336
              label:
                show: false
              name: COP
              type: line
              yAxisIndex: 0
        toolbox:
          - component: oh-chart-toolbox
            config:
              bottom: "0"
              left: "15"
              presetFeatures:
                - saveAsImage
              show: true
        tooltip:
          - config:
              axisPointer:
                backgroundColor: "#6a7985"
                type: cross
              show: true
              trigger: axis
        xAxis:
          - component: oh-category-axis
            config:
              categoryType: month
              gridIndex: 0
              monthFormat: short
              weekdayFormat: default
        yAxis:
          - component: oh-value-axis
            config:
              gridIndex: 0
              min: 0

Can anyone see what I am doing wrong here please? I haven’t changed anything in my charts and I didn’t notice this happening last year.

I’m using JDBC persistence but facing the same problem.
My guess is there is some specific februar problems becaus the number of day’s is less than other month?

1 Like

I wonder if it’s related to this issue: [MainUI] Charts data misalignment on oh-category-axis when using series offset #3866

While waiting for a fix to be available, you can select February by clicking on the month and using the calendar to pick a date in February.
I’ve created a PR to fix that: Charts: Fix add/subtract period doesn't account for different month lenghts by florian-h05 · Pull Request #3958 · openhab/openhab-webui · GitHub

That’s great, thanks for the update. The chart still displays incorrectly using this method, so I will wait for the fix.

Many thanks also from my site