billboard.js
Version:
Re-usable easy interface JavaScript chart library, based on D3 v4+
13 lines (11 loc) • 497 B
text/typescript
/**
* Copyright (c) 2017 ~ present NAVER Corp.
* billboard.js project is licensed under the MIT license
*/
import {TYPE} from "../../const";
import optSpline from "../../Options/shape/spline";
import {extendLine} from "./axis.helpers";
export let line = (): string => (extendLine(), (line = () => TYPE.LINE)());
export let spline =
(): string => (extendLine(undefined, [optSpline]), (spline = () => TYPE.SPLINE)());
export let step = (): string => (extendLine(), (step = () => TYPE.STEP)());