【GH】【EXCEL】P4: Chart

news/2024/9/13 23:05:29/ 标签: excel, 服务器, 数据库

文章目录

  • 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.ppmy.cn/news/1516292.html

相关文章

[数据集][目标检测]流水线物件检测数据集VOC+YOLO格式9255张26类别

数据集格式:Pascal VOC格式YOLO格式(不包含分割路径的txt文件,仅仅包含jpg图片以及对应的VOC格式xml文件和yolo格式txt文件) 图片数量(jpg文件个数):9255 标注数量(xml文件个数):9255 标注数量(txt文件个数):9255 标注…

【前端基础篇】CSS基础速通万字介绍(下篇)

文章目录 前言背景属性背景颜色背景图片背景平铺背景位置背景尺寸 圆角矩形生成圆形生成圆角矩形 Chrome调试工具打开方式标签页含义elements标签页使用 元素显示模式块级元素行内元素/内联元素行内元素和块级元素的区别 盒模型边框内边距外边距 块级元素水平居中去除浏览器默认…

PPP简介

介绍PPP特性的定义和目的。 定义 PPP(Point-to-Point Protocol)协议是一种点到点链路层协议,主要用于在全双工的同异步链路上进行点到点的数据传输。 目的 PPP协议是在串行线IP协议SLIP(Serial Line Internet Protocol&#x…

【Linux —— 线程同步 - 条件变量】

Linux —— 线程同步 - 条件变量 条件变量的概念互斥量与条件变量的关系条件变量的操作代码示例 条件变量的概念 条件变量是一种用于线程间同步的机制,主要用于协调线程之间的执行顺序,允许线程在某个条件不满足时进入等待状态,直到其他线程通…

Docker的概述及如何启动docker的镜像、远程管理宿主机的docker进程

一、概述: 1、Docker 是什么? Docker 是⼀个开源的应⽤容器引擎,可以实现虚拟化,完全采用“沙盒”机制,容器之间不会存在任何接口。 2、Docker 和虚拟机的区别: 1)启动速度:Dock…

【Material-UI】RadioGroup组件:单选按钮组详解

文章目录 一、RadioGroup 组件概述1. 组件介绍2. 基本用法 二、RadioGroup 的关键特性1. 布局方向2. 受控组件3. 表单集成 三、RadioGroup 的实际应用场景1. 用户偏好选择2. 付款方式选择 四、总结 Material-UI 是一个广泛使用的 React UI 框架,提供了丰富的组件库以…

Linux系统性能调优技巧

Linux系统性能调优是一个复杂而细致的过程,它涉及到硬件、软件、配置、监控和调优策略等多个方面。以下将详细阐述Linux系统性能调优的技巧: 一、硬件优化 CPU优化 选择适合的CPU:根据应用需求选择多核、高频的CPU,以满足高并发…

OpenGuass under Ubuntu_22.04 install tutorial

今天开始短学期课程:数据库课程设计。今天9点左右在SL1108开课,听陈老师讲授了本次短学期课程的要求以及任务安排,随后讲解了国产数据库的三层架构的逻辑。配置了大半天才弄好,放一张成功的图片,下面开始记录成功的步骤…

【uniapp】图片合成并导入base64

两张图片合成,宽度固定,高度根据图片自适应 调用 this.mergeImgs(this.imgList).then((res)>{console.log(res,图片base64) })方法 mergeImgs(imgList) {// 图片合成return new Promise((resolve, reject) > {Promise.all(this.fileDtoList.map(im…

在银河麒麟服务器V10上源码编译安装mysql-5.7.42-linux-glibc2.12-x86_64

在银河麒麟服务器V10上源码编译安装mysql-5.7.42-linux-glibc2.12-x86_64 一、卸载MariaDB(如果已安装)二、下载MySQL源码包并解压三、安装编译所需的工具和库四、创建MySQL的安装目录及数据库存放目录五、编译安装MySQL六、配置MySQL七、设置环境变量八…

使用canal增量同步ES索引库数据

Canal增量数据同步利器 Canal介绍 canal主要用途是基于 MySQL 数据库增量日志解析,并能提供增量数据订阅和消费,应用场景十分丰富。 github地址:https://github.com/alibaba/canal 版本下载地址:https://github.com/alibaba/c…

8月15日

上午开会 rag继续 异构大模型 狂野飙车9之前的账号终于找回来了 下午 关于minicpm的代码 minicpm-v 大模型预训练论文&方法总结 - 知乎 (zhihu.com) 这里有讲解的代码 发现还是先推荐把llava的掌握好了之后再看minicpm 多模态大模型LLaVA模型讲解——transformers源…

ARM——驱动——内核编译

一、内核的介绍 Linux内核是Linux操作系统的核心内容,它负责管理系统的硬件资源,并为上层的应用程序提供接口。(在上文都有所介绍) 功能: 进程管理:内核负责创建、调度、同步和终止进程。它还管理进程间的…

递归和迭代

递归可以用迭代来解决,但迭代不一定能用递归来实现。 递归可以用栈来实现,保存函数的参数和返回值。。eg:深度优先搜索、斐波那契数列迭代就是循环(如for、while) 递归转迭代 递归本质上是通过函数调用自身来解决问…

汽车冷却液温度传感器

1、冷却液温度传感器的功能 发动机冷却液温度传感器,也称为ECT,是帮助保护发动机,提高发动机工作效率以及帮助发动机稳定运行的非常重要的传感器之一。 发动机冷却液温度 (ECT) 传感器用于测量发动机的冷却液温度&…

基于UDS的Flash 刷写——BootLoad刷写流程详解

从0开始学习CANoe使用 从0开始学习车载测试 相信时间的力量 星光不负赶路者,时光不负有心人。 目录 流程概述UDS流程详解释前编程①诊断会话控制 - 切换到扩展会话(10 03)②例程控制-预编程条件检查(31 01 02 03)③DTC…

QT中使用QAxObject类读取xlsx文件内容并显示在ui界面

一、源码 #ifndef MAINWINDOW_H #define MAINWINDOW_H#include <QMainWindow>QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACEclass MainWindow : public QMainWindow {Q_OBJECTpublic:MainWindow(QWidget *parent nullptr);~MainWindow();pr…

下载B站视频作为PPT素材

下载B站视频作为PPT素材 1. 下载原理2. 网页分析3. 请求页面&#xff0c;找到数据4. 数据解析5. 音频、视频下载6. 合并音频与视频7. 完整代码 其实使用爬虫也不是第一次了&#xff0c;之前从网站爬过图片&#xff0c;下载过大型文件&#xff0c;如今从下载视频开始才想到要写一…

【C++算法/学习】位运算详解

✨ 忍能对面不相识&#xff0c;仰面欲语泪现流 &#x1f30f; &#x1f4c3;个人主页&#xff1a;island1314 &#x1f525;个人专栏&#xff1a;算法学习 &#x1f680; 欢迎关注&#xff1a;&#x1f44d;点赞 &…

Spring MVC (面试篇)

目录 什么是Spring MVC&#xff1f; 简单介绍下你对Spring MVC的理解&#xff1f; SpringMVC的优点 Spring MVC的主要组件&#xff1f; Spring MVC常用的注解由哪些&#xff1f; Controller注解的作用 加油兄弟们 &#xff01; &#xff01; ! 什么是Spring MVC&#xff1…