https://github.com/visactor/vchart
VChart, more than just a cross-platform charting library, but also an expressive data storyteller.
https://github.com/visactor/vchart
3dchart canvas canvas2d chart charting-library datavisualization dataviz narrative-visualization plot react-chart vis vizualisation vue-chart
Last synced: 8 months ago
JSON representation
VChart, more than just a cross-platform charting library, but also an expressive data storyteller.
- Host: GitHub
- URL: https://github.com/visactor/vchart
- Owner: VisActor
- License: mit
- Created: 2023-06-05T05:41:43.000Z (over 2 years ago)
- Default Branch: develop
- Last Pushed: 2025-04-22T13:09:00.000Z (9 months ago)
- Last Synced: 2025-04-24T08:54:02.054Z (8 months ago)
- Topics: 3dchart, canvas, canvas2d, chart, charting-library, datavisualization, dataviz, narrative-visualization, plot, react-chart, vis, vizualisation, vue-chart
- Language: TypeScript
- Homepage: https://www.visactor.io/vchart
- Size: 217 MB
- Stars: 1,491
- Watchers: 22
- Forks: 170
- Open Issues: 214
-
Metadata Files:
- Readme: README.ja-JP.md
- Contributing: CONTRIBUTING.ja-JP.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
VChart
VChart は、クロスプラットフォームのチャートライブラリであるだけでなく、表現力豊かなデータストーリーテラーでもあります。
紹介 •
デモ •
チュートリアル •
API•
クロスプラットフォーム


[](https://www.npmjs.com/package/@visactor/vchart)
[](https://www.npmjs.com/package/@visactor/vchart)
[](https://github.com/VisActor/VChart/blob/main/CONTRIBUTING.md#your-first-pull-request)
 [](https://github.com/visactor/vchart/blob/main/LICENSE)
English | [简体中文](./README.zh-CN.md) | 日本語
(ビデオ)
## 紹介
VChart は、VisActor ビジュアライゼーションシステムのチャートコンポーネントライブラリです。ビジュアル文法ライブラリ[VGrammar](https://github.com/VisActor/VGrammar)に基づいてチャートロジックをラップし、ビジュアルレンダリングエンジン[VRender](https://github.com/VisActor/VRender)に基づいてコンポーネントをカプセル化します。コア機能は次のとおりです。
1. **クロスプラットフォーム**:デスクトップ、H5、および複数の小プログラム環境に自動的に適応
2. **ストーリーテリング**:ビジュアルストーリーテリングのための包括的な注釈、アニメーション、フロー制御、ナラティブテンプレート、およびその他の強化機能
3. **シーン**:エンドユーザーにビジュアルストーリーテリング機能を提供し、開発者の生産性を向上させる
### リポジトリ紹介
このリポジトリには、次のパッケージが含まれています。
1. [`vchart`](./packages/vchart/): VChart のコアコードリポジトリ
2. [`react-vchart`](./packages/react-vchart/): [React](https://react.dev/)に基づいてカプセル化された VChart コンポーネント
3. [`taro-vchart`](./packages/taro-vchart/): [Taro](https://docs.taro.zone/docs/)に基づいてカプセル化された VChart コンポーネント
4. [`lark-vchart`](./packages/lark-vchart/): [Lark miniAPP](https://open.feishu.cn/document/client-docs/gadget/introduction/host-environment)に基づいてカプセル化された VChart コンポーネント
5. [`block-vchart`](./packages/block-vchart/): [Lark Block](https://open.feishu.cn/document/client-docs/block/block-introduction)に基づいてカプセル化された VChart コンポーネント
6. [`wx-vchart`](./packages/wx-vchart/): [Wx miniAPP](https://developers.weixin.qq.com/miniprogram/dev/framework/)に基づいてカプセル化された VChart コンポーネント
7. [`docs`](./docs/): VChart サイトのソースコード、およびサイトのすべての中国語および英語のドキュメント、チャートサンプルコードなどが含まれています。
## 🔨 使用方法
### 📦 インストール
```bash
# npm
$ npm install @visactor/vchart
# yarn
$ yarn add @visactor/vchart
```
### 📊 チャートの例

```typescript
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'は、
のようなDOMコンテナのIDです
const vchart = new VChart(spec, { dom: 'chart' });
vchart.renderAsync();
```
## ⌨️ 開発
まず、 [@microsoft/rush](https://rushjs.io/pages/intro/get_started/)をインストールしてください
```bash
$ npm i --global @microsoft/rush
```
次に、ローカルにクローンします:
```bash
# クローン
$ git clone git@github.com:VisActor/VChart.git
$ cd VChart
# 依存関係をインストール
$ rush update
# vchart開発サーバーを開始
$ rush start
# react-vchart開発サーバーを開始
$ rush react
# サイト開発サーバーを開始
$ rush docs
```
## 📖 ドキュメント
インストールとクローンと更新後、ローカルでドキュメントをプレビューするために docs を実行します。
```bash
# vchartドキュメントサーバーを開始
$ rush docs
```
## 🔗 関連リンク
- [ホームページ](https://www.visactor.io/vchart)
- [VCharts ギャラリー](https://www.visactor.io/vchart/example)
- [VChart チュートリアル](https://www.visactor.io/vchart/guide/tutorial_docs/VChart_Website_Guide)
- [VChart オプション](https://www.visactor.io/vchart/option/)
- [VChart API](https://www.visactor.io/vchart/api/API/vchart)
- [VGrammar](https://www.visactor.io/vgrammar)
- [VRender](https://www.visactor.io/vrender)
- [FAQ](https://www.visactor.io/vchart/guide/tutorial_docs/FAQ)
- [CodeSandbox テンプレート](https://codesandbox.io/s/the-template-of-visactor-vchart-vl84ww?file=/src/index.ts) バグレポート用
## 💫 エコシステム
| プロジェクト | 説明 |
| ------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| [React-VChart](https://github.com/VisActor/VChart/tree/develop/packages/react-vchart) | @VisActor/VChart の React コンポーネント |
| [OpenInula-VChart](https://www.visactor.io/vchart/example-openinula) | OpenInula の VChart コンポーネント |
| [OMI](https://omi.cdn-go.cn/home/latest) | Web コンポーネントフレームワーク |
| [vchart と Next.js で構築された Vercel テンプレート](https://vercel.com/templates/next.js/visactor-nextjs-template) | vchart と Next.js で構築されたモダンなダッシュボードテンプレートで、美しい UI と豊富なデータ可視化コンポーネントを備えています。 |
## 💖 Thanks
セミ([semi](https://semi.design/))によるテーマの視覚的カスタマイズソリューションの提供に感謝します
## 🤝 貢献 [](https://github.com/VisActor/VChart/blob/main/CONTRIBUTING.md#your-first-pull-request)
貢献したい場合は、まず[行動規範](./CODE_OF_CONDUCT.md)と[貢献ガイド](./CONTRIBUTING.md)をお読みください。
小さな流れが集まり、大きな川や海になります!