zoukankan      html  css  js  c++  java
  • Bar:柱状图/条形图

    Bar:柱状图/条形图
    
    
    node2:/root/fenxi#cat k7.py 
    from pyecharts.faker import Faker
    from pyecharts import options as opts
    from pyecharts.charts import Funnel, Page
    from pyecharts import options as opts
    from pyecharts.charts import Gauge, Page
    
    
    from pyecharts.faker import Faker
    from pyecharts import options as opts
    from pyecharts.charts import Pie
    from pyecharts.faker import Faker
    from pyecharts import options as opts
    from pyecharts.charts import Bar
    
    
    def bar_base() -> Bar:
        c = (
            Bar()
            .add_xaxis(["20191115", "20191116", "20191117", "20191118", "20191119", "20191120"])
            .add_yaxis("身份核查系统", [1000,800,700,600,500,1200])
            .add_yaxis("外部数据平台", [200,80,70,60,50,120])
            .add_yaxis("新柜面", [300,60,90,62,58,130])
            .add_yaxis("新核心系统", [677,80,70,60,50,120])
            .add_yaxis("信贷系统", [100,56,78,62,50,120])
            .set_global_opts(title_opts=opts.TitleOpts(title="Bar-基本示例", subtitle="我是副标题"))
        )
        return c
    
    
    bar_base().render("k7.html")
    

  • 相关阅读:
    第11组 团队Git现场编程实战
    第11组 团队项目-需求分析报告
    团队项目-选题报告
    第二次结对编程作业
    第11组 团队展示
    第一次结对编程作业
    Nginx学习笔记
    Git学习笔记
    Qt学习笔记
    Eclipse中Outline里各种图标的含义
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13348644.html
Copyright © 2011-2022 走看看