fx
Plugin to add exporting functionality to the timeline namely PNG, PDF and SVG
Plugin to add exporting functionality to the timeline namely PNG, PDF and SVG
cleans up the HTML of the export-button
runs the clinicalTimelineExporter plugin
Plugin to display the x-coordinate i.e the label and y-coordiante i.e the day when clicked on a timeline element
runs the clinicalTimelineHelperLines plugin
Plugin which dandles the drawing and panning of the overviewAxis drawn below the actual timeline
runs the clinicalTimelineOverviewAxis plugin
scale for drawing the the overviewAxis and ticks in the specified width
scale to map the amount dragged on the zoomedWidth of original timeline to the overviewAxis width helps position the overview-rectangle correctly if original timeline dragged
scale to map the amount dragged on the overview-rectangle to the orignal timeline's zoomedWidth helps position the original-timeline correctly if the overview rectagle is dragged
Utility object for clinical-timeline Contains utility functions and variables required by different files
calculates the the difference (in days) between ticks on x-axis based on current zoom level
current zoom-level
difference between ticks on clinical-timeline
uses binary search to calculate the lower index of the indices between which the element(ele) lies in an array(arr)
array to calculate index upon
value of the element whose index has to be calculated
lower index
rounds down to the nearest multiple of a number
rounded down number
rounds up to the nearest multiple of a number
rounded up number
stores various contstants shared between different functions and plugins of clinical-timeline
Plugin to handle the drawing of a vertical line on hovering over the timeline
cleans up the HTML of the verticalLine
runs the clinicalTimelineVerticalLine plugin
variables to confine the hoverable area
scale to map the coordinates hovered upon (according to the svg coordinates) to the clinical-timeline days
text to be displayed along with hoverLine
Boolean to toggle the visibility of tooltips along with the vertical line
Plugin to add rectangular zoom selection. Use brush to zoom. After zooming in, scroll mouse or drag to pan.
runs the clinicalTimelineZoom plugin
Add rectangular zoom selection zoom in after brush ends
adds textual explanation for the present current zoom state
Checks wheter a timeline track contains timepoints with varying start and end dates.
Merge timepoints that have the same starting_time into one timepoint with multiple tooltip_tables