Static Approach
Last updated
Last updated
We can display the Reference line and Reference Range with Static Approach using the Reference tab which is located in Advance Editor.
Go to the Advanced Editor
Navigate to the "Reference" Tab
The xViz Gantt provides users the option to set multiple reference lines based on different logic:
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.
Last-of-date- Displays Reference Line on the latest start date from the data, where the Timeline ends.
Today- Displays Reference Line on the present day dynamically.
Custom Date- Displays Reference Line for the static date provided in the configuration
Formatting options for Reference Lines:
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:
Dotted
Dashed
Solid
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.
Use the reference range, Custom Date Range option to highlight a specific range on your Timeline.
Date configuration
We need to configure Custom Date from and Date to dates to highlight the specific Range in the 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.
Formatting options for Reference Band:
Band Pattern and Color: Choose from various Patterns provided as per needs and set the color using color palette.
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