# phantomjs-echarts **Repository Path**: luoqiz/phantomjs-echarts ## Basic Information - **Project Name**: phantomjs-echarts - **Description**: 使用phantomjs运行echarts对外提供http访问接口的镜像构建 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 2 - **Created**: 2019-05-28 - **Last Updated**: 2021-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # phantomjs-echarts #### 介绍 使用phantomjs运行echarts对外提供http访问接口的镜像构建 #### 软件架构 根据 https://gitee.com/saintlee/echartsconvert 构建的docker镜像,若是实体机请参考源文档 #### 安装教程 1. 构建镜像 docker build -t phantomjs-echarts . 2. 构建容器 docker run --name=pe -p 9000:8989 --restart always -d phantomjs-echarts 3. 删除容器 docker rm pe 3. 删除镜像 docker rmi phantomjs-echarts:latest #### 使用说明 示例: http://192.168.26.131:9000/?opt={series:[{data:[3,2,1],type:'bar'}],title:{left:'center',text:'水果'},xAxis:[{data:['苹果','西瓜','香蕉'],type:'category'}],yAxis:[{type:'value'}]} #### dockerhub下载 镜像下载:docker pull luoqiz/phantomjs-echarts:1.0