UNPKG

@nova-ui/charts

Version:

Nova Charts is a library created to provide potential consumers with solutions for various data visualizations that conform with the Nova Design Language. It's designed to solve common patterns identified by UX designers, but also be very flexible so that

20 lines (19 loc) 605 B
import { IChartMarker } from "../../types"; /** * This class creates a ChartMarker based on provided data for svg path */ export declare class PathMarker implements IChartMarker { /** Resulting <path> HTMLElement */ element: HTMLElement; protected svg: string; /** * Creates an instance of PathMarker. * @param {string} d value that has to be assigned to 'd' attribute of 'path' element in svg * @memberof PathMarker */ constructor(d: string); setColor(color: string): void; private setAttributes; getSvg(): string; protected updateSvg(): void; }