Token导航 LogoToken导航TokenDH.com
运维和基础设施只读github未标认证来源可访问许可证需确认审计通过

syncfusion-winforms-sparkline同步融合 winforms 迷你图

Agent Skill

syncfusion-winforms-sparkline 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

724

周安装

29

GitHub Stars

1

下载量

234
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-sparkline

简介

Syncfusion WinForms 迷你图控件,在有限空间内嵌入微型折线图、柱状图或盈亏图。

  • 适用于仪表板、KPI 卡片、数据摘要等强调趋势而非精确值的场景。
  • 支持多种样式、颜色主题、数据点标记及异常值突出显示。
  • 需确保项目中已添加 Syncfusion Chart 基础库,并注意字体缩放对图形清晰度的影响。
  • 在密集布局中应合理控制数量,避免因过多图形导致界面拥挤难以辨识。

SKILL.md

Implementing Syncfusion Windows Forms Sparkline

The Windows Forms Sparkline control provides compact, high-density data visualization for displaying trends and variations in a condensed graphical format. Sparklines present data without axis scales, offering quick overviews of data patterns over time with minimal space requirements.

When to Use This Skill

Use this skill when you need to:

  • Create compact trend visualizations within Windows Forms applications
  • Display high-density data in small spaces (table cells, dashboards, reports)
  • Show data patterns without detailed axis scales
  • Implement line, column, or win/loss sparkline charts
  • Highlight specific data points (high, low, start, end, negative values)
  • Add visual markers to emphasize important data points
  • Bind sparklines to various data sources (DataTable, IEnumerable, ICollection, IList)
  • Customize sparkline appearance and styling
  • Provide quick data range comparisons
  • Build lightweight graphical representations for trends and variations

Component Overview

Syncfusion Windows Forms Sparkline is an information graphic control characterized by:

  • Small size: Minimal footprint for compact displays
  • High data density: Maximum information in minimal space
  • Lightweight rendering: Fast performance with efficient graphics
  • Three chart types: Line, Column, and WinLoss
  • Marker support: Visual indicators for key data points
  • Flexible data binding: Multiple data source types supported

Key Capabilities:

  • Three sparkline types (Line, Column, WinLoss)
  • Data point markers with customizable colors
  • High/Low/Start/End/Negative point highlighting
  • Custom styling for lines and columns
  • Background customization
  • Data source binding from multiple formats
  • Designer integration with Visual Studio toolbox

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Assembly deployment and NuGet package installation
  • Adding Sparkline control to Windows Forms via designer
  • Toolbox integration
  • Basic data source binding
  • First sparkline implementation
  • Adding markers to sparklines
  • Highlighting high and low values

Sparkline Types

📄 Read: references/sparkline-types.md

  • Overview of three sparkline types
  • Line sparkline: connected data points
  • Column sparkline: vertical bars with positive/negative representation
  • WinLoss sparkline: equal-length columns for win/loss patterns
  • Data source support (DataTable, IEnumerable, ICollection, IList)
  • Type selection guidance based on use case

Marker Customization

📄 Read: references/marker-customization.md

  • Marker properties and configuration
  • ShowMarker, ShowHighPoint, ShowLowPoint, ShowStartPoint, ShowEndPoint, ShowNegativePoint
  • Marker colors for each point type
  • Line sparkline markers (all data points)
  • Column sparkline markers (high/low/start/end/negative)
  • WinLoss sparkline markers
  • Gradient support with BrushInfo
  • Complete marker customization examples

Appearance Customization

📄 Read: references/appearance-customization.md

  • LineStyle customization (color, appearance)
  • ColumnStyle customization (color, style)
  • BackInterior property (background color)
  • Complete styling examples

Quick Start Example

using Syncfusion.Windows.Forms.Chart;

// Create sparkline instance
SparkLine sparkLine1 = new SparkLine();

// Set data source
sparkLine1.Source = new double[] { 30, -20, 80, 20, 40, -50, -30, 70, -40, 50 };

// Set sparkline type (Line, Column, or WinLoss)
sparkLine1.Type = SparkLineType.Line;

// Enable markers for high and low points
sparkLine1.Markers.ShowHighPoint = true;
sparkLine1.Markers.ShowLowPoint = true;
sparkLine1.Markers.HighPointColor = new BrushInfo(Color.Blue);
sparkLine1.Markers.LowPointColor = new BrushInfo(Color.Red);

// Customize line appearance
sparkLine1.LineStyle.LineColor = Color.Maroon;

// Add to form
this.Controls.Add(sparkLine1);

Common Patterns

Pattern 1: Dashboard Trend Indicators

// Small sparklines for dashboard KPI trends
SparkLine salesTrend = new SparkLine();
salesTrend.Source = salesData; // double[] or DataTable
salesTrend.Type = SparkLineType.Line;
salesTrend.Markers.ShowEndPoint = true;
salesTrend.Markers.EndPointColor = new BrushInfo(Color.Green);
salesTrend.Size = new Size(100, 30); // Compact size

Pattern 2: Win/Loss Visualization

// WinLoss sparkline for binary outcomes
SparkLine winLoss = new SparkLine();
winLoss.Source = new double[] { 1, -1, 1, 1, -1, 1, -1, -1, 1, 1 };
winLoss.Type = SparkLineType.WinLoss;
winLoss.Markers.ShowNegativePoint = true;
winLoss.Markers.NegativePointColor = new BrushInfo(Color.Red);

Pattern 3: Column Sparkline with Highlights

// Column sparkline with high/low highlighting
SparkLine columnChart = new SparkLine();
columnChart.Source = monthlyData;
columnChart.Type = SparkLineType.Column;
columnChart.Markers.ShowHighPoint = true;
columnChart.Markers.ShowLowPoint = true;
columnChart.Markers.ShowStartPoint = true;
columnChart.Markers.ShowEndPoint = true;
columnChart.Markers.HighPointColor = new BrushInfo(Color.Green);
columnChart.Markers.LowPointColor = new BrushInfo(Color.Red);

Pattern 4: Line Sparkline with All Markers

// Line sparkline showing all data point markers
SparkLine lineWithMarkers = new SparkLine();
lineWithMarkers.Source = dataPoints;
lineWithMarkers.Type = SparkLineType.Line;
lineWithMarkers.Markers.ShowMarker = true; // Show all points
lineWithMarkers.Markers.MarkerColor = new BrushInfo(Color.DarkBlue);
lineWithMarkers.LineStyle.LineColor = Color.Blue;

Key Properties and Methods

Essential Properties

Type (SparkLineType)

  • Specifies sparkline type: Line, Column, or WinLoss
  • Default: Line
  • Use: Determines visual representation style

Source (object)

  • Gets or sets data source for sparkline data points
  • Supports: double[], DataTable, IEnumerable, ICollection, IList
  • Use: Binds data to sparkline visualization

Markers (Markers)

  • Enables marker support for sparklines
  • Properties: ShowMarker, ShowHighPoint, ShowLowPoint, ShowStartPoint, ShowEndPoint, ShowNegativePoint
  • Color properties: MarkerColor, HighPointColor, LowPointColor, StartPointColor, EndPointColor, NegativePointColor
  • Use: Highlights specific data points visually

LineStyle (LineStyle)

  • Customizes line sparkline appearance
  • Properties include: LineColor
  • Use: Controls visual styling for line-type sparklines

ColumnStyle (ColumnStyle)

  • Customizes column and WinLoss sparkline appearance
  • Use: Controls visual styling for column-type sparklines

BackInterior (BrushInfo)

  • Customizes background color of control
  • Default: White
  • Use: Sets sparkline background appearance

Key Methods

GetHighPoint() - Retrieves highest point value from sparkline

GetLowPoint() - Retrieves lowest point value from sparkline

GetStartPoint() - Retrieves start point value from sparkline

GetEndPoint() - Retrieves end point value from sparkline

Common Use Cases

Use Case 1: Embedded Table Trends

Place sparklines in DataGridView cells to show trends alongside tabular data without expanding table width.

Use Case 2: Dashboard KPIs

Display multiple compact sparklines on dashboards to show key performance indicator trends at a glance.

Use Case 3: Financial Data Visualization

Use line sparklines to show stock price movements, column sparklines for volume data, and win/loss for gain/loss patterns.

Use Case 4: Performance Metrics

Show server performance, response times, or system metrics over time in minimal space.

Use Case 5: Comparison Widgets

Create side-by-side sparkline comparisons for A/B testing results, campaign performance, or metric comparisons.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.88%
按下载量换算86

Claude

28.8%
按下载量换算67

Cursor

16.5%
按下载量换算39

Gemini CLI

9.69%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills