【GH】【EXCEL】P4: Chart

news2025/3/11 3:08:40

文章目录

  • data and chart
    • donut chart (radial chart)
      • Radial Chart
    • bar chart
      • Bar Chart
    • line chart
      • Line Chart
    • Scatter Chart
      • Scatter Chart
    • Surface Chart
      • Surface Chart
    • Chart Decorators
      • Chart Decorators
    • Chart Graphics
      • Chart Graphics

data and chart

image-20240820003409679

donut chart (radial chart)

A Chart object can be quickly added to a Worksheet by referencing data from a Range

Radial Chart

image-20240820003721114


Add a Radial Chart object


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name

  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)

  • Name (Text) The title of the chart

  • Boundary (Rectangle) The Shape bounding rectangle

  • Flip (Boolean) If true, the data will be read by column

  • Chart Type (Integer) The chart type

    Pie
    Pie3D
    Donut
    Radar
    Radar Filled

  • Activate (Boolean) If true, the component will be activated

Output parameters:

  • Range (Generic Data) An Excel Range Object
  • Chart (Generic Data) A Chart object

bar chart

Chart graphics can be updated by series or by cell.

Bar Chart

image-20240820004200844


Add a Bar Chart object


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name

  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)

  • Name (Text) The title of the chart

  • Boundary (Rectangle) The Shape bounding rectangle

  • Flip (Boolean) If true, the data will be read by column

  • Chart Type (Integer) The chart type

    Basic
    Box
    Pyramid
    Cylinder
    Cone

  • Alignment Type (Integer) The chart alignment type

    Cluster
    Stack
    Fill

  • Activate (Boolean) If true, the component will be activated

Output parameters:

  • Range (Generic Data) An Excel Range Object
  • Chart (Generic Data) A Chart object

line chart

Chart properties can be modified on a placed Chart.

Line Chart

image-20240820004610323


Add a Line Chart object


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name

  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)

  • Name (Text) The title of the chart

  • Boundary (Rectangle) The Shape bounding rectangle

  • Flip (Boolean) If true, the data will be read by column

  • Chart Type (Integer) The chart type

    Line
    LineMarkers
    Area
    Area3d

  • Alignment Type (Integer) The chart alignment type

    Cluster
    Stack
    Fill

  • Activate (Boolean) If true, the component will be activated

Output parameters:

  • Range (Generic Data) An Excel Range Object
  • Chart (Generic Data) A Chart object

Scatter Chart

Scatter Chart

image-20240820221909538


Add a Scatter Chart object


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name

  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)

  • Name (Text) The title of the chart

  • Boundary (Rectangle) The Shape bounding rectangle

  • Flip (Boolean) If true, the data will be read by column

  • Chart Type (Integer) The chart type

    Scatter
    Scatter Lines
    Scatter Smooth
    Bubble
    Bubble 3D

  • Activate (Boolean) If true, the component will be activated

Output parameters:

  • Range (Generic Data) An Excel Range Object
  • Chart (Generic Data) A Chart object

Surface Chart

Surface Chart

image-20240820222215425


Add a Surface Chart object


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name

  • Range (Generic Data) A Range Object or Text Address (ex. A1:B1)

  • Name (Text) The title of the chart

  • Boundary (Rectangle) The Shape bounding rectangle

  • Flip (Boolean) If true, the data will be read by column

  • Chart Type (Integer) The chart type

    Surface
    SurfaceVireframe
    SurfaceTop
    SurfaceWireframeTop

  • Activate (Boolean) If true, the component will be activated

Output parameters:

  • Range (Generic Data) An Excel Range Object
  • Chart (Generic Data) A Chart object

Chart Decorators

Chart Decorators

image-20240820223225538


Update Chart Decorations


Input parameters:

  • Chart (Generic Data) A Chart object
  • Title (Text) Title
  • Legend Location (Integer) The location of the legend
  • Data Label (Integer) The data label type
  • Grid X (Integer) The X axis Grid settings
  • Grid Y (Integer) The Y axis Grid settings
  • Axis X (Text) An optional X axis label
  • Axis Y (Text) An optional Y axis label

Output parameters:

  • Chart (Generic Data) A Chart object

Chart Graphics

Chart Graphics

image-20240820223319079


Update Chart Graphics


Input parameters:
Chart (Generic Data) A Chart object

By Series (Boolean) If true, values are plotted by series otherwise colors will be by point

Fill Colors (Colour) Chart fill colors S

troke Colors (Colour) Chart stroke colors S

troke Weights (Integer) Chart stroke weights 0-3

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/2056742.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

《面板变系数模型及 Stata 具体操作步骤》

目录 一、文献综述 二、理论原理 三、实证模型 四、稳健性检验 五、程序代码及解释 六、代码运行结果 一、文献综述 在经济和社会科学研究领域,面板数据模型因其能够同时考虑个体和时间维度的信息而被广泛应用。传统的面板数据模型通常假设系数是固定的&#…

1.初识redis

