Skip to content

Kitto.Html.ChartPanel ​

KittoX ChartPanel controller renders a Chart.js chart with optional grid sidebar for data display. Replaces TKExtChartPanel from Kitto.Ext.ChartPanel. Supports bar, line, pie, and doughnut chart types mapped from ExtJS YAML config.

TKChartSeriesStyleConfig class ​

Style options for a chart series. YAML path: Chart/Series/SeriesItem/Style

TKChartSeriesConfig class ​

Chart series item configuration. YAML path: Chart/Series/SeriesItem

TKChartAxisConfig class ​

Chart axis configuration (X or Y). YAML path: Chart/Axes/X or Chart/Axes/Y

TKChartLegendConfig class ​

Chart legend configuration. YAML path: Chart/Legend

Chart:
Legend:
Docked: top

TKChartConfig class ​

Root chart configuration. YAML path: Chart

TKXChartPanelController class ​

pascal
class function JSONStr(const AValue: string): string;

Escapes a string value for JSON output (adds surrounding double quotes).

pascal
class function BuildGridRows(AStore: TKViewTableStore;

Builds grid table rows (tbody content) for the sidebar. Public class function so it can be reused by the chart-data endpoint.

Released under Apache License, Version 2.0.