Static Approach

We can display the Reference line and Reference Range with Static Approach using the Reference tab which is located in Advance Editor.

Setting up using configurations:

  1. Go to the Advanced Editor

Image 1: Advance Editor Icon
  1. Navigate to the "Reference" Tab

Image 2: Advance Editor-References Tab in the xViz Gantt Chart

a. For Reference lines

The xViz Gantt provides users the option to set multiple reference lines based on different logic:

  1. Date configuration

We need to configure one single date to add the Reference Line on the Chart:

  • First-of-date – Displays Reference Line on the earliest start date from the data where the Timeline starts.

Image 3: Reference Line option First-of-date in the xViz Gantt Chart
  • Last-of-date- Displays Reference Line on the latest start date from the data, where the Timeline ends.

Image 4: Reference Line option Last-of-date in the xViz Gantt Chart
  • Today- Displays Reference Line on the present day dynamically.

Image 5: Reference Line option Today in the xViz Gantt Chart
  • Custom Date- Displays Reference Line for the static date provided in the configuration

Image 6: Reference Line option Custom Date in the xViz Gantt Chart
  1. Formatting options for Reference Lines:

Image 7: Reference Line Formatting options in the xViz Gantt Chart
  • Reference Color - Choose from color palette and set the color as per needs.

  • Display Line Type and Stroke - Apply Line type formatting from the options below:

  1. Dotted

  2. Dashed

  3. Solid

  4. Dashed-Dotted

Adjust the Width of the Line type using Stroke Option.

  • Text- Font Weight, Position and Background-Format the text using Font size, Position, and background color options.

b. Reference Band

Use the reference range, Custom Date Range option to highlight a specific range on your Timeline.

  1. Date configuration

We need to configure Custom Date from and Date to dates to highlight the specific Range in the Chart.

Image 8: Reference Band in the xViz Gantt Chart

For the date range as well, the from and to dates can be set using the different date options shown in Reference Line section.

  1. Formatting options for Reference Band:

  • Band Pattern and Color: Choose from various Patterns provided as per needs and set the color using color palette.

Image 9: Formatting options for Reference Band
  • Text- Font Weight, Position and Background-Format the text using Font size, Position, and background color options.

We can also display the Reference line and Reference Range using the Data Fields of Reference Start Date and Reference End Date - Data Driven Approach

Last updated

Was this helpful?