Output Registered only
A pivot chart users change from the chart
A chart of a pivot should move with the pivot. TsgcPivotChartTable turns the pivot result into a chart table with one group per measure and the grand totals on request, and TsgcChartTableLink of sgcCharts plots it. A field list with Layout = pvlBar sits above the chart as field buttons for Filters, Columns (the legend), Rows (the axis) and Values. Users drag a button to move a field, filter its members with the funnel, and expand, collapse or remove a field from its menu. Every change goes to the pivot engine, so the grid and the chart always show the same layout.
The chart designer is the runtime chart editor of sgcCharts with a Data page for the link: the chart type, series by columns or rows, top N, the pie series, data labels, the grand total row and column, and the series type and axis of each measure of a combo chart. The titles, the legend, the axes, the colours and the theme stay on the other pages. The chart settings are saved in the pivot layout JSON, in the same format in Delphi and .NET, so a layout saved by one loads in the other.
- Clustered, stacked and 100% stacked column, line, area, pie, donut and combo with a secondary axis
- Field buttons that move, filter, expand, collapse and remove fields, also from the keyboard
sgcVCLShowChartDesigner and sgcFMXShowChartDesigner in Delphi, ShowDesigner in WinForms and WPF, ShowDesignerAsync in Avalonia
- The
charts member of the pivot layout keeps the totals, the chart type, the series, top N, the titles, the legend and the colours
- Export with
SaveToPNG, SaveToSVG, ExportToPDF and Print of the chart view, or without a window through TsgcChartRenderer
The pivot chart needs Registered editions of sgcPivotGrid and sgcCharts. The two products do not require each other: they meet through two interfaces of sgcUICore. The chart link with bar, stacked bar, line and area stays in every edition.
Read the help topic