linwaiwai / autochart

开源报表与图表——开源在线编辑复合自动图表

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

auto-chart 👋

请点击实际仓库链接https://github.com/linwaiwai/autochart-solution

仓库内容

1、前端支撑库React-Auto-Chart的支持;即react-auto-chart 源码

2、后端多数数据源驱动Graphreport_Drive库支持;

3、前端使用react-auto-chart微服务Demo;

4、前端微服务管理Graphreport_Admin_Frontend支持;即管理平台前端代码;

5、后端图表管理Graphreport_Admin_Backedn支持;即管理平台后端代码;

6、自动报表AutoReport前端库;

购买链接

商业版本代码已加密,购买链接 http://pay.openapplus.com/pay?money=500&type=1, 付费之后请查收邮件获取加密方法(未收到请联系作者)

使用方法(react-auto-chart)

Welcome to react-auto-chart 👋

Version Documentation License: GPL--3.0 Twitter: linwaiwai

auto chart component for online editing, include a auto chart or combination chart to your react app

🏠 Homepage

Demo

Prerequisites

  • node >=8.0.0

Install

* npm install --save @openapplus/react-auto-chart

Usage

  • open http://www.openapplus.com/admin/#/online/graphreport
  • register and login
  • create connect to your datasource (mysql, es, redis, mongo)
  • create chart or templet according the add form
  • get the link by viewing the chart item. copy the last path component as a code
  • write the code
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { GraphreportAutoChart } from '@openapplus/react-auto-chart';

export default class OnlGraphreportAutoChart extends Component  {
	render() {
		const {
			match: {
				params: { code },
			}
		} = this.props;
		return (<GraphreportAutoChart code={code} ></GraphreportAutoChart>);
	}

}

Run tests

yarn run test

License

/*

  • GPLv3 License
  • A library named React Auto Chart to draw chart according json configuration
  • Copyright (C) 2020 linwaiwai(jiansihun@foxmail.com)
  • This program is free software: you can redistribute it and/or modify
  • it under the terms of the GNU General Public License as published by
  • the Free Software Foundation, either version 3 of the License, or
  • (at your option) any later version.
  • This program is distributed in the hope that it will be useful,
  • but WITHOUT ANY WARRANTY; without even the implied warranty of
  • MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  • GNU General Public License for more details.
  • You should have received a copy of the GNU General Public License
  • along with this program. If not, see https://www.gnu.org/licenses/.
  • Note:
  • This library is using opensource license GPLv3.
  • If your want to have it for commerce use, please contract author to be granted.
  • All the income will be donated to support the work of doctor at Wuhan Province in China until the epidemic of Wuhan ends.
  • Commerce authorization package will include frontend and backend solution, in which The frontend solution includes auto chart component and a micro frontend service which contains admin tools for json configuration, the backend is a SDK tool based on the SpringBoot.
  • All this will cost you only 500 yuan/year for public welfare. What a good deal.
  • How to use: https://www.jianshu.com/p/81e094dc7e88
  • Demo Link: http://www.openapplus.com/admin/#/online/graphreport
  • Test acount: autochart , passsword autochart

*/

Author

👤 linwaiwai

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by readme-md-generator

About

开源报表与图表——开源在线编辑复合自动图表