2 min read

Directus Timeline Chart Panel

Present a series of tasks or events with a start and end date on a graph. You can also group data into categories on the y axis and separate tasks into different colors.
Directus Timeline Chart Panel

Present a series of tasks or events with a start and end date on a graph and hover over data points to reveal the value. You can also group data into categories on the y axis and separate tasks into different colors. The panel will only show the permitted data.

Usage

Install the panel via the marketplace. The panel will be available when adding new panels to a dashboard (Insights). Once added, position and resize the panel as required. While small, the graph won't show legends or labels.

If you choose to split the task/event into different series, a legend will appear at the bottom. Hover over a series in the legend to highlight all data for that series. You can also toggle which series are visible by clicking the series label in the legend.

You can change the following options:

  • Collection Selection
  • Filters
  • Y Label
  • Start and End Dates
  • Display Text on the task/event
  • Grouping
  • Color
  • Hide/Show Tooltips
  • Data Labels

Requirements

  • Directus 10.10.0+
  • DateTime, Date or Timestamp field for Date Start and Date End fields
  • String field for Y Axis Labels
  • Fields must be in the same table

Example

LabelStartEndUserTask
Design2024-09-022024-09-12BrianUI Mockup
Design2024-09-082024-09-16SarahDB Schema Design
Code2024-09-192024-10-08MichelleFrontend Development
Code2024-09-142024-10-12RobertCore Development
Test2024-10-202024-10-31BenFrontend Testing
Test2024-10-182024-10-26KateCybersecurity Testing

Installation

Refer to the Official Guide for details on installing the extension from the Marketplace or manually.

How to add this Panel

  1. Create a new Panel and select Timeline Chart from the list
  2. Choose the collection and the fields to use for the Label, Start and End Dates
  3. (Optional) Filter the data to your scope
  4. (Optional) Select the field to Group data into series
  5. (Optional) Select the field for the Task/Event names
  6. (Optional) Use the header to create a name for this panel
  7. Save the panel and position/resize as required
  8. Save the dashboard

Check it out on NPM

@directus-labs/timeline-chart-panel
View timelines for various items in Directus. Latest version: 1.0.1, last published: 5 months ago. Start using @directus-labs/timeline-chart-panel in your project by running `npm i @directus-labs/timeline-chart-panel`. There are no other projects in the npm registry using @directus-labs/timeline-chart-panel.
Send me a coffee

By continuing to use our website, you consent to use essential cookies. We also use optional tracking cookies which help us gather statistics to improve our services. Do you consent to these cookies?

I Consent Do not track