Codeigniter 4 Morris Bar & Stacked Chart Examples

1. Morris Bar Chart This example demonstrates how to create a Morris Bar Chart using Codeigniter 4. The chart will display the total number of orders placed by customers in the last month. Step 1: Create a controller Create a controller named MorrisBarChart.php in the app/Controllers folder.

Generate PDF from HTML View using DomPDF in CodeIgniter 4

Step 1: Download DomPDF Library Download the dompdf library from the official website. Step 2: Extract the Library Extract the downloaded library and copy the “dompdf” folder and paste it into the “app/ThirdParty” directory. Step 3: Create a Controller Create a controller file “Pdf.php” in the “app/Controllers” directory and add the following code in it.

Codeigniter 4 Google Map Multiple Markers Example

In this tutorial, we will show you how to integrate Google Map with multiple markers in Codeigniter 4 application. Step 1 – Create Database Table First, we need to create a database table to store the marker information. So, create a table named “markers” in the database. CREATE TABLE `markers` ( `id` int(11) NOT NULL … Read more

Server Side DataTable in CodeIgniter 4

CodeIgniter 4 provides a library for server-side processing of data tables. The library is called DataTables and it is available in the CodeIgniter 4 application/libraries folder. To use the library, you need to include the library in your controller. // Load the DataTables library $this->load->library(‘datatables’); Once the library is loaded, you can use the library … Read more

Codeigniter 4 Google Bar/Column Charts Tutorial Example

Codeigniter 4 Google Bar/Column Charts Tutorial Example with Demo. In this tutorial, we will show you how to create a Google Bar/Column Chart using Codeigniter 4. Google Charts is a powerful tool for creating interactive charts and graphs. It is a JavaScript library that provides a wide variety of charts and graphs for data visualization. … Read more