Displays each series as standalone points, with no connecting line or fill.
Set image on a data point to draw it in place of the dot, sized by the config's pointImage box. Points without an image keep their dot.
Set pointFanOut to spread points that would be drawn on top of one another around their shared coordinate, so each stays visible and hoverable; {} takes every default. An anchor dot marks the true value. Whether or not it's on, a hovered point's tooltip context lists the others at its coordinate in coincident - hover a fanned-out point below. The pair at the bottom-left corner shows a ring at the edge of the domain: it's moved back inside the plot so neither point hangs over an axis by more than half its image, with the anchor still on the coordinate. The controls below edit the chart's pointFanOut live; each field is described in the table further down.
When a point stands for the middle of a range, give it a range with an x and / or y{ min, max }, and set pointRange on the config to draw it; {} takes every default. Works the same on the plot, line and area charts. Ranges follow zoom, and a hovered point's range comes forward. The chart draws no numbers for them - the tooltip below reads point.range itself. Some points here have both ranges, some only one and some none.
<pcac-plot-chart [config]="config" (dotClicked)="onClicked($event)"/>
import { PcacPlotChart, PcacTooltipDirective } from '@pioneer-code/pioneer-charts';| Name | Description |
|---|---|
| data | Collection of PcacData objects. |
| height | Height of chart component. Default is 200px. |
| ariaLabel | What the chart shows, for screen readers — e.g. 'Sales by month, 2026'. The chart is announced as a group with this name, and each bar, slice or point inside it by its own key and value (see Accessibility). When omitted, its type is used: 'Bar chart', 'Pie chart', 'Line chart' and so on. |
| heightFull | If true, height is treated as a minimum height and the chart grows to fill its container whenever that container is taller. Default is false.
|
| xAxis / yAxis | Per-axis settings, one PcacAxisConfig for each axis. Every field is optional; omit the whole object for a default axis. See the Axis Styling guide for a live demo.
|
| yAxis.domainMin | Floor of the y-axis domain. Default is 0. |
| yAxis.domainMax | Ceiling of the y-axis domain. Default is 100. |
| yAxis.format | Formats the y-axis tick labels, the hover crosshair's value and the value shown in a point's tooltip.
|
| xAxis.format | Controls both how each point's key is mapped to an x position and how the x-axis tick labels are formatted.
|
| xAxis.domainMin | Start of the x-axis domain. Only used when xAxis.format is Decimal (a number, default 0) or DateTime (anything new Date() accepts; required). Ignored by the index-based formats, which size the axis from the data. |
| xAxis.domainMax | End of the x-axis domain. Same rules as xAxis.domainMin; the Decimal default is 100. |
| enableEffects | If true, hovering the chart shows a vertical crosshair with the interpolated value of every line or area at that x position. Default is true when the config is created with new; an object literal (or JSON) that omits it gets no effects. |
| enableZoomX | If true, the chart can be zoomed along the x-axis with the mouse wheel (1x to 10x) and panned by dragging, staying within the original domain; lines, areas, points, the x-axis and its grid all follow. Default is false. |
| enableZoomY | The same along the y-axis: zoom (1x to 10x) and pan within the y domain, with the y-axis and its grid following. Independent of enableZoomX — set either or both. With only one on, the other axis just stays put during a gesture. Default is false. A zoom survives the chart redrawing — a new config, a series toggled in a legend, a resize — and is dropped when zoom is turned off or the zoomable axes change. |
| colorOverride | Array of hex color codes, one per series in order, used instead of the theme palette for that series' line/area and dots. Series beyond the array's length get no color, so supply one entry per series when using it. Omitted or empty, the theme palette is used. |
| pointImage | Bounding box for point images: { maxWidth: number, maxHeight: number }, both defaulting to 16. A data point with an image (a URL or data URI) is drawn as that image instead of a dot, scaled to fit inside this box with its aspect ratio preserved and centered on the point. It gets the same tooltip and (dotClicked) behavior as a dot (only the hover enlarge effect is dot-only). |
| pointRange | Draw each point's range (on the innermost data: range: { x?: { min, max }, y?: { min, max } }, where x is read like the point's key for the x axis' format — a number, a date, or an index for the index-based formats; a min above its max is read the other way round, and one equal to it as no range on that axis). Plot, line and area charts. Off when omitted; {} turns it on with the defaults below. Ranges sit above the lines and areas and below the points, on the point's true coordinate (a fanned-out point's range stays on its anchor), clipped to the plot and following zoom. Nothing is labeled; a custom tooltip gets the point, range included. There's a live demo of every option, on all three chart types, on the Plot Chart page.
|
| pointFanOut | Plot chart only. Spread points that share a coordinate (same x position and value) around it instead of drawing them on top of one another, where only the last series' point shows and only it can be hovered. Off when omitted; {} turns it on with the defaults below. Each group is placed evenly around a ring on the shared coordinate — a pair straight up and down, larger groups clockwise from the top, in series order. A ring at the edge of the domain is shifted back inside the plot area so that no member hangs over an axis by more than half its image (or dot), the same as a lone point there; the anchor stays on the true coordinate and its spokes reach the moved members. Zoom moves a fanned-out group as one. Every point keeps its true key / value in the tooltip, whose context also lists the others at the coordinate in coincident (see Custom Tooltip).
|
| Binding | Description | Payload |
|---|---|---|
| (dotClicked)="onClicked($event)" | Emitted when a point (its dot, or its image) is clicked. | PcacData |