npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

schinta-chart-wl-flow

v1.0.7

Published

Vue 3 + Ant Design Vue + ECharts 水位流量图表组件

Readme

Schinta Chart WL Flow

水位流量图表组件,基于 Vue 3 和 Ant Design Vue、ECharts 开发。

概述

WaterLevelFlowChart 是一个功能完整的水位流量数据可视化组件,支持多种数据类型的图表展示、数据表格显示、统计指标展示等功能。组件采用 ECharts 作为图表引擎,支持深色和浅色两种主题模式。

安装

npm install schinta-chart-wl-flow

使用方法

全局注册

import { createApp } from "vue";
import App from "./App.vue";
import SchintaChartWlFlow from "schinta-chart-wl-flow";
import "schinta-chart-wl-flow/dist/style.css";

const app = createApp(App);
app.use(SchintaChartWlFlow);
app.mount("#app");

局部注册

<script setup>
import { WaterLevelFlowChart } from "schinta-chart-wl-flow";
</script>

简单示例

<template>
  <WaterLevelFlowChart
    :theme="theme"
    :is-expand="isExpand"
    :data-obj="dataObj"
    :character-wl-list="characterWlList"
    :option="customOption"
    :rain-date-list="rainDateList"
  />
</template>

属性

| 属性名 | 类型 | 默认值 | 说明 | | ---------------- | -------- | ------------ | ------------------------------ | | theme | String | 'light' | 主题,可选值:'light'、'dark' | | isExpand | Boolean | false | 是否展开 | | showDatePicker | Boolean | true | 是否显示日期选择器 | | datePickerFormat | String | 'YYYY-MM-DD' | 日期选择器格式 | | dataObj | Object | {} | 图表数据对象 | | itemList | Array | [] | 图表数据配置项 | | stationList | Array | [] | 站点列表 | | hideKpi | Boolean | true | 是否隐藏统计指标 | | statKpis | Array | [] | 统计指标 | | option | Object | {} | 自定义图表配置项,覆盖默认配置 | | characterWlList | Array | [] | 特征水位列表,覆盖默认配置 | | rainDateList | Array | [] | 有雨日期数组 | | dateChangeCb | Function | () => {} | 日期选择器变化回调函数 | | stationChangeCb | Function | () => {} | 站点选择器变化回调函数 | | exportCb | Function | () => {} | 导出回调函数 |

效果展示

以下是组件不同效果展示:

收起

收起截图

展开

展开截图

License

MIT