ChartCapabilities class

Capability metadata for a chart type.

This is intentionally derived from registration + data-shape groupings so runtime switching, validation tooling, and showcase controls do not need their own independent chart-family switch statements.

Constructors

ChartCapabilities({required ChartType type, required String typeString, required ChartSeriesDataShape dataShape, required bool isRegistered, required bool supportsSampling, required bool supportsZoom, required bool supportsDrilldown, required bool supportsLegend, required bool supportsTooltip, required bool supportsRuntimeSwitching, ChartApiContract apiContract = ChartApiContracts.optionConfig, String description = '', List<String> aliases = const [], List<String> tags = const []})
const

Properties

aliases List<String>
final
apiContract ChartApiContract
final
dataShape ChartSeriesDataShape
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
isRegistered bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsDrilldown bool
final
supportsLegend bool
final
supportsRuntimeSwitching bool
final
supportsSampling bool
final
supportsTooltip bool
final
supportsZoom bool
final
tags List<String>
final
type ChartType
final
typeString String
final

Methods

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

Operators

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