Skip to content

ChartGalleryCard

ClassChartGuruChartGuru.Editor
public class ChartGalleryCard

Represents a gallery card entry. Extended to support feature demonstrations in addition to standard chart types.

public int Id { get; }

Unique identifier for this gallery entry.

Returns

System.Int32 — No return description is available.

public ChartType ChartType { get; }

The underlying chart type (may be shared across feature demos).

Returns

ChartGuru.ChartType — No return description is available.

public string Title { get; }

Display title for the gallery card.

Returns

System.String — No return description is available.

public string Description { get; }

Description of the chart or feature.

Returns

System.String — No return description is available.

public ChartCategory Category { get; }

Category for filtering.

Returns

ChartGuru.ChartCategory — No return description is available.

public bool IsCompact { get; }

Whether this is a compact/inline chart type.

Returns

System.Boolean — No return description is available.

public GalleryEntryType EntryType { get; }

Type of gallery entry - standard chart or feature demo.

Returns

ChartGuru.GalleryEntryType — No return description is available.

public string FeatureId { get; }

Feature identifier for feature demos (e.g., “SineWave”, “StepChart”).

Returns

System.String — No return description is available.

ChartGalleryCard(ChartType, string, string, ChartCategory, bool)

Section titled “ChartGalleryCard(ChartType, string, string, ChartCategory, bool)”
public ChartGalleryCard(ChartType type, string title, string description, ChartCategory category, bool isCompact = false)

Creates a standard chart type gallery card.

Parameters

Name Type Description
type ChartGuru.ChartType
title System.String
description System.String
category ChartGuru.ChartCategory
isCompact System.Boolean

ChartGalleryCard(string, ChartType, string, string, ChartCategory, bool)

Section titled “ChartGalleryCard(string, ChartType, string, string, ChartCategory, bool)”
public ChartGalleryCard(string featureId, ChartType baseType, string title, string description, ChartCategory category, bool isCompact = false)

Creates a feature demonstration gallery card.

Parameters

Name Type Description
featureId System.String
baseType ChartGuru.ChartType
title System.String
description System.String
category ChartGuru.ChartCategory
isCompact System.Boolean