Skip to content

Kitto.Web.Handler.Chart

Attribute-routed handler for chart data requests. Returns JSON with labels, data arrays, and grid HTML for Chart.js panels.

TKXChartHandler class

Serves the chart-data endpoint for a data view configured with a Chart controller.

pascal
procedure HandleChartData( [TKXPathParam('ViewName')] const AViewName: string;

Loads the view's records and returns JSON with the label and data arrays (read from the configured Chart series fields) plus the grid HTML for the panel sidebar.

Released under Apache License, Version 2.0.