Skip to content

Performance Guidance

  • For a code-built Chart, prefer SetValues when only Y values change and mark count stays fixed. For definition charts, use SetData(frame, shapeChanged: false) only with unchanged columns, row count and categories; a custom ChartDataSource can overwrite its owned frame and publish once.
Large Datasets sample plotting a year of quarter-hour tides above a three-day view of the same series.
The Large Datasets sample shows the value of keeping a dense overview separate from a short inspection window.
  • Hide dense data labels on large charts. Text is pooled, but thousands of visible labels are still harder to read and render.
  • Use compact charts for small dashboard signals instead of full axes and legends.
  • Use RingBufferChartDataSource for frequent live samples instead of rebuilding a chart every event.
  • Keep RenderTexture size close to the displayed chart size. Oversized charts cost memory and fill rate.
  • Let LOD and decimation handle very dense line or candlestick data where possible.
  • Reuse ChartGraphic and Chart instances when updating dashboards instead of destroying and recreating UI objects.