Troubleshooting
Problem | Check |
|---|---|
Chart is blank | Confirm the GameObject has ChartGraphic or another host, has a valid size, and has marks from code or a data source. |
No data appears from a source | Confirm the data source targets the correct chart, then click Generate or Refresh. For file/web sources, inspect ChartDataMapping. |
Axes look wrong | Check chart type, bar orientation, domain, scale type, category labels, and whether the chart type hides axes by design. |
Legend is missing | A legend needs series or foreground style keys. Use semantic ForegroundStyle values or set LegendPosition to a visible value. |
Labels overlap | Reduce visible labels, rotate axis labels, shorten category names, use a wider chart, or use label collision settings. |
Live chart allocates or stutters | Prefer SetValues or RingBufferChartDataSource, reduce label count, disable overlapping animations, and avoid recreating chart objects every frame. |
UI Toolkit chart does not update | Confirm ChartGuruElement is bound to the intended data source or binder, and that the data source raises DataChanged after refreshing. |