scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
25 lines (24 loc) • 1.03 kB
TypeScript
import { TPointMarkerDefinition3D } from "../../../Builder/buildSeries";
import { EPointMarker3DType } from "../../../types/PointMarker3DType";
/**
* Defines the interface to a 3D PointMarker in SciChart - High Performance {@link https://www.scichart.com/javascript-chart-features | JavaScript Charts}.
* @description PointMarkers may be displayed on {@link IRenderableSeries3D | 3D Renderable Series} to add scatter-points to charts.
* @remarks
* See derived types of {@link IPointMarker3D} for specific point-marker types.
*/
export interface IPointMarker3D {
/**
* Type of the point marker
*/
type: EPointMarker3DType;
/**
* Gets or sets the point-marker fill as an HTML Color Code
*/
fill: string;
/**
* Gets or sets the size of the point-marker in world-coordinates
*/
size: number;
/** Convert the object to a definition that can be serialized to JSON, or used directly with the builder api */
toJSON(): TPointMarkerDefinition3D;
}