New to KendoReactStart a free 30-day trial

Add Classification Banners to Charts and Exported Images

Updated on Feb 27, 2026

Environment

Product Version14.2.0
ProductProgress® KendoReact Chart

Description

I need to add classification banners (such as "UNCLASSIFIED") to charts, pages, and exported images. The classification labels should appear at the top left and bottom right of the chart, and must be included when exporting the chart to an image.

This KB article also answers the following questions:

  • How do I add classification labels to KendoReact Charts?
  • Can I include custom text in chart image exports?
  • How to add security classification banners to charts?

Solution

To add classification banners to KendoReact Charts that persist in exported images, display the labels using HTML elements in the UI, then use the kendo-drawing API to add them to the exported image. Use exportVisual() to get the chart's drawing visual and calculate positions based on the chart's bounding box (bbox()). Append Text elements for top-left and bottom-right labels, insert a solid background using Path.fromRect(), then export with exportImage() and save using @progress/kendo-file-saver.

The following example demonstrates adding "UNCLASSIFIED" labels that appear both on screen and in the exported image:

Change Theme
Theme
Loading ...

See Also

In this article
EnvironmentDescriptionSolutionSee Also
Not finding the help you need?
Contact Support