mlsolutions/chart-js-integration
Composer 安装命令:
composer require mlsolutions/chart-js-integration
包简介
A Simple Dashboard Chart in Laravel Nova using Chart JS. Starting create your own dashboard with Chart JS Integration can save your time and help you maintain consistency across standard elements such as Bar, Stacked, Line, Area, Doughnut and Pie Chart.
README 文档
README
A Laravel Nova Dashboard with Chart JS | See 📘Documentation Page
Note
👋 Welcome to Nova-ChartJS! We believe that great software is built through collaboration, and we invite you to be a part of it. Whether you're a developer, designer, tester, or just someone passionate about the project, there are many ways to contribute.
Installation & Documentation
🎓 For better experiences, we moved documentation to : https://coroo.github.io/nova-chartjs/
Security & Input Validation
Recent versions validate chart query inputs more strictly to avoid SQL injection and ambiguous query behavior.
modelmust be an existing Eloquent model class.col_xaxis,joincolumns, and filter keys must be valid identifiers (for example:orders.created_at).- Supported filter operators:
=,!=,<>,>,>=,<,<=,LIKE,NOT LIKE,ILIKE,NOT ILIKE,IS NULL,IS NOT NULL,IN,NOT IN,BETWEEN,NOT BETWEEN. sumaccepts only numeric values or valid column identifiers.
If your dashboard used raw SQL expressions in sum, col_xaxis, or filter keys/operators, adjust it to the supported format above.
Running Tests
This package includes integration tests for the API endpoints, including NOT IN, BETWEEN, join, uom=day, and cache key isolation.
composer install
composer test
ChangeLog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 944
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-02-20
