# chart_app **Repository Path**: flyeer/chart_app ## Basic Information - **Project Name**: chart_app - **Description**: Python Web 应用脚本,使用 Flask 作为后端框架,结合 Plotly 实现交互式图表的生成 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-11 - **Last Updated**: 2025-08-12 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # chart_app #### 介绍 Python Web 应用脚本,使用 Flask 作为后端框架,结合 Plotly 实现交互式图表的生成 #### 软件架构 ``` chart_app/ │ ├── app.py # 主程序 ├── templates/ │ └── index.html # 前端页面 └── requirements.txt # 依赖文件 ``` #### 安装教程 `pip install -r requirements.txt` #### 运行方式 - 运行 python app.py,控制台显示类似: - `🌍 项目即将运行在: http://127.0.0.1:51234` - 在浏览器地址栏输入提示的网址(如 http://127.0.0.1:51234),按回车打开页面。 #### 使用说明 - 1.Web 端手动输入数据 - 2.选择图表类型(饼图、柱状图、折线图等) - 3.全局配置:标题、坐标轴文字大小、字体等 - 4.图表在 HTML 页面中动态显示 - 5.支持将图表以 PNG 形式下载(通过 Plotly 内置功能) - 6.响应式 HTML 页面,可调节样式