Download the PHP package nouman3070/my-chart-widget without Composer
On this page you can find all versions of the php package nouman3070/my-chart-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download nouman3070/my-chart-widget
More information about nouman3070/my-chart-widget
Files in nouman3070/my-chart-widget
Download nouman3070/my-chart-widget
More information about nouman3070/my-chart-widget
Files in nouman3070/my-chart-widget
Vendor nouman3070
Package my-chart-widget
Short Description A reusable Yii2 Chart.js widget supporting all major chart types.
License MIT
Package my-chart-widget
Short Description A reusable Yii2 Chart.js widget supporting all major chart types.
License MIT
Please rate this library. Is it a good library?
Informations about the package my-chart-widget
Yii2 ChartWidget
A reusable Chart.js wrapper widget for Yii2, allowing easy rendering of multiple chart types (Bar, Line, Pie, Radar, etc.) with a simple PHP configuration.
📦 Installation
Install the package via Composer:
🚀 Usage
Use the widget in your view file:
📊 Supported Chart Types
- Line
- Bar
- Horizontal Bar
- Pie
- Doughnut
- Radar
- Polar Area
- Scatter
📑 Detailed Examples
Line Chart
Bar Chart
Horizontal Bar Chart
Pie Chart
Doughnut Chart
Radar Chart
Polar Area Chart
Scatter Chart
🔧 Configuration Options
elementId(string): The unique ID of the canvas element for rendering the chart.type(string): Type of chart (line,bar,horizontalBar,pie,doughnut,radar,polarArea,scatter).labels(array): Labels for the X-axis or data points.datasets(array): Data series to plot. Each dataset can contain keys likelabel,data,fill,backgroundColor, etc.
💡 Notes
- This widget is a wrapper for Chart.js.
- You can customize charts further by extending or modifying widget options.
Made with ❤️ for Yii2 developers.
All versions of my-chart-widget with dependencies
PHP Build Version
Package Version
The package nouman3070/my-chart-widget contains the following files
Loading the files please wait ...