Identifies the calculation family. Keep the literal value when constructing the data object.
Usage example
import type { ChartData } from '@neural-charts/angular';
export const dataHeader = {
type: 'parallel',
} satisfies Pick<ChartData, 'type'>;Compare records across dimensions with independent domains and units.
@neural-charts/angularparallelContainer width
The chart fits its available space automatically. Choose a width to simulate a different container.
Reverse only acceleration and consumption, preserving original values.
| Series | id | axisId | value | Visible |
|---|---|---|---|---|
| Vehicle A | vehicle-0/mass | mass | 1450 | Yes |
| Vehicle A | vehicle-0/acceleration | acceleration | 7.4 | Yes |
| Vehicle A | vehicle-0/range | range | 460 | Yes |
| Vehicle A | vehicle-0/consumption | consumption | 16.2 | Yes |
| Vehicle B | vehicle-1/mass | mass | 1850 | Yes |
| Vehicle B | vehicle-1/acceleration | acceleration | 8.8 | Yes |
| Vehicle B | vehicle-1/range | range | 580 | Yes |
| Vehicle B | vehicle-1/consumption | consumption | 19.5 | Yes |
| Vehicle C | vehicle-2/mass | mass | 1250 | Yes |
| Vehicle C | vehicle-2/acceleration | acceleration | 10.2 | Yes |
| Vehicle C | vehicle-2/range | range | 320 | Yes |
| Vehicle C | vehicle-2/consumption | consumption | 13.9 | Yes |
Tap a data point or explore it with the pointer or keyboard.
Adjust the presentation and interaction of this example.
Dense series have a label limit. The table contains the original values.
Open a chart to explore its data, try its options and copy its code.
Compare profiles containing variables with different ranges or units. Each axis owns its own scale. Polar mode changes axis positions while preserving those independent scales; it is not a radar chart with one common maximum.
Expand a property to learn when to use it, see its public type, and find examples where applicable.
The property data.type for this family is parallel.
Identifies the calculation family. Keep the literal value when constructing the data object.
import type { ChartData } from '@neural-charts/angular';
export const dataHeader = {
type: 'parallel',
} satisfies Pick<ChartData, 'type'>;Declares how each axis interprets values. Categories have IDs; dates use UTC milliseconds.
import type { ChartData } from '@neural-charts/angular';
export const axes = [
{
"id": "mass",
"label": "Mass",
"type": "linear",
"unit": "kg",
"domain": [
1000,
2200
]
},
{
"id": "acceleration",
"label": "Acceleration",
"type": "linear",
"unit": "s",
"domain": [
5,
15
],
"reversed": true
},
{
"id": "range",
"label": "Range",
"type": "linear",
"unit": "km",
"domain": [
200,
700
]
},
{
"id": "consumption",
"label": "Consumption",
"type": "linear",
"unit": "kWh/100km",
"domain": [
10,
30
],
"reversed": true
}
] satisfies (ChartData & { type: 'parallel' })['axes'];import type { PlanParallelAxis } from '@neural-charts/core';
export type Signature = {
readonly [x: number]: Omit<
PlanParallelAxis,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly length: number;
readonly toString: Omit<() => string, 'title' | 'labels' | 'grid'> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly toLocaleString: Omit<
{
(): string;
(
locales: string | string[],
options?: Intl.NumberFormatOptions & Intl.DateTimeFormatOptions,
): string;
},
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly concat: Omit<
{
(...items: ConcatArray<PlanParallelAxis>[]): PlanParallelAxis[];
(
...items: (PlanParallelAxis | ConcatArray<PlanParallelAxis>)[]
): PlanParallelAxis[];
},
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly join: Omit<
(separator?: string) => string,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly slice: Omit<
(start?: number, end?: number) => PlanParallelAxis[],
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly indexOf: Omit<
(searchElement: PlanParallelAxis, fromIndex?: number) => number,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly lastIndexOf: Omit<
(searchElement: PlanParallelAxis, fromIndex?: number) => number,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly every: Omit<
{
<S extends PlanParallelAxis>(
predicate: (
value: PlanParallelAxis,
index: number,
array: readonly PlanParallelAxis[],
) => value is S,
thisArg?: any,
): this is readonly S[];
(
predicate: (
value: PlanParallelAxis,
index: number,
array: readonly PlanParallelAxis[],
) => unknown,
thisArg?: any,
): boolean;
},
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly some: Omit<
(
predicate: (
value: PlanParallelAxis,
index: number,
array: readonly PlanParallelAxis[],
) => unknown,
thisArg?: any,
) => boolean,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly forEach: Omit<
(
callbackfn: (
value: PlanParallelAxis,
index: number,
array: readonly PlanParallelAxis[],
) => void,
thisArg?: any,
) => void,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly map: Omit<
<U>(
callbackfn: (
value: PlanParallelAxis,
index: number,
array: readonly PlanParallelAxis[],
) => U,
thisArg?: any,
) => U[],
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly filter: Omit<
{
<S extends PlanParallelAxis>(
predicate: (
value: PlanParallelAxis,
index: number,
array: readonly PlanParallelAxis[],
) => value is S,
thisArg?: any,
): S[];
(
predicate: (
value: PlanParallelAxis,
index: number,
array: readonly PlanParallelAxis[],
) => unknown,
thisArg?: any,
): PlanParallelAxis[];
},
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly reduce: Omit<
{
(
callbackfn: (
previousValue: PlanParallelAxis,
currentValue: PlanParallelAxis,
currentIndex: number,
array: readonly PlanParallelAxis[],
) => PlanParallelAxis,
): PlanParallelAxis;
(
callbackfn: (
previousValue: PlanParallelAxis,
currentValue: PlanParallelAxis,
currentIndex: number,
array: readonly PlanParallelAxis[],
) => PlanParallelAxis,
initialValue: PlanParallelAxis,
): PlanParallelAxis;
<U>(
callbackfn: (
previousValue: U,
currentValue: PlanParallelAxis,
currentIndex: number,
array: readonly PlanParallelAxis[],
) => U,
initialValue: U,
): U;
},
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly reduceRight: Omit<
{
(
callbackfn: (
previousValue: PlanParallelAxis,
currentValue: PlanParallelAxis,
currentIndex: number,
array: readonly PlanParallelAxis[],
) => PlanParallelAxis,
): PlanParallelAxis;
(
callbackfn: (
previousValue: PlanParallelAxis,
currentValue: PlanParallelAxis,
currentIndex: number,
array: readonly PlanParallelAxis[],
) => PlanParallelAxis,
initialValue: PlanParallelAxis,
): PlanParallelAxis;
<U>(
callbackfn: (
previousValue: U,
currentValue: PlanParallelAxis,
currentIndex: number,
array: readonly PlanParallelAxis[],
) => U,
initialValue: U,
): U;
},
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly find: Omit<
{
<S extends PlanParallelAxis>(
predicate: (
value: PlanParallelAxis,
index: number,
obj: readonly PlanParallelAxis[],
) => value is S,
thisArg?: any,
): S | undefined;
(
predicate: (
value: PlanParallelAxis,
index: number,
obj: readonly PlanParallelAxis[],
) => unknown,
thisArg?: any,
): PlanParallelAxis | undefined;
},
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly findIndex: Omit<
(
predicate: (
value: PlanParallelAxis,
index: number,
obj: readonly PlanParallelAxis[],
) => unknown,
thisArg?: any,
) => number,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly entries: Omit<
() => ArrayIterator<[number, PlanParallelAxis]>,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly keys: Omit<
() => ArrayIterator<number>,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly values: Omit<
() => ArrayIterator<PlanParallelAxis>,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly includes: Omit<
(searchElement: PlanParallelAxis, fromIndex?: number) => boolean,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly flatMap: Omit<
<U, This = undefined>(
callback: (
this: This,
value: PlanParallelAxis,
index: number,
array: PlanParallelAxis[],
) => U | readonly U[],
thisArg?: This | undefined,
) => U[],
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly flat: Omit<
<A, D extends number = 1>(
this: A,
depth?: D | undefined,
) => FlatArray<A, D>[],
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly at: Omit<
(index: number) => PlanParallelAxis | undefined,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly [Symbol.iterator]: Omit<
() => ArrayIterator<PlanParallelAxis>,
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
readonly [Symbol.unscopables]: Omit<
{
readonly [x: number]: boolean | undefined;
readonly length?: boolean | undefined;
toString?: boolean | undefined;
toLocaleString?: boolean | undefined;
concat?: boolean | undefined;
join?: boolean | undefined;
slice?: boolean | undefined;
indexOf?: boolean | undefined;
lastIndexOf?: boolean | undefined;
every?: boolean | undefined;
some?: boolean | undefined;
forEach?: boolean | undefined;
map?: boolean | undefined;
filter?: boolean | undefined;
reduce?: boolean | undefined;
reduceRight?: boolean | undefined;
find?: boolean | undefined;
findIndex?: boolean | undefined;
entries?: boolean | undefined;
keys?: boolean | undefined;
values?: boolean | undefined;
includes?: boolean | undefined;
flatMap?: boolean | undefined;
flat?: boolean | undefined;
at?: boolean | undefined;
[Symbol.iterator]?: boolean | undefined;
readonly [Symbol.unscopables]?: boolean | undefined;
},
'title' | 'labels' | 'grid'
> & {
readonly title?: never;
readonly grid?: never;
readonly labels?: never;
};
};Contains series and observations. Keep IDs when replacing data so selection and legend retain their identity.
import type { PlanParallelSeries } from '@neural-charts/core';
export type Signature = readonly (Omit<
PlanParallelSeries,
'data' | 'markers' | 'dash' | 'color'
> & {
readonly data: readonly ({
readonly id: string;
readonly axisId: string;
readonly value: number | null;
} & { readonly color?: never; readonly datum?: never })[];
readonly color?: never;
readonly markers?: never;
readonly dash?: never;
})[];Customize presentation while keeping series and point identities stable.
Applies a palette in series order.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"colors": [
"#2559CC",
"#B52E70"
]
}
};Identify a series by ID and customize its color, stroke, pattern or marker. Use markerFill, markerStroke and markerStrokeWidth to set marker fill and border.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"series": [
{
"id": "visits",
"color": "#2559CC",
"marker": "diamond"
}
]
}
};Adjusts the width of data strokes in pixels.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"lineWidth": 3
}
};Displays values alongside marks in supported families.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"dataLabels": true
}
};Limits how many value labels the renderer considers for placement.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"labelLimit": 12
}
};Chooses how to handle label density: automatic placement, all labels, or truncation.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"dataLabelLayout": "auto"
}
};Sets title alignment, hex color, size and weight. Also applies to SVG and PNG.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"titleStyle": {
"fontSize": 24,
"align": "left"
}
}
};Applies the same text controls to the description below the title.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"descriptionStyle": {
"color": "#405573"
}
}
};Sets the minimum plot width from 0 to 1600 px. In narrow containers the chart scrolls while the title and legend stay in place. The export includes the whole chart.
Default value 0 px
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"appearance": {
"minPlotWidth": 580
}
};Chooses Cartesian parallel axes or their polar arrangement for that family.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions<'parallel'> = {
"layout": {
"coordinates": "polar"
}
};Data types and domains determine the scale. Use options.axes to change its presentation.
Controls the grid. Visibility, ticks and labels can be configured for each axis.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"axes": {
"grid": true
}
};Configures X-axis presentation. Declare the data axis type in data.axes.x.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"axes": {
"x": {
"title": "Day"
}
}
};Configures presentation of the main value axis, including its number format.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"axes": {
"y": {
"title": "Revenue",
"numberFormat": {
"style": "currency",
"currency": "EUR"
}
}
}
};Controls whether the legend is shown when the chart has entries.
Default value Visible
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"legend": {
"visible": true
}
};Places the legend. Side positions need at least 600 px of width; narrower charts place it at the bottom.
Default value bottom
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"legend": {
"position": "bottom"
}
};Allows users to show or hide series from the legend.
Default value Enabled
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"legend": {
"interactive": true
}
};Reverses legend entry order while preserving series order in the chart.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"legend": {
"reverse": true
}
};Limits the visible text length of each legend entry.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"legend": {
"maxLabelCharacters": 24
}
};Adjusts spacing between legend entries.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"legend": {
"itemSpacing": 12
}
};Controls the detail shown when exploring an observation.
Default value Enabled
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"tooltip": {
"enabled": true
}
};Keeps the tooltip within the plot. docked prefers below the point when it fits.
Default value auto
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"tooltip": {
"placement": "docked"
}
};Lets users pin detail while continuing to explore other observations.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"tooltip": {
"pinnable": true
}
};Sets the tooltip background to a hex color.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"tooltip": {
"background": "#17243A"
}
};Sets the tooltip text to a hex color. Choose enough contrast against the background.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"tooltip": {
"foreground": "#FFFFFF"
}
};Identify the selection and hidden series by ID.
Controls visibility by series ID. An empty array leaves every series visible.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"hiddenSeriesIds": [
"previous"
]
};Applies selection by series and observation identity.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"selectedPoints": [
{
"seriesId": "visits",
"pointId": "day-0"
}
]
};export type Signature =
readonly Readonly<{ seriesId: string; pointId: string }>[] | undefined;Enables entry and transitions provided by the renderer. Respects reduced motion.
Default value Disabled
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"animation": {
"enabled": true
}
};Sets the duration in milliseconds. Zero applies the result immediately.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"animation": {
"duration": 250
}
};Change the revision to request another animation playback.
import type { ChartOptions } from '@neural-charts/angular';
export const options: ChartOptions = {
"animation": {
"revision": 2
}
};import type { ChartOptions } from '@neural-charts/angular';
export const options = {
"title": "Lower can also be better",
"description": "Reverse only acceleration and consumption, preserving original values.",
"height": 380,
"layout": {
"coordinates": "cartesian"
},
"appearance": {
"colors": [
"#2C6DCD",
"#638A35"
],
"markers": false,
"dataLabels": false,
"lineWidth": 2,
"markerRadius": 6
},
"legend": {
"visible": true,
"position": "bottom"
},
"tooltip": {
"enabled": true,
"content": "point",
"placement": "auto",
"crosshair": false
},
"axes": {
"grid": false,
"x": {
"visible": true,
"title": ""
},
"y": {
"visible": true,
"title": ""
}
}
} satisfies ChartOptions;Select an observation with the pointer or enter the chart with Tab. Arrow keys navigate the data; Home and End move to the endpoints. Enter or Space selects, and Escape closes the detail.
The data table retains original values, including missing values and hidden series. A repeated label does not merge separate categories. Manual screen reader review remains pending.
Accessibility guideCopy the current input object with its original identifiers and values.