Method |
Description |
|
addPoint ( string $series_name, float $x, float $y, string $label = null ) : FlotChart |
Add a point to the specified data series (creating it if it doesn't exist). |
|
configureChart ( array $config ) : FlotChart |
Apply configuration to the chart as a whole. |
|
configureSeries ( string $series_name, array $config ) : FlotChart |
Configure a data series, creating it if it doesn't exist. |
|
configureXAxis ( array $config = [] ) : FlotChart |
Configure the X axis. |
|
configureYAxis ( string $axis_name, array $config = [] ) : FlotChart |
Add and/or configure a Y axis. |
|
getXMax ( ) : float |
Get the highest X value added to the graph so far (or null if none). |
|
getXMin ( ) : float | null |
Get the lowest X value added to the graph so far (or null if none). |
|
hasData ( ) : boolean |
Whether there are any points in the graph yet. |
|
run ( ) |
Render the chart. |
|