Skip to content

Window resize hide bars for a while #6

Open
@coda7777

Description

i don't know what's the reason so far
i have line chart and bar chat...
lines are working perfectly fine... the bars however disappear and not show up
Vue 2.6
these are the data

  barChart: {
    data: {
      labels: [
        "Jan",
        "Feb",
        "Mar",
        "Apr",
        "Mai",
        "Jun",
        "Jul",
        "Aug",
        "Sep",
        "Oct",
        "Nov",
        "Dec",
      ],
      series: [
        [542, 443, 320, 780, 553, 453, 326, 434, 568, 610, 756, 895],
        [412, 243, 280, 580, 453, 353, 300, 364, 368, 410, 636, 695],
      ],
    },
    options: {
      seriesBarDistance: 10,
      axisX: {
        showGrid: false,
      },
      height: "245px",
    },
    responsiveOptions: [
      [
        "screen and (max-width: 600px)",
        {
          seriesBarDistance: 5,
          axisX: {
            labelInterpolationFnc(value) {
              return value[0];
            },
          },
        },
      ],
    ],
  },

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions