TimeLineChart

This example shows how to create beautiful TimeLineChart

namepositiondate_startdate_end
George Washington President 1789/4/30 1797/3/4
John Adams President 1797/3/4 1801/3/4
John Adams Vice President 1789/4/21 1797/3/4
Thomas Jefferson President 1801/3/4 1809/3/4
Thomas Jefferson Vice President 1797/3/4 1801/3/4
Thomas Jefferson Secretary of State 1790/3/22 1793/12/31
Aaron Burr Vice President 1801/3/4 1805/3/4
George Clinton Vice President 1805/3/4 1812/4/20
John Jay Secretary of State 1789/9/25 1790/3/22
Edmund Randolph Secretary of State 1794/1/2 1795/8/20
Timothy Pickering Secretary of State 1795/8/20 1800/5/12
Charles Lee Secretary of State 1800/5/13 1800/6/5
John Marshall Secretary of State 1800/6/13 1801/3/4
Levi Lincoln Secretary of State 1801/3/5 1801/5/1
James Madison Secretary of State 1801/5/2 1809/3/3

\koolreport\apexcharts\TimeLineChart::create(array(
    "dataSource" => $data,
    "columns" => [
        'name' => [
            'seriesGroup' => true,
        ],
        'position',
        'term' => [
            'combination' => [
                'date_start',
                'date_end',
            ],
            'label' => '',
        ],
    ]
));
Description