Token导航 LogoToken导航TokenDH.com
开发操作浏览器github未标认证来源可访问许可证需确认审计通过

syncfusion-react-3d-circular-chartsyncfusion React 3D circular chart 开发

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

629

周安装

27

GitHub Stars

1

下载量

220
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-react-3d-circular-chart(syncfusion React 3D circular chart 开发)
来源仓库:https://github.com/syncfusion/react-ui-components-skills
仓库路径:skills/syncfusion-react-3d-circular-chart
安装命令:
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-3d-circular-chart
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/react-ui-components-skills --skill syncfusion-react-3d-circular-chart

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构。
  • 使用时需结合项目现有设计系统、路由和构建方式,避免生成孤立片段。
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。
  • syncfusion-react-3d-circular-chart 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Implementing Syncfusion React 3D Circular Charts

A comprehensive skill for implementing Syncfusion's React 3D Circular Chart component. This skill guides you through creating pie and donut charts with 3D visualization, data labels, legends, tooltips, and advanced customization options.

When to Use This Skill

Use this skill when you need to:

  • Create 3D pie or donut charts in React applications
  • Visualize proportional data with circular charts
  • Display data with 3D depth and visual appeal
  • Add interactive tooltips and legends to charts
  • Customize chart appearance with data labels
  • Handle empty or null data points gracefully
  • Export charts to various formats (PNG, JPEG, SVG, PDF)
  • Print charts directly from the browser
  • Implement responsive circular chart visualizations

Component Overview

The 3D Circular Chart component provides:

  • Pie and Donut Charts: Classic circular visualizations with 3D depth
  • Flexible Data Binding: Easy mapping of data sources to chart series
  • Interactive Features: Tooltips, legends, and click events
  • Visual Customization: Data labels, colors, and radius configurations
  • Export Options: Print and export to multiple formats
  • Empty Point Handling: Smart handling of null/undefined values
  • Responsive Design: Adapts to container size automatically

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and package dependencies
  • Setting up React application with Vite or Create React App
  • Adding 3D Circular Chart component to your project
  • Importing CSS themes
  • Basic pie series implementation with data source
  • Mapping data fields with xName and yName properties
  • Running your first 3D Circular Chart
  • Minimal working example

Pie and Donut Charts

📄 Read: references/pie-donut-charts.md

  • Injecting PieSeries3D module
  • Rendering default pie charts
  • Customizing chart radius (default 80% of container)
  • Creating various radius pie charts with per-slice customization
  • Implementing donut charts using innerRadius property
  • Text and fill color mapping from data source
  • Customizing individual points with pointRender event
  • Complete examples for pie and donut variations

Data Labels

📄 Read: references/data-labels.md

  • Enabling data label visibility
  • Injecting CircularChartDataLabel3D module
  • Smart label arrangement to prevent overlap
  • Positioning labels inside or outside the chart
  • Creating custom templates with placeholders
  • Formatting text and styling labels
  • Configuring connector lines
  • Font customization for data labels

Legend

📄 Read: references/legend.md

  • Enabling legend visibility
  • Injecting CircularChartLegend3D module
  • Positioning legends (left, right, top, bottom)
  • Alignment options (center, far, near)
  • Reversing legend item order
  • Legend pagination for many items
  • Shape and marker customization
  • Styling and click behavior configuration

Tooltip

📄 Read: references/tooltip.md

  • Enabling tooltip on hover
  • Injecting CircularChartTooltip3D module
  • Setting custom tooltip headers
  • Format string customization with placeholders
  • Creating tooltip templates
  • Displaying series names and point values
  • Styling tooltip appearance
  • Event-based tooltip customization

Empty Points

📄 Read: references/empty-points.md

  • Understanding empty points (null/undefined values)
  • Configuring emptyPointSettings property
  • Mode options: Gap, Average, Drop, Zero
  • Gap mode: skipping empty data points
  • Average mode: using calculated averages
  • Drop mode: excluding from chart
  • Zero mode: treating as zero values
  • Custom fill colors for empty points

Title and Subtitle

📄 Read: references/title-and-subtitle.md

  • Adding chart titles with title property
  • Title positioning and alignment
  • Customizing title style (font, color, size)
  • Adding subtitles with subTitle property
  • Subtitle positioning
  • Styling subtitles independently
  • Combining title and subtitle
  • Responsive title sizing

Print and Export

📄 Read: references/print-and-export.md

  • Printing charts directly from browser
  • Using print method with chart ID
  • Exporting to image formats (JPEG, PNG, SVG)
  • Exporting to PDF with pdfExport method
  • Specifying export type and filename
  • Button-triggered print and export
  • Export quality and resolution settings
  • Troubleshooting export issues

API Reference

📄 Read: references/api-reference.md

  • Summary of component properties, methods, and events based on the official Syncfusion API docs for CircularChart3DComponent.

Quick Start Example

