THPDFChartRenderOptions Record
Caps and switches applied while drawing a chart: series, point, and label budgets, accessibility limits, and title, axes, and grid visibility
Declaration
THPDFChartRenderOptions= record
MaxSeries: Integer;
MaxPointsPerSeries: Integer;
MaxTotalPoints: Integer;
MaxLabels: Integer;
AccessiblePointLimit: Integer;
MaxAccessibleTextBytes: Integer;
ShowTitle: boolean;
ShowAxes: boolean;
ShowGrid: boolean;
class function Default: THPDFChartRenderOptions; static;
end;
Unit
HPDFDoc
Fields
| Field | Purpose |
|---|---|
MaxSeries | Maximum number of series drawn; default 64 |
MaxPointsPerSeries | Maximum plotted points per series; default 100000 |
MaxTotalPoints | Maximum plotted points across all series; default 1000000 |
MaxLabels | Maximum data labels drawn; further labels are skipped and THPDFChartRenderStatistics.LabelsTruncated is set; default 512 |
AccessiblePointLimit | Maximum points exposed as individual tagged (accessible) structures; default 64 |
MaxAccessibleTextBytes | Byte budget for accessible alternate text; default 8192 |
ShowTitle / ShowAxes / ShowGrid | Visibility toggles for the chart title, axes, and grid lines; all default to True |
Default | Class function returning the values listed above |
Usage notes
- Start from
THPDFChartRenderOptions.Defaultand tighten budgets for low-memory or untagged output instead of filling the record by hand - Pass it to the
THPDFPage.DrawChartoverload that also returnsTHPDFChartRenderStatisticsto see which caps actually bit - The extended overload accepts a
StructureParentdictionary when the chart must attach to an existing tagged-structure tree