定制 imreallyunoriginal/plottwist 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

imreallyunoriginal/plottwist

最新稳定版本:0.1.0

Composer 安装命令:

composer require imreallyunoriginal/plottwist

包简介

A Laravel wrapper for ChartJS

README 文档

README

Latest Version on Packagist Total Downloads

A simple, intuitive, and eloquent Laravel PHP wrapper for ChartJS

Installation

You can install the package via composer:

composer require imreallyunoriginal/plottwist

Usage

Chart::radar('Test Chart', [
    Chart::dataset('Test 1', [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),
    Chart::dataset('Test 2', [12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1]),
])->setLabels(['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'])

Chart::line('Chart Title')
    ->addDataset('Dataset 1 Label', [
        'Label 1' => 16,
        'Label 2' => 32,
        'Label 3' => 10,
        'Label 4' => 12,
        'Label 5' => 10,
    ])

Testing

composer test

Contributing

Please see the Contributing File for more information.

License

The MIT License (MIT). Please see the License File for more information.

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-01-01