Socket
Book a DemoInstallSign in
Socket

@dsyv/charts

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dsyv/charts

一个基于echarts5的按需加载图表组件库

1.0.3
latest
npmnpm
Version published
Maintainers
4
Created
Source

@dsyv/charts

一个基于echarts5的按需加载图表组件库

目前支持图表

import {
    Line,       // 折线图
    Bar,        // 柱状图
    LineBar,    // 折柱图
    Pie,        // 饼图
    Radar,      // 雷达图
    Funnel,     // 漏斗图
    Gauge,      // 仪表盘
    WordCloud,  // 词云
    LiquidFill, // 水球图
    Tmap        // 地图
} from '@dsyv/charts';

API

参数说明类型默认值
height图表高度number300
theme主题stringdefault
option同echarts的optionobject-
getChartInstance获取图表实例回调function-

Keywords

@dsyv/charts

FAQs

Package last updated on 10 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.