Chart Elements Overview
The Angular Charts Components consist of several structural elements that you can configure and customize separately to create rich, interactive data visualizations.
All Chart elements have default styles that depend on the used component theme. You can override these defaults by applying custom configurations through dedicated components and properties.
Chart Structure Elements
The main structural elements define the overall layout and organization of the Chart:
-
Chart Area—The main container that holds all Chart elements including the plot area, series, axes, title, and legend. Configure background color, borders, margins, and overall Chart dimensions through the Chart Area settings.
-
Chart Title—Displays the main title and optional subtitle at the top of the Chart. The title provides context about the data being visualized and supports customizable text, font, alignment, and positioning.
-
Plot Area—The rectangular region where the series data is rendered along with the axes. The plot area contains the actual data visualization, grid lines, and axis elements. You can customize its background, borders, and margins independently from the Chart Area.
-
Panes—Vertical sub-divisions within categorical charts that enable you to split the Chart into multiple sections. Each pane can have its own value axis while sharing a common category axis, which is useful for comparing series with different value ranges.
-
Legend—Displays series names (or category names for Pie, Donut, Funnel, and Pyramid charts) with color indicators. The legend helps users identify different data series and supports interactive features like clicking to toggle series visibility. You can control its position (top, bottom, left, right, or custom), orientation, and visual styling.
Data Visualization Elements
These elements represent and annotate your data:
-
Series—The core data visualizations defined by their type (Line, Area, Bar, Column, Scatter, Pie, and so on). Series transform data points into visual representations like lines, bars, or markers. The Chart supports multiple series types including categorical, scatter, circular, and freeform series.
-
Markers—Visual indicators that represent individual data points in Line, Area, Scatter, Radar, and Polar series. Markers can be customized with different shapes (circle, square, triangle, cross, rect, roundedRect), sizes, colors, borders, and rotation angles. You can also create custom marker shapes using the Drawing API.
-
Labels—Text elements that display data values next to series points or along axes. Series labels show point values with customizable formatting, while axis labels display category names or numeric values. Labels support custom templates, formatting strings, rotation, and styling options.