文章目录 1.认识redis1.1 mysql和redis 对比1.2分布式系统1.2.1单机架构与分布式架构1.2.2数据库分离(应用服务器和存储服务器分离)与负载均衡1.2.3负载均衡器1.2.4 数据库读写分离1.2.5 数据库服务器引入缓存1.2.6数据库分库分表1.2.7 引入微服务 2.常见概念解释2.1 应用(Appl…

GoModule

GOPATH 最早的就是GOPATH构建模式, go get下载的包都在path中的src目录下 src目录是源代码存放目录。 package mainimport ("net/http""github.com/gorilla/mux" )func main() {r : mux.NewRouter()r.HandleFunc("/hello", func(w h…

iptables流量走向图

关联教学 https://www.bilibili.com/video/BV1dw411J7Qk/?spm_id_from333.337.search-card.all.click

7.2 算法设计与分析

分治法(考的概率较低) 回溯法(考的概率较低) 动态规划法(考的概率较高) 1

第四届机电一体化、自动化与智能控制国际学术会议(MAIC 2024)

目录 大会官网 会议简介 组织机构 大会主席 程序委员会主席 主讲嘉宾 征稿主题 参会说明 大会官网 http://www.icmaic.org 会议简介 第四届机电一体化、自动化与智能控制国际学术会议(MAIC 2024)将于2024年9月27-29日在中国成都召开。MAIC 20…

高性能MySQL04_操作系统和硬件优化

1. 从软件本身和它运行的典型工作负载来看,MySQL通常也更适合运行在廉价硬件上 2. 基本资源 2.1. CPU 2.2. 内存 2.3. 磁盘 2.4. 瓶颈 2.5. 网络资源 3. CPU 3.1. 最常见的瓶颈是CPU耗尽 3.2. 检查CPU使用率来确定工作负载是否受CPU限制 3.3. 低延迟&…

机器人学——正向运动学(机械臂)

Manipulator Forward Kinematics 机械臂基础概念 Joint and Link 连杆长度、连杆夹角 连杆偏距与关节角 移动关节看距离、旋转关节看角度 如何在杆上建立坐标系 地杆(link0)坐标系的建立 末端杆件坐标系的建立 DH表达法 如何计算出两杆之间的变换矩阵…

Qt鼠标键盘事件监听

普通的程序中. 鼠标事件监听 要监听鼠标事件,你可以使用QMouseEvent类,它提供了多种类型的鼠标事件,如QMouseEvent::MouseButtonPress、QMouseEvent::MouseButtonRelease、QMouseEvent::MouseMove等。 但是离开程序后就很难监听到&#xff0c…

机器学习第十一章--特征选择与稀疏学习

一、子集搜索与评价 我们将属性称为 “特征”(feature),对当前学习任务有用的属性称为 “相关特征”(relevant feature)、没什么用的属性称为 “无关特征”(irrelevant feature).从给定的特征集合中选择出相关特征子集的过程&…

单位订餐小程序开发:便捷高效,重塑职场餐饮新体验

随着移动互联网技术的飞速发展,各行各业都在积极探索数字化转型之路,以提升工作效率与用户体验。在单位日常运营中,餐饮管理作为保障员工基本生活需求的重要环节,其便捷性、高效性直接关系到员工的工作满意度与整体氛围。因此&…

鸿蒙内核源码分析(Fork篇) | 一次调用,两次返回

笔者第一次看到fork时,说是一次调用,两次返回,当时就懵圈了,多新鲜,真的很难理解.因为这足以颠覆了以往对函数的认知, 函数调用还能这么玩,父进程调用一次,父子进程各返回一次.而且只…

linux memory cgroup的memory.move_charge_at_immigrate含义

1.内核文档 上面的例子说明: 最开始某个进程是在cgroup A中,后面要迁移到cgroup B中,那么进程的内存计数是否要完全迁入B中,就是通过memory.move_charge_at_immigrate控制,如果目标cgroup也就是B设置了1到该字段中&am…

猫头虎 分享:什么是Thrift?Thrift的简介、安装、用法详解入门教程

猫头虎 分享:什么是Thrift?Thrift的简介、安装、用法详解入门教程 今天猫头虎带大家一起探讨 一个在人工智能和分布式系统开发中十分重要的工具——Thrift。无论你是AI开发者还是大数据工程师,了解和掌握Thrift都将极大地提高你的跨语言服务…

高性能web服务器

目录 一、简介 (一)nginx-高性能的web服务端 (二)用户访问体验 二、I/O模型 (一)概念 (二)网络I/O模型 (三)阻塞型 I/O 模型 (四&#xf…

AI系列-黑神话:悟空

今天的朋友圈被黑神话悟空刷圈了,喝的咖啡都是黑神话联名版本。四年磨一剑的本地游戏,身边也不少小伙伴用金钱支持了,属于现象级的游戏产品。游戏引擎后续是否可以结合AI文生图,小说编写、文生视频。加快大作的快速生成 &#xff…

Effective-Java-Chapter8-方法

https://github.com/clxering/Effective-Java-3rd-edition-Chinese-English-bilingual/blob/dev/Chapter-8/Chapter-8-Introduction.md 准则一 检查参数的有效性 首先对于方法要写详细的文档,例如参数要求,抛出什么异常以源码为例: 又比如…

分享一个基于微信小程序的反诈科普平台springboot(源码、调试、LW、开题、PPT)

💕💕作者:计算机源码社 💕💕个人简介:本人 八年开发经验,擅长Java、Python、PHP、.NET、Node.js、Android、微信小程序、爬虫、大数据、机器学习等,大家有这一块的问题可以一起交流&…

Web开发:ORM框架之Freesql的入门和技巧使用小结

目录 零、官网链接 一、字段映射表 二、查询 1.freesql独特封装:between关键字 2.分页(每页 20 条数据,查询第 1 页) 3.Withsql(子查询,不建议) 3.简单查询、映射查询 4.参数查询、自定义…

RK3568笔记五十六:yolov8_obb旋转框训练部署

若该文为原创文章,转载请注明原文出处。 本文基于rknn_model_zoo和山水无移大佬的博客和代码训练模型并部署到正点原子的ATK-DLRK3568板子测试。 https://github.com/ultralytics/ultralytics 一、训练 1、环境搭建 使用的是AUTODL环境,yolov8-obb数据集不大,也可以使用c…