# EasyChart **Repository Path**: flyrainning/EasyChart ## Basic Information - **Project Name**: EasyChart - **Description**: Easy way to use echarts with php - **Primary Language**: PHP - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 8 - **Forks**: 4 - **Created**: 2017-10-26 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: charting-components **Tags**: None ## README # EasyChart Easy way to use echarts with php ## Dependencies Built on top of [ECharts](https://github.com/ecomfe/echarts) [jQuery](http://jquery.com/) ## Installing load it by script tag we need jquery ``` ``` we need echarts , echarts-gl for 3D ``` ``` EasyChart ``` ``` ## Basic Usage Browser ```
``` Server /api/index.php ``` ``` /api/chart/sum.php ( for api `chart.sum` ) ``` title("This is a chart"); $chart->add("apple",365); $chart->add("banana",200); $chart->add("orange",180); $chart->out(); ?> ``` ## Document [EasyChart Doc](doc/README.md) ## Example copy `example` and `dist` to your php server WWWROOT and run Or just run `test/run.sh` for docker ## License EasyChart is available under the BSD license.