Timeline Chart
A timeline chart is a visualization that delineates how a set of assets are utilized over a period of time
Structure
showTimelineChart($chartTitle = "Title Of The Timeline Chart", $chartData, $chartSize = "col-md-12")
Parameters
Chart Title- This will be the title displayed
Chart Data- This is an sql query to bring data, the query should have this values: label,start_date,end_date
Chart Size- The bootstrap size class of the chart default is: col-md-12
Example Usage
echo showTimelineChart("Wedding Venues Timeline", sql("SELECT venue_name AS label booking_start AS start_date booking_end AS end_date FROM venues",$eo),"col-md-12")
Output

Last updated