VisActor/VChart
소개
VChart는 크로스 플랫폼 차트 라이브러리를 넘어, 표현력 있는 데이터 스토리텔링 도구이기도 합니다.
데이터 및 분석측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- +6
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalVChart
VChart, more than just a cross-platform charting library, but also an expressive data storyteller.
Introduction • Demo • Tutorial • API• Cross-Platform
(video)
Introduction
VChart is a charting component library in VisActor visualization system. It wraps the charting logic based on visual grammar library VGrammar and the component encapsulation based on visual rendering engine VRender. The core capabilities are as follows:
- Cross-platform: Automatically adapt to desktop, H5, and multiple small program environments
- Storytelling: Comprehensive annotation, animation, flow control, narrative templates, and other enhanced features for visual storytelling
- Scenes: Deliver visual storytelling capabilities to end-users, unlock developer productivity
Repository Introduction
This repository includes the following packages:
vchart: The core code repository of VChartreact-vchart: The VChart component encapsulated based on Reacttaro-vchart: The VChart component encapsulated based on Tarolark-vchart: The VChart component encapsulated based on Lark miniAPPblock-vchart: The VChart component encapsulated based on Lark Blockwx-vchart:The VChart component encapsulated based on Wx miniAPPdocs: VChart site source code, and also contains all Chinese and English documents, chart sample codes, etc. of the site.
🔨 Usage
📦 Installation
# npm
$ npm install @visactor/vchart
# yarn
$ yarn add @visactor/vchart
📊 A Chart Example

import VChart from '@visactor/vchart';
const spec = {
type: 'bar',
data: [
{
id: 'barData',
values: [
{ month: 'Monday', sales: 22 },
{ month: 'Tuesday', sales: 13 },
{ month: 'Wednesday', sales: 25 },
{ month: 'Thursday', sales: 29 },
{ month: 'Friday', sales: 38 }
]
}
],
xField: 'month',
yField: 'sales',
crosshair: {
xField: { visible: true }
}
};
// 'chart' is the id of your dom container, such as <div id="chart"></chart>
const vchart = new VChart(spec, { dom: 'chart' });
vchart.renderAsync();
⌨️ Development
First of all, please install @microsoft/rush
$ npm i --global @microsoft/rush
Then clone locally:
# clone
$ git clone [email protected]:VisActor/VChart.git
$ cd VChart
# install dependencies
$ rush update
# start vchart development server
$ rush start
# start react-vchart development server
$ rush react
# start site development server
$ rush docs
📖 Documents
After installation & clone & update, run docs to preview VTable documents locally.
# start vtable document server. execute in file path: ./
$ rush update
$ rush build
$ rush docs
If you meet dependency problems
$ rush purge
$ rush update
🔗 Related Links
- Homepage
- VCharts Gallery
- VChart Tutorials
- VChart Options
- VChart API
- VGrammar
- VRender
- FAQ
- CodeSandbox Template for bug reports
💫 Ecosystem
| Project | Description |
|---|---|
| React-VChart | React interface for @VisActor/VChart |
| OpenInula-VChart | OpenInula VChart Components |
| OMI | Web Components Framework |
| A vercel template built with vchart and Next.js | A modern dashboard template built with vchart and Next.js, featuring a beautiful UI and rich data visualization components. |
Star History
💖 Thanks
Thanks to Semi for providing the theme visualization customization solution.
🤝 Contribution 
Before submitting a PR, read PR checks and merge process for local testing, automated CR, unit and visual checks, manual BugServer Photo verification, and maintainer approval and merge. See the guide for the activation status and scope of the new workflow.
If you would like to contribute, please read the Code of Conduct and our contributing guide first。
Small streams converge to make great rivers and seas!
관련 프로젝트 살펴보기
불러오는 중…