mlsolutions/chart-js-integration 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Click here to contribute!

Chart JS Integration in Action

Continues Integration Latest Version on Packagist Total Downloads License State Status License

Listed in Awesome ChartJS License

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.

  • model must be an existing Eloquent model class.
  • col_xaxis, join columns, 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.
  • sum accepts 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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 96
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固