Skip to main content
cngx-src documentation

PathSegment

Interface

projects/common/chart/path/path-builder.ts

Import#

import { PathSegment } from '@cngx/common/chart'

Description#

One run of consecutive finite points, as produced by PathBuilder.buildSegments. firstX / lastX are the run's projected end coordinates, exposed so an area layer can close the run to its baseline without re-projecting the data.

Index#

Properties

Instance Properties#

Readonly
firstX#number
Readonly
lastX#number
Readonly