line

Classes

LineChart

Type Definitions

LineChartOptions

Type:

Properties:

Name Type Description
hidePoints boolean <optional> Hide the data marker points on the line
brush object <optional> Brush (i.e. selection) options
Properties
Name Type Default Description
disabled boolean <optional>
type "data" | "visual" <optional> "data" Brush selection will anchor to data or visual coordinates
showTooltip boolean <optional> Allow showing tooltip when actively brushing
disableZoom boolean <optional> Disable auto-zoom when brush finishes
clipMask boolean <optional> Visually clip the brush selection to the data area
passive boolean <optional> Do not allow pointer interaction
Source: line.mjs, line 19

Events

brush

Type:
Description: Brush event

Properties:

Name Type Description
x1 number
x2 number
internal boolean Was the event triggered internally by pointer events
chart Chart
Source: line.mjs, line 8