Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yugasun/x-chart
đ x-chart is a draggable & resizable data visualization system
https://github.com/yugasun/x-chart
draggable echarts resizable resizable-data-visualization vite vue vue-ts-starter
Last synced: 13 days ago
JSON representation
đ x-chart is a draggable & resizable data visualization system
- Host: GitHub
- URL: https://github.com/yugasun/x-chart
- Owner: yugasun
- License: mit
- Created: 2018-05-10T02:35:41.000Z (over 6 years ago)
- Default Branch: dev
- Last Pushed: 2022-07-01T08:41:33.000Z (over 2 years ago)
- Last Synced: 2024-08-04T02:07:25.007Z (3 months ago)
- Topics: draggable, echarts, resizable, resizable-data-visualization, vite, vue, vue-ts-starter
- Language: TypeScript
- Homepage: https://x-chart.vercel.app/
- Size: 11.9 MB
- Stars: 445
- Watchers: 16
- Forks: 56
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[įŽäŊä¸æ](./README.zh-CN.md) | English
## Introduction
`x-chart` is a draggable & resizable data visualization dashboard. Based on [Vue.js](https://github.com/vuejs/vue), [vue-echarts](https://github.com/ecomfe/vue-echarts) and [vue-grid-layout](https://github.com/yugasun/vue-grid-layout/tree/pro/compass).
> **Notice** This version is rewrote by `typescript`, if you want the old version by `javascript`, you can checkout tag `v0.1.2`.
## Develop
```bash
# clone the project
git clone https://github.com/yugasun/x-chart.git# install dependency
pnpm install# develop
pnpm run dev# build
pnpm run build# deploy for Github page
pnpm run deploy# build docker image
pnpm run docker:build# run docker image in container, after this you can visit demo by: http://localhost:8080
pnpm run docker:run# run into current docker container
pnpm run docker:exec
```## Feature
- [x] Base on template [vue-ts-starter](https://github.com/yugasun/vue-ts-starter) (Vue3 + Vite + TypeScript)
- [x] Configurable dashboard: all modules render depend on the api.
- [x] Chart modules are draggable and resizable.
- [x] Customized and beautify charts using echarts.
- [x] Frontend data mock demo using [msw](https://mswjs.io/docs/) Seamless REST/GraphQL API mocking library for browser and Node.js.
- [x] Docker deploy.## Demo
![x-chart](./demo/1.png)
[Online Preview](https://x-chart.vercel.app/).
## Notice
For Chinese if you `npm install` slowly, you can create `.npmrc` file with below content:
```shell
registry=https://registry.npm.taobao.org/
phantomjs_cdnurl=http://cnpmjs.org/downloads
sass_binary_site=https://npm.taobao.org/mirrors/node-sass/
```## License
[MIT](./LICENSE)
Copyright (c) 2018-present yugasun