import { CircularChart3DComponent, CircularChart3DSeriesCollectionDirective, CircularChart3DSeriesDirective, PieSeries3D, CircularChartDataLabel3D, CircularChartLegend3D, Inject } from '@syncfusion/ej2-react-charts';
import * as React from "react";
import * as ReactDOM from "react-dom";
function App() {
    const circularData = [
        { x: 'Chrome', y: 62.92 },
        { x: 'Internet Explorer', y: 6.12 },
        { x: 'Opera', y: 3.15 },
        { x: 'Edge', y: 5.5 },
        { x: 'Safari', y: 19.97 },
        { x: 'Others', y: 2.34 }
    ];
    return <CircularChart3DComponent id='charts' title='Browser Market Shares in November 2023' tilt={-45} legendSettings={{ visible: true, position: 'Right' }}>
        <Inject services={[PieSeries3D, CircularChartDataLabel3D, CircularChartLegend3D]} />
        <CircularChart3DSeriesCollectionDirective>
            <CircularChart3DSeriesDirective dataSource={circularData} xName='x' yName='y' dataLabel={{ visible: true, position: 'Outside', name: 'x', font: { fontWeight: '600' }, connectorStyle: { length: '40px' } }}>
            </CircularChart3DSeriesDirective>
        </CircularChart3DSeriesCollectionDirective>
    </CircularChart3DComponent>;
}
export default App;
const root = ReactDOM.createRoot(document.getElementById('charts'));
root.render(<App />);

Common Patterns

Creating a Donut Chart

<CircularChart3DSeriesDirective
  dataSource={data}
  xName="category"
  yName="value"
  innerRadius="40%"  // Creates donut effect
  radius="80%"
/>

Adding Data Labels

import { CircularChartDataLabel3D } from '@syncfusion/ej2-react-charts';

<CircularChart3DComponent>
  <Inject services={[PieSeries3D, CircularChartDataLabel3D]} />
  <CircularChart3DSeries>
    <CircularChart3DSeriesDirective
      dataSource={data}
      xName="x"
      yName="y"
      dataLabel={{ visible: true, position: 'Outside' }}
    />
  </CircularChart3DSeries>
</CircularChart3DComponent>

Enabling Legend and Tooltip

import { CircularChartLegend3D, CircularChartTooltip3D } from '@syncfusion/ej2-react-charts';

<CircularChart3DComponent
  legendSettings={{ visible: true, position: 'Bottom' }}
  tooltip={{ enable: true, format: '${point.x}: ${point.y}' }}
>
  <Inject services={[PieSeries3D, CircularChartLegend3D, CircularChartTooltip3D]} />
  {/* Series configuration */}
</CircularChart3DComponent>

Handling Empty Points

<CircularChart3DSeriesDirective
  dataSource={dataWithNulls}
  xName="category"
  yName="value"
  emptyPointSettings={{
    mode: 'Average',  // Options: Gap, Average, Drop, Zero
    fill: '#cccccc'
  }}
/>

Key Props Reference

CircularChart3DComponent Props

  • title: Chart title text
  • subTitle: Chart subtitle text
  • legendSettings: Configure legend appearance and behavior
  • tooltip: Enable and customize tooltips
  • enableExport: Enable export functionality
  • width/height: Chart dimensions

CircularChart3DSeriesDirective Props

  • dataSource: Array of data objects
  • xName: Property name for category/label
  • yName: Property name for values
  • radius: Chart radius (percentage string, e.g., "70%")
  • innerRadius: Inner radius for donut charts (percentage)
  • dataLabel: Configuration for data labels
  • emptyPointSettings: Handling null/undefined values
  • pointColorMapping: Map colors from data source

Module Injection

Required modules must be injected via <Inject services={[...]} />:

  • PieSeries3D: Core pie/donut chart functionality
  • CircularChartDataLabel3D: Data label features
  • CircularChartLegend3D: Legend functionality
  • CircularChartTooltip3D: Tooltip features
  • CircularChart3DExport: Export to image formats
  • CircularChart3DPdfExport: PDF export capability

Common Use Cases

Sales Distribution Dashboard

Perfect for displaying market share, sales by category, or revenue distribution across products/regions.

Budget Allocation

Visualize budget breakdown by department, expense categories, or cost centers with clear proportional representation.

Survey Results

Show poll results, customer feedback distribution, or demographic breakdowns with intuitive circular visualization.

Portfolio Composition

Display investment allocation, asset distribution, or resource allocation with interactive charts.

Time Allocation

Represent time spent on activities, project phases, or resource utilization with donut charts.

Troubleshooting Tips

Chart not rendering?

  • Ensure you've installed @syncfusion/ej2-react-charts package
  • Import required CSS theme file
  • Verify data source is properly formatted array
  • Check that required modules are injected (PieSeries3D)

Data labels overlapping?

  • The component automatically arranges labels to prevent overlap
  • Use position: 'Outside' for better spacing
  • Consider reducing font size or using templates

Export not working?

  • Inject CircularChart3DExport or CircularChart3DPdfExport modules
  • Set enableExport: true on the chart component
  • Ensure you're calling the correct method (export or pdfExport)

Colors not displaying correctly?

  • Use pointColorMapping to map colors from data source
  • Specify colors in data objects or use chart palettes
  • Check CSS theme is properly imported

Ready to build? Start with references/getting-started.md for installation and basic setup, then explore specific features as needed.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.62%
按下载量换算78

Claude

29.61%
按下载量换算65

Cursor

19.68%
按下载量换算43

Gemini CLI

10.09%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills