Syncfusion Maui Toolkit Spark Chartsのロゴ

Syncfusion Maui Toolkit Spark Charts

組織
syncfusion
syncfusion-maui-toolkit-spark-charts

Use this skill ALWAYS when the user needs to implement Syncfusion MAUI Spark Charts. Triggers on spark chart, sparkline, micro-chart, trend visualization, data visualization in small spaces, chart types (line, area, column, win/loss), markers, range bands, axis configuration, data point styling. Also use immediately for chart customization, performance optimization, marker configuration, data binding patterns, accessibility needs.

概要

公開者syncfusion
リポジトリmaui-toolkit-ui-components-skills
スキル名syncfusion-maui-toolkit-spark-charts
スター
39
フォーク
2
同梱ファイル
6
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 6個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    syncfusionがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Syncfusion Maui Toolkit Spark Charts」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/syncfusion/maui-toolkit-ui-components-skills/tree/master/skills/syncfusion-maui-toolkit-spark-charts
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/syncfusion/maui-toolkit-ui-components-skills.git /tmp/maui-toolkit-ui-components-skills
mkdir -p .claude/skills
cp -r /tmp/maui-toolkit-ui-components-skills/skills/syncfusion-maui-toolkit-spark-charts .claude/skills/syncfusion-maui-toolkit-spark-charts
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSyncfusion Maui Toolkit Spark Chartsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にSyncfusion Maui Toolkit Spark Chartsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Syncfusion Maui Toolkit Spark Chartsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Implementing Syncfusion .NET MAUI Spark Charts

When to Use This Skill

Use this skill when implementing the SfSparkChart control in .NET MAUI applications. Spark Charts are lightweight, micro-visualization controls ideal for displaying data trends in compact spaces like dashboards, grids, and reports.

Key Scenarios:

  • Displaying quick data trends without consuming significant UI space
  • Visualizing sales trends, stock performance, or time-series data
  • Showing positive/negative values in Win/Loss scenarios
  • Creating dashboard components with multiple micro-charts
  • Highlighting specific data points (first, last, high, low, negative values)

Component Overview

The SfSparkChart is a compact charting control with four built-in chart types:

Chart TypeUse CaseBest For
SparkLineChartLine-based visualizationIdentifying trends and patterns
SparkAreaChartFilled area visualizationEmphasizing magnitude of change
SparkColumnChartVertical bar visualizationComparing different data values
SparkWinLossChartWin/Loss representationShowing positive/negative scenarios

Core Features:

  • Data binding to ObservableCollection, List, or IEnumerable
  • Four chart types for different visualization needs
  • Marker display and customization (Line/Area charts only)
  • Data point styling (first, last, high, low, negative)
  • Axis display and origin customization
  • Range band highlighting for value regions
  • Lightweight and performance-optimized for micro-visualizations

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation and NuGet package setup
  • Project configuration (MauiProgram.cs handler registration)
  • Basic SparkLineChart implementation
  • Namespace imports and first render
  • Data binding setup
  • Copy-paste-ready starter code

Chart Types

📄 Read: references/chart-types.md

  • Choosing the right chart type for your data
  • SparkLineChart: Line-based trend visualization
  • SparkAreaChart: Filled area representation
  • SparkColumnChart: Vertical bar comparison
  • SparkWinLossChart: Win/Loss scenarios
  • When to use each type with code examples
  • Common type selection patterns

Markers and Labels

📄 Read: references/markers-and-labels.md

  • Enabling markers on Line and Area charts
  • Marker shape types and customization
  • Marker styling properties (Fill, Stroke, StrokeWidth, Height, Width)
  • Marker positioning and visibility
  • Common marker patterns (highlighting endpoints, data points)
  • Performance considerations for marker display

Styling and Appearance

📄 Read: references/styling-and-appearance.md

  • Data point styling and color customization
  • First, last, high, and low point highlighting
  • Negative value styling for Column and WinLoss charts
  • Brush and color properties
  • Padding and spacing configuration
  • Size customization and layout control
  • Advanced styling examples

Data Binding

📄 Read: references/data-binding.md

  • Binding to ObservableCollection for reactive updates
  • Binding to List for static data
  • Binding to IEnumerable for LINQ queries
  • XBindingPath and YBindingPath configuration
  • Dynamic data source updates
  • Common binding patterns and best practices

Axis and Ranges

📄 Read: references/axis-and-ranges.md

  • Enabling axis display (ShowAxis property)
  • Axis origin configuration for baseline reference
  • Axis types (Numeric, Category, DateTime)
  • XBindingPath property for category/time-based axes
  • Range band visualization (RangeBandStart, RangeBandEnd, RangeBandFill)
  • Axis line styling and customization
  • Highlighting value regions and thresholds

Quick Start Example

csharp
// Step 1: Configure handler in MauiProgram.cs
using Syncfusion.Maui.Toolkit.Hosting;

public static class MauiProgram
{
    public static MauiApp CreateMauiApp()
    {
        var builder = MauiApp.CreateBuilder();
        builder
            .UseMauiApp<App>()
            .ConfigureSyncfusionToolkit()
            .ConfigureFonts(fonts =>
            {
                fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
            });
        return builder.Build();
    }
}

// Step 2: Create basic SparkLineChart in XAML
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:sparkchart="clr-namespace:Syncfusion.Maui.Toolkit.SparkCharts;assembly=Syncfusion.Maui.Toolkit"
             x:Class="SparkChartDemo.MainPage">

    <sparkchart:SfSparkLineChart 
        ItemsSource="{Binding Data}" 
        YBindingPath="Value"
        ShowMarkers="True"
        HeightRequest="100"
        WidthRequest="150">
    </sparkchart:SfSparkLineChart>

