Axis X
Axis Y
Scale of the series
Add Point or Array of Points.
Point or Array of Points.
Object itself for fluent interface.
Each X-value will be paired with an automatically generated Y-value, based on step-argument. This method will cause some overhead based on amount of data added, using add method is recommended.
Array of X-values.
Optional step between each Y coordinate. Defaults to 1.
Optional value for first generated Y-value. If undefined, will continue after last point's Y value in series, or 0 if there are no points in series.
Object itself for fluent interface.
Each Y-value will be paired with an automatically generated X-value, based on step-argument.
Array of Y-values.
Optional step between each X coordinate. Defaults to 1.
Optional value for first generated X-value. If undefined, will continue after last point's X value in series, or 0 if there are no points in series.
Object itself for fluent interface.
Add two individual Arrays, one for X-values, and another for Y-values.
Array of X-values.
Array of Y-values. Length should be equal to length of arrayX.
Object itself for fluent interface.
Add Marker to the Series.
StaticCursorBuilderXY object for customized look of marker. MarkerBuilders.XY can be used to build a custom one from scratch.
SeriesMarkerXY
Attach object to an legendBox entry
Object which has to be attached
Flag that indicates whether the Attachable should be disposed/restored, when its respective Entry is clicked.
Series itself for fluent interface
Clear all points and segments from the dataset.
Series itself for fluent interface
Remove everything related to the object from all collections associated with rendering cycle and allows the object to be collected by GC
Object itself for fluent interface
Whether Cursor is enabled or not
Get boolean flag for whether object should highlight on mouse hover
Boolean for if object should highlight on mouse hover or not.
the state of highlighted flag
Gets if individual point rotation is enabled or not.
Gets if individual point sizing is enabled or not.
Get boolean flag for whether object is currently under mouse or not
Boolean for is object under mouse currently
Copy of last point added to the Series or undefined if it doesn't exist.
Get amount of points that series should keep around at all times (data-cleaning won't touch them).
Number of points, or undefined if data-cleaning is disabled
Get mouse interactions enabled or disabled. Disabled mouse-interactions will naturally prevent mouse-driven highlighting from ever happening.
Mouse interactions state
Get the name of the Component.
The name of the Component.
Get amount of points that series currently has.
Number of points
Get normal points fill style.
Normal point fillStyle
Get current highlight fill style of points.
Current highlight point fill style
Get the current rotation of points.
Get shape of points.
This is defined upon creation of series, and cannot be changed afterwards.
PointShape
Get current size of points in pixels.
Size of point in pixels.
Get ResultTable Formatter.
Function which builds ResultTable content for SeriesXY.
Max X value of the series
Min X value of the series
Max Y value of the series
Min Y value of the series
TODO: True for enabled and false for disabled
Remove event listener from Series Hover Event.
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Click Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Double Click Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Down Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Drag Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Drag Start Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Drag Stop Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Enter Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Leave Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Move Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Up Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Mouse Wheel Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Touch End Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Touch Move Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Remove event listener from Touch Start Event
Token of event listener which has to be removed
True if the listener is successfully removed and false if it is not found
Add event listener to Series Hover Event. Hover event is a custom mouse-event designed for Series that is the main link between Cursors and Series.
Callback function that is called whenever mouse enters / moves or leaves the Series
Token of the event listener
Add event listener to Mouse Click Event
Event listener for Mouse Click Event
Token of the event listener
Add event listener to Mouse Double Click Event
Event listener for Mouse Double Click Event
Token of the event listener
Add event listener to Mouse Down Event
Event listener for Mouse Down Event
Token of the event listener
Subscribe to Mouse Drag event
Subscribe to Mouse Drag Start event
Subscribe to Mouse Drag Stop event
Add event listener to Enter Event
Event listener for Mouse Enter Event
Token of the event listener
Add event listener to Mouse Leave Event
Event listener for Mouse Leave Event
Token of the event listener
Add event listener to Mouse Move Event
Event listener for Mouse Move Event
Token of the event listener
Add event listener to Mouse Up Event
Event listener for Mouse Up Event
Token of the event listener
Subscribe to Mouse Wheel event
Event handler function
Token of subscription
Subscribe to Touch End event
Event handler function
Token of subscription
Subscribe to Touch Move event
Event handler function
Token of subscription
Subscribe to Touch Start event
Event handler function
Token of subscription
Tell the owning chart to restore this series.
Object itself.
Set whether Cursor is enabled or not
Set highlight on mouse hover enabled or disabled
True if highlighting on mouse hover, false if no highlight on mouse hover
Object itself for fluent interface.
Enable or disable forced highlighting of component
True for enabled and false for disabled
component itself for fluent interface
Enable or disable individual point rotation.
When enabled, rotation for each point can be provided with the location of the point.
pointSeries.add({x: 1, y: 2, rotation: 45 })
Boolean state for individual point size enabled
Enable or disable individual point sizing.
When enabled, size for each point can be provided with the location of the point.
pointSeries.add({x: 1, y: 2, size: 10 })
Boolean state for individual point size enabled
Set amount of points that should be kept around at all times (data-cleaning won't touch them). NOTE: The actual data cleaning can only be started if there is at least 1 full segment (about 8000 points).
Guaranteed amount of visible points. If undefined or 0 is passed, data-cleaning will be disabled.
Object itself
Set mouse interactions enabled or disabled. Disabling mouse-interactions will naturally prevent mouse-driven highlighting from ever happening.
Specifies state of mouse interactions
Object itself for fluent interface
Sets the name of the Component updating attached LegendBox entries
Name of the Component
Object itself
Set point fill style of Series. Use IndividualPointFill object to enable individual coloring of points.
Example usage:
// Create a new style
PointSeries.setPointFillStyle(new SolidFill({ color: ColorHEX('#F00') }))
// Change transparency
PointSeries.setPointFillStyle((solidFill) => solidFill.setA(80))
// Set hidden
PointSeries.setPointFillStyle(emptyFill)
Either a FillStyle object or a function, which will be used to create a new FillStyle based on current value.
Series itself for fluent interface.
Set point fill style of Series when it is highlighted.
Example usage:
// Create a new style
PointSeries.setPointFillStyleHighlight(new SolidFill({ color: ColorHEX('#F00') }))
// Change transparency
PointSeries.setPointFillStyleHighlight((solidFill) => solidFill.setA(80))
// Set hidden
PointSeries.setPointFillStyleHighlight(emptyFill)
// Automatic
PointSeries.setPointFillStyleHighlight(undefined)
Either a FillStyle object or a function, which will be used to create a new FillStyle based on current value or undefined for automatic value based on normal style.
Series itself for fluent interface.
Set the rotation of points in degrees.
Rotation angle in degrees
Set size of point in pixels.
Size of point in pixels.
Object itself for fluent interface.
Method for customizing contents of ResultTables when pointing at this Series.
Function which builds ResultTable content. See definition of SeriesXYFormatter for supplied formatting information.
Object itself
Solves the nearest datapoint to a given coordinate on screen.
Location on screen
Undefined or data-structure for positioning of cursors
Solves the nearest datapoint to a given coordinate on a screen from a specific segment.
Location on screen
Segment to solve from
Undefined or data-structure for positioning of cursors
Implementation of SeriesXY for visualizing a collection of Points by filling them with a specifiable PointShape.
PointSeries are created with ChartXY.addPointSeries