
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@lingxiteam/charts
Advanced tools
基于 [@alitajs/f2](https://github.com/alitajs/f2) 封装的图表组件。帮助你快速的在移动端项目中构建图表。
基于 @alitajs/f2 封装的图表组件。帮助你快速的在移动端项目中构建图表。
不支持自定义,只支持展示的几种用法,如果你需要自定义的组件,可以使用 @alitajs/f2 进行自定义。
import React, { useState } from 'react';
import { Donut } from '@lingxiteam/charts';
const ChartDemo = () => {
const data = [
{
name: '余额',
percent: 2423.0,
},
{
name: '理财产品',
percent: 423.0,
},
{
name: '黄金',
percent: 1223.0,
},
{
name: '余额宝',
percent: 1423.0,
},
];
return (
<>
<Donut
data={data}
title="卡片标题"
type="table1"
x="name"
y="percent"
sumText="5782.70"
sumTitle="总资产"
/>
</>
);
};
export default ChartDemo;
FAQs
基于 [@alitajs/f2](https://github.com/alitajs/f2) 封装的图表组件。帮助你快速的在移动端项目中构建图表。
We found that @lingxiteam/charts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 17 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.