Skip to content

ChartAudioGraph

ClassChartGuruChartGuru
[Serializable]
public sealed class ChartAudioGraph

Configuration for chart-level audio graph / sonification export. Swift Charts equivalent: AXChartDescriptorRepresentable conformance and the audioGraph modifier.

This type translates mark data into a sequence of ChartGuru.SonificationNote values that can be played through Unity’s AudioSource system or exported as a description string for external assistive-technology bridges.

public SonificationOptions Options { get; set; }

No description is available for this member.

Returns

ChartGuru.SonificationOptions — No return description is available.

public AudioSource AudioSource { get; set; }

Optional ChartGuru.ChartAudioGraph.AudioSource used for playback. When null the audio graph is available as data only (for export / custom players).

Returns

UnityEngine.AudioSource — No return description is available.

public List<SonificationNote> Sonify(IReadOnlyList<DataPoint> points, Vector2 yDomain)

Converts chart mark data into a sequence of sonification notes. Each data point maps to a note whose pitch is proportional to the normalised Y value within the given domain.

Parameters

Name Type Description
points System.Collections.Generic.IReadOnlyList{ChartGuru.DataPoint}
yDomain UnityEngine.Vector2

Returns

System.Collections.Generic.List{ChartGuru.SonificationNote} — No return description is available.

public string DescribeTrend(IReadOnlyList<DataPoint> points)

Generates a human-readable description of the data trend for assistive technology. Returns a string like “3 data points, trending upward from 10 to 42”.

Parameters

Name Type Description
points System.Collections.Generic.IReadOnlyList{ChartGuru.DataPoint}

Returns

System.String — No return description is available.