data-table-filters icon indicating copy to clipboard operation
data-table-filters copied to clipboard

feat: requirement of graph timestamp per minute modification

Open WINOFFRG opened this issue 10 months ago • 1 comments

Hi, we are looking for something like this where we can modify the graph by changing the timestamp per s/m/h likewise.

Image

WINOFFRG avatar Feb 17 '25 06:02 WINOFFRG

So right now, the bars "interval" is being defined within the TiminelineChart and are dynamic based on the start and end date of the timerange: the shorter the timerange, the shorter the intervals and vice versa.

https://github.com/openstatusHQ/data-table-filters/blob/7f8eaf2705981fc51c1616c98d62c773d86cb7f0/src/app/infinite/timeline-chart.tsx#L117

The intervals have to be reworked (better helper functions and some clean ups) and I'd like to make the chart be defined by the user itself to allow full ownership of what gets rendered. So eventually, that will be easier in the future.

mxkaske avatar Feb 20 '25 20:02 mxkaske