ChartMarkOptions
ChartForgeX.Core
Immutable navigation, accessibility and host hooks for an authored mark, series or row.
Inheritance
- object
- ChartMarkOptions
Remarks
Class tokens and complete data-* names are validated and retained verbatim. Data-cfx-* is reserved. A series link is the default for its marks; an item's non-null options replace that default.
Usage
Explore 27 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 13
- Property ChartCalendarHeatmapItem.MarkOptions
- Property ChartDumbbell.MarkOptions
- Property ChartGanttItem.MarkOptions
- Property ChartGanttLaneItem.MarkOptions
- Property ChartHeatmapCell.MarkOptions
- Property ChartHeatmapRow.MarkOptions
- Property ChartInterval.MarkOptions
- Property ChartRangeBand.MarkOptions
- Property ChartSeries.MarkOptions
- Property ChartSeries.RowOptions
- Property ChartStateTimelineSegment.MarkOptions
- Property SparklineData.PointOptions
- Property ChartPoint.MarkOptions
Accepted by parameters 14
- Method ChartCalendarHeatmapItem.WithMarkOptions
- Method ChartDumbbell.WithMarkOptions
- Method ChartGanttItem.WithMarkOptions
- Method ChartGanttLaneItem.WithMarkOptions
- Method ChartHeatmapCell.WithMarkOptions
- Method ChartHeatmapRow.WithMarkOptions
- Method ChartInterval.WithMarkOptions
- Method ChartRangeBand.WithMarkOptions
- Method ChartSeries.WithMarkOptions
- Method ChartSeries.WithRowOptions
- Method ChartStateTimelineSegment.WithMarkOptions
- Constructor SparklineData.SparklineData
- Method SparklineData.WithPointOptions
- Method ChartPoint.WithMarkOptions
Constructors
public ChartMarkOptions(string? href = null, VisualSvgLinkTarget linkTarget = SameContext, string? tooltip = null, string? accessibleLabel = null, string? cssClass = null, IReadOnlyDictionary<string, string>? dataAttributes = null, bool current = false, bool selected = false, IEnumerable<string>? keys = null, IReadOnlyDictionary<string, object>? fields = null) #Creates detached mark metadata. Relative, fragment, HTTP, HTTPS and mailto links are accepted.
Parameters
- href string? = null
- Optional navigation address.
- linkTarget ChartForgeX.Rendering.VisualSvgLinkTarget = SameContext
- Per-link browsing context, overriding the export policy.
- tooltip string? = null
- Plain text emitted in an SVG title.
- accessibleLabel string? = null
- Explicit accessible name; otherwise a chart-generated name is used.
- cssClass string? = null
- Space-separated CSS identifier tokens, retained without rewriting.
- dataAttributes System.Collections.Generic.IReadOnlyDictionary<string, string>? = null
- Complete lowercase data-* attribute names and plain text values.
- current bool = false
- Whether this is the current item, shown with its current-state treatment.
- selected bool = false
- Whether this is the page's selected item, shown with a solid outline and aria-current. This static state does not turn navigation links into selection widgets.
- keys System.Collections.Generic.IEnumerable<string>? = null
- Record keys this mark represents, for linked views (for example grid row ids). Emitted as data-cfx-keys.
- fields System.Collections.Generic.IReadOnlyDictionary<string, object>? = null
- Field values that define this mark (for example day and kind), emitted as data-cfx-fields. Values are strings, booleans, finite numbers, UTC or local DateTime values, or DateTimeOffset values; dates become ISO 8601 instants. A series' fields are the base for its items' fields.
Inherited Methods
Properties
public IReadOnlyList<string> Keys { get; } #Gets the detached record keys this mark represents, in authored order without duplicates.
public IReadOnlyDictionary<string, object> Fields { get; } #Gets the detached, ordinally sorted field values; dates are normalized to ISO 8601 UTC strings.
public VisualSvgLinkTarget LinkTarget { get; } #Gets this link's browsing context.
public string? AccessibleLabel { get; } #Gets the optional explicit accessible name.
public string? CssClass { get; } #Gets validated caller class tokens without rewriting.
public IReadOnlyDictionary<string, string> DataAttributes { get; } #Gets a detached, ordinally sorted, read-only set of complete host data-* attributes.
public bool Selected { get; } #Gets whether this is the page's selected item. Emits aria-current and a data-cfx-selected hook.