ChartRegistration class

Describes one registered chart type.

Constructors

ChartRegistration({required ChartType type, required String typeString, required BaseChartConfig fromJson(Map<String, dynamic> json), List<String> aliases = const [], String description = '', List<String> tags = const []})
const

Properties

aliases List<String>
Optional aliases (e.g. ['vertical_bar', 'column'] for ChartType.bar).
final
description String
Human-readable description (used for tooling / documentation).
final
fromJson BaseChartConfig Function(Map<String, dynamic> json)
Factory that deserialises a BaseChartConfig from JSON.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>
Feature tags for discovery (e.g. ['statistical', 'timeseries']).
final
type ChartType
The canonical ChartType enum value.
final
typeString String
Primary string key (matches chartTypeToString).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited