Admiro Dashboard Theme For Appgini
  • Introduction
  • Installation Guide
  • General Settings
  • Table Menu Settings
  • Dashboard Builder
  • Custom Page Builder
  • Reports Builder
  • Translation Tool For Admiro
  • File Manager
  • Widget Functions
    • Data Card
  • Sweet Alert
  • Alert
  • Welcome Banner
  • Statistics Counter Card
  • Basic Table
  • Data Table
  • Modal
  • Full Calendar
  • Drop Zone
  • Line Chart
  • Area Chart
  • Bar Chart
  • Column Chart
  • Pie Chart
  • Donut Chart
  • Timeline Chart
  • Options
Powered by GitBook
On this page
  • Structure
  • Parameters
  • Example Usage
  • Output

Timeline Chart

PreviousDonut ChartNextOptions

Last updated 7 months ago

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

Timeline Chart