Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 days 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 1 year ago)
- Default Branch: develop
- Last Pushed: 2025-01-27T07:10:43.000Z (6 days ago)
- Last Synced: 2025-01-28T08:03:54.817Z (5 days 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: 192 MB
- Stars: 1,178
- Watchers: 20
- Forks: 102
- Open Issues: 210
-
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://github.com/visactor/vchart/actions/workflows/bug-server.yml/badge.svg)
![](https://github.com/visactor/vchart/actions/workflows/unit-test.yml/badge.svg)
[![npm Version](https://img.shields.io/npm/v/@visactor/vchart.svg)](https://www.npmjs.com/package/@visactor/vchart)
[![npm Download](https://img.shields.io/npm/dm/@visactor/vchart.svg)](https://www.npmjs.com/package/@visactor/vchart)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/VisActor/VChart/blob/main/CONTRIBUTING.md#your-first-pull-request)![](https://img.shields.io/badge/language-TypeScript-red.svg) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](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. [`tt-vchart`](./packages/lark-vchart/): [TikTok miniAPP](https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/introduction/overview/)に基づいてカプセル化された VChart コンポーネント
6. [`block-vchart`](./packages/block-vchart/): [Lark Block](https://open.feishu.cn/document/client-docs/block/block-introduction)に基づいてカプセル化された VChart コンポーネント
7. [`wx-vchart`](./packages/wx-vchart/): [Wx miniAPP](https://developers.weixin.qq.com/miniprogram/dev/framework/)に基づいてカプセル化された VChart コンポーネント
8. [`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 [email protected]: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 コンポーネントフレームワーク |## 💖 Thanks
セミ([semi](https://semi.design/))によるテーマの視覚的カスタマイズソリューションの提供に感謝します## 🤝 貢献 [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/VisActor/VChart/blob/main/CONTRIBUTING.md#your-first-pull-request)
貢献したい場合は、まず[行動規範](./CODE_OF_CONDUCT.md)と[貢献ガイド](./CONTRIBUTING.md)をお読みください。
小さな流れが集まり、大きな川や海になります!