set_databar() *

* Please note this feature is not available in Lite and Basic versions.

  • Parameters:
    • $col_name: Name of column to display data bar. It should be numeric type
    • $color: Data bar color
  • Description:
    • Creates a data bar with gradient effect on a specified column. For complex data visualization, PHP Chart is highly recommended.
  • Remark:
    • For complex data visualization, we recommend phpGrid sister product, PHP Chart, a highly customizable PHP charting solution.
  • Example:
1
$dg -> set_databar("percentComplete","red");

No related content found.

Tags: ,