</ContentPage>

// Step 3: Bind data from ViewModel
public class SparkDataViewModel
{
    public ObservableCollection<DataPoint> Data { get; set; }
    
    public SparkDataViewModel()
    {
        Data = new ObservableCollection<DataPoint>
        {
            new DataPoint { Value = 10 },
            new DataPoint { Value = 15 },
            new DataPoint { Value = 12 },
            new DataPoint { Value = 20 },
            new DataPoint { Value = 18 }
        };
    }
}

public class DataPoint
{
    public double Value { get; set; }
}

Common Patterns

Pattern 1: Dashboard Summary Card

csharp
// Show quick sales trend in a card
<sparkchart:SfSparkLineChart 
    ItemsSource="{Binding MonthlySales}" 
    YBindingPath="Amount"
    ShowMarkers="False"
    FirstPointFill="Blue"
    LastPointFill="Red">
</sparkchart:SfSparkLineChart>

Pattern 2: Performance Indicator with Threshold

csharp
// Highlight data within acceptable range using RangeBand
<sparkchart:SfSparkLineChart 
    ItemsSource="{Binding PerformanceMetrics}" 
    YBindingPath="Value"
    ShowAxis="True"
    RangeBandStart="50"
    RangeBandEnd="100"
    RangeBandFill="LightGreen">
</sparkchart:SfSparkLineChart>

Pattern 3: Win/Loss Visualization

csharp
// Show positive and negative outcomes
<sparkchart:SfSparkWinLossChart 
    ItemsSource="{Binding GameResults}" 
    YBindingPath="Result"
    NegativePointsFill="Red">
</sparkchart:SfSparkWinLossChart>

Pattern 4: Styled Data Points

csharp
// Emphasize critical data points
<sparkchart:SfSparkColumnChart 
    ItemsSource="{Binding MonthlyRevenue}" 
    YBindingPath="Revenue"
    FirstPointFill="Green"
    LastPointFill="Blue"
    HighPointFill="Gold"
    LowPointFill="Red"
    NegativePointsFill="DarkRed">
</sparkchart:SfSparkColumnChart>

Key Props Reference

Core Properties

PropertyTypeDefaultPurpose
ItemsSourceIEnumerable-Data source for chart
YBindingPathstring-Property name for Y-axis values
XBindingPathstring-Property name for X-axis values
Heightdouble-Chart height in pixels
Widthdouble-Chart width in pixels

Display Properties

PropertyTypeDefaultPurpose
ShowMarkersboolfalseDisplay markers (Line/Area only)
ShowAxisboolfalseDisplay axis baseline
PaddingThickness0Space around chart content
AxisOrigindouble-Y-axis value for axis line position

Styling Properties

PropertyTypeDefaultPurpose
FirstPointFillBrush-Color of first data point
LastPointFillBrush-Color of last data point
HighPointFillBrush-Color of highest data point
LowPointFillBrush-Color of lowest data point
NegativePointsFillBrush-Color of negative values (Column/WinLoss)

Range Band Properties

PropertyTypeDefaultPurpose
RangeBandStartdouble-Y-axis start value for range band
RangeBandEnddouble-Y-axis end value for range band
RangeBandFillBrush-Color for range band region

Axis Properties

PropertyTypeDefaultPurpose
AxisTypeSparkChartAxisTypeNumericAxis scale type (Numeric, Category, DateTime)
AxisLineStyleSparkChartLineStyle-Axis appearance (Stroke, StrokeWidth, StrokeDashArray)

Marker Properties (Line/Area Only)

PropertyTypeDefaultPurpose
MarkerSettingsSparkChartMarkerSettings-Marker customization configuration

Common Challenges & Solutions

Issue: Chart appears empty

Causes: Missing ItemsSource binding, incorrect YBindingPath, data source is null
Solutions:

  1. Verify ItemsSource is properly bound to a populated collection
  2. Confirm YBindingPath matches your data property name exactly
  3. Check that data property is public and contains numeric values

Issue: Markers not showing

Note: Markers only work on Line and Area charts
Solutions:

  1. Verify you're using SfSparkLineChart or SfSparkAreaChart
  2. Set ShowMarkers="True" in XAML or code
  3. Check MarkerSettings are not hiding markers (verify Height/Width > 0)

Issue: Range band not visible

Solutions:

  1. Verify RangeBandStart < RangeBandEnd
  2. Ensure range values are within your data's Y-axis range
  3. Check RangeBandFill is not transparent

Issue: Poor performance with large datasets

Solutions:

  1. Consider displaying only recent data points
  2. Use aggregated data instead of raw values
  3. Avoid excessive marker styling on large datasets
  4. Disable ShowMarkers for performance-critical scenarios

Next Steps

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Syncfusion Maui Toolkit Spark Charts」では何ができますか?

Use this skill ALWAYS when the user needs to implement Syncfusion MAUI Spark Charts. Triggers on spark chart, sparkline, micro-chart, trend visualization, data visualization in small spaces, chart types (line, area, column, win/loss), markers, range bands, axis configuration, data point styling. Also use immediately for chart customization, performance optimization, marker configuration, data binding patterns, accessibility needs.

TypingMindでSyncfusion Maui Toolkit Spark Chartsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Syncfusion Maui Toolkit Spark Chartsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSyncfusion Maui Toolkit Spark Chartsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/syncfusion/maui-toolkit-ui-components-skills/tree/master/skills/syncfusion-maui-toolkit-spark-chartsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Syncfusion Maui Toolkit Spark Chartsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Syncfusion Maui Toolkit Spark Chartsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSyncfusion Maui Toolkit Spark Chartsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Syncfusion Maui Toolkit Spark Charts」は無料ですか?

syncfusionがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