UNPKG

billboard.js

Version:

Re-usable easy interface JavaScript chart library, based on D3 v4+

18 lines (16 loc) 575 B
/** * Copyright (c) 2017 ~ present NAVER Corp. * billboard.js project is licensed under the MIT license */ import shapePointCommon from "../../../ChartInternal/shape/core/point"; import shapePoint from "../../../ChartInternal/shape/point"; import {TYPE} from "../../const"; import optPoint from "../../Options/common/point"; import optScatter from "../../Options/shape/scatter"; import {extendAxis} from "./axis.helpers"; export let scatter = (): string => ( extendAxis( [shapePointCommon, shapePoint], [optPoint, optScatter] ), (scatter = () => TYPE.SCATTER)() );