Recipes

How to solve a specific problem with Apex components: the decision behind the approach, the code, and what breaks first.

Drill down from a chart into a grid

Click a chart bar and filter a data grid to it: the dataPointSelection payload, mapping an index to a value, and the re-render ordering that breaks first.

  • Charts
  • Grid

Stream live market data into a stock chart

Append ticks to a live candlestick chart without rebuilding it: the forming-bar flag, the rolling window, which indicators stream, and the teardown that leaks.

  • Stock
  • Charts

Put a dashboard's view state in one URL

Put filter, zoom and selection from four products in one shareable link: what belongs in a URL, how to shrink the token, and the restore that picks a wrong row.

  • Charts
  • Grid
  • Gantt
  • Stock

Drill from an org chart into a people grid

Click a manager to fill a grid with their team when the tree loads lazily: what the grid may show, the ids the tree accepts, and a count that is silently wrong.

  • Tree
  • Grid

Register a brand theme across Apex products

Theme registration is per product: ApexCharts, ApexSankey and ApexStock each expose their own registerTheme, and one name passed to all of them half-works.

  • Charts
  • Sankey
  • Stock
  • Grid