定制 aabosham/filament-spark-pie 二次开发

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

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

aabosham/filament-spark-pie

最新稳定版本:v2.0.0

Composer 安装命令:

composer require aabosham/filament-spark-pie

包简介

This is my package filament-spark-pie

README 文档

README

Latest Version on Packagist

Total Downloads

Pie chart for laravel filament

Preview

preview

Installation

You can install the package via composer:

For filament v3

composer require aabosham/filament-spark-pie:"^2.0"

For filament v2

composer require aabosham/filament-spark-pie:"^0.0.4"

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-spark-pie-views"

Usage

Table

On your filament resource file

use AAbosham\FilamentSparkPie\Tables\Columns\SparkPieColumn;

On your filament table schema

use AAbosham\FilamentSparkPie\Tables\Columns\SparkPieColumn;

SparkPieColumn::make('rate')
    ->size(70) // height
    ->color('green') // green , #598989
    ->suffix('%') // or prefix

Infolist (Only for filament v3)

On your filament Infolist schema

use AAbosham\FilamentSparkPie\Infolists\Components\SparkPieEntry;

SparkPieEntry::make('rate')
    ->size(70) // height
    ->color('green') // green , #598989
    ->suffix('%') // or prefix

preview-entry

Credits

License

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

统计信息

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

GitHub 信息

  • Stars: 8
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-24