IBM / gantt-chart

IBM Gantt Chart Component, integrable in Vanilla, jQuery, or React Framework.
https://ibm.github.io/gantt-chart/packages/ibm-gantt-chart-docs/storybook
Apache License 2.0
215 stars 52 forks source link

explicit start and end properties in static timewindow data result in error #70

Open watery opened 1 year ago

watery commented 1 year ago

While this:

timeWindow : {
    data: {
          start : 1667257200000,
          end : 1668466800000,
    },
  },

works and centers the component view between 1 and 15 of november, explicitly defining the start and end properties:

timeWindow : {
    data: {
          start : 1667257200000,
          end : 1668466800000,
    },
    start: 'start',
    end: 'end'
  },

results in error:

Uncaught (in promise) Error: Could not configure data for timeWindow. Probably a configuration issue with key(s) start,end

watery commented 1 year ago

This is probably what's already been reported in #32.