Skip to content

Chart3DIntegration

ClassChartGuruChartGuru
public static class Chart3DIntegration

Static IoC bridge that lets the optional ChartGuru.3D add-on register a handler capable of converting 2D ChartGuru.ChartDataEntry / ChartGuru.ChartDataSeries definitions into 3D marks on an ChartGuru.IChart3DHost target.

If ChartGuru.3D isn’t present in the project, ChartGuru.Chart3DIntegration.ApplyHandler stays null and 3D-target paths on the 2D data sources gracefully become no-ops — the 2D path keeps working unchanged.

public static Chart3DIntegration.Apply3DDelegate ApplyHandler

Registered by the ThreeD add-on’s bootstrapper (runtime + InitializeOnLoad). Remains null when the add-on is absent.

Returns

ChartGuru.Chart3DIntegration.Apply3DDelegate

Invoke(IChart3DHost, DataMode, string, Color, List, List, Chart3DApplyOptions)

Section titled “Invoke(IChart3DHost, DataMode, string, Color, List, List, Chart3DApplyOptions)”
public static void Invoke(IChart3DHost host, DataMode dataMode, string seriesName, Color primaryColor, List<ChartDataEntry> dataPoints, List<ChartDataSeries> dataSeries, Chart3DApplyOptions options)

Safe dispatch — no-op when no handler is registered.

Parameters

Name Type
host ChartGuru.IChart3DHost
dataMode ChartGuru.DataMode
seriesName System.String
primaryColor UnityEngine.Color
dataPoints System.Collections.Generic.List{ChartGuru.ChartDataEntry}
dataSeries System.Collections.Generic.List{ChartGuru.ChartDataSeries}
options ChartGuru.Chart3DApplyOptions

public static bool IsAvailable { get; }

Whether the ThreeD add-on has registered its bridge.

Returns

System.Boolean