wps迷你版表格内文字缩放

When you’re working with large amounts of data in a Google Sheets spreadsheet, it isn’t always convenient to drop a chart into the mix. To help you, you can create one-cell charts using the SPARKLINE function instead.

当您使用Google表格电子表格中的大量数据时,将图表放入组合中并不总是很方便。 为了帮助您,您可以改用SPARKLINE函数创建一个单元格图表。

A sparkline chart is a very small line chart that allows you to quickly visualize your data. It’s useful if you want to quickly see if share price data in a spreadsheet was going up or down, for instance.

迷你图是一种非常小的折线图,可让您快速可视化数据。 例如,如果您想快速查看电子表格中的股价数据是上涨还是下跌,这很有用。

The SPARKLINE function in Google Sheets allows you to insert these types of charts into a single cell on your spreadsheet. While a sparkline is typically a line chart, the SPARKLINE function enables you to create alternatives, including single-cell bar and column charts.

Google表格中的SPARKLINE函数可让您将这些类型的图表插入电子表格中的单个单元格中。 迷你图通常是折线图,而SPARKLINE函数使您可以创建替代方案,包括单格条形图和柱形图。

将基本迷你图插入Google表格 (Inserting Basic Sparklines into Google Sheets)

The SPARKLINE function can be used simply, with no additional formatting or options applied. All you need is a set of data in a single row or column that can be used to create a sparkline chart, such as a range of figures that go up or down.

SPARKLINE函数可以简单使用,而无需应用其他格式或选项。 您只需要在一行或一列中包含一组数据即可用于创建迷你图,例如一系列向上或向下的数字。

The typical format for creating a very basic sparkline, with no additional formatting or options, is =SPARKLINE(data). Replace “data” with the cell range that contains your data.

在没有其他格式或选项的情况下,创建非常基本的=SPARKLINE(data)的典型格式为=SPARKLINE(data) 。 将“数据”替换为包含数据的单元格区域。

In the example below, cells A3 to D3 contain a set of numbers from 1 to 100. A sparkline inserted into cell A5 using the SPARKLINE function has created a visual representation of this data.

在下面的示例中,单元格A3到D3包含一组从1到100的数字。使用SPARKLINE函数插入到单元格A5中的迷你图已经创建了此数据的直观表示。

The visualization shows the variation in the numbers, with a line that goes up (12 to 44) and then down (44 to 8) before rising sharply (8 to 98) to complete the chart. The sparkline fills the entire cell.

可视化显示数字的变化,一条线先上升(12至44),然后下降(44至8),然后急剧上升(8至98)以完成图表。 迷你图填充整个单元格。

创建不同类型的迷你图 (Creating Different Types of Sparklines)

While a basic sparkline requires no additional options, the SPARKLINE function does allow for other types of single-cell charts to be created.

虽然基本迷你图不需要任何其他选项,但SPARKLINE函数确实允许创建其他类型的单单元格图表。

Using SPARKLINE, you can create a bar, column, or win/loss chart, along with the typical line chart shown above.

使用SPARKLINE,您可以创建条形图,柱形图或损益表,以及上面显示的典型折线图。

To do that, you need to add options to your SPARKLINE formula. The format for adding additional options, including selecting the type of chart to generate, is =SPARKLINE(data, {option, choice}) where “option” is a SPARKLINE option, and “choice” is the matching choice for that option.

为此,您需要在SPARKLINE公式中添加选项。 用于添加其他选项(包括选择要生成的图表类型)的格式为=SPARKLINE(data, {option, choice}) ,其中“ option”是SPARKLINE选项,“ choice”是该选项的匹配选项。

Switching to different types of sparklines requires you to use the “charttype” option. You don’t need to set this for standard line charts, but for other types of sparklines, use =SPARKLINE(data,{"charttype","bar / column / winloss"}).

切换到不同类型的迷你图需要您使用“图表类型”选项。 您无需为标准折线图设置此设置,但对于其他类型的=SPARKLINE(data,{"charttype","bar / column / winloss"}) ,请使用=SPARKLINE(data,{"charttype","bar / column / winloss"})

Delete the types of charts you don’t want to use as appropriate.

删除您不想使用的图表类型。

格式化Google表格迷你图 (Formatting Google Sheets Sparklines)

The “options” section of a SPARKLINE formula is an array, allowing you to use multiple criteria to format your sparkline.

SPARKLINE公式的“选项”部分是一个数组,使您可以使用多个条件来设置迷你图的格式。

更改线条迷你图颜色 (Changing Line Sparkline Colors)

For the four types of sparkline charts that the SPARKLINE function can create, various “color” options exist to allow you to alter the color of the line or bars it creates.

对于SPARKLINE函数可以创建的四种类型的迷你图,存在各种“颜色”选项,可用于更改其创建的线或条的颜色。

As line sparklines consist of a single line, there is only a single “color” option.

由于线条迷你图由一条直线组成,因此只有一个“颜色”选项。

To change this, type =SPARKLINE(data, {"color","red"}) and replace the color with either a name or a color hex code.

要更改此设置,请键入=SPARKLINE(data, {"color","red"})然后用名称或十六进制颜色代码替换颜色。

更改列和胜/负迷你图颜色 (Changing Column and Win/Loss Sparkline Colors)

Column and win/loss sparklines have multiple color options.

列和赢/输迷你图具有多种颜色选择。

These include “lowcolor” to set the color for the column with the lowest value, “highcolor” for the column with the highest value, “firstcolor” for the first column, “lastcolor” for the last column, “axiscolor” to set the color of any axis lines, and “negcolor” for any negative value columns.

其中包括“ lowcolor”为最低值的列设置颜色,“ highcolor”为最高值的列设置,第一列为“ firstcolor”,最后一列为“ lastcolor”,“ axiscolor”为设置值。任何轴线的颜色,任何负值列的颜色为“ negcolor”。

Like the standard line sparkline, you can also set “color” to set a general color for all column values.

与标准线迷你图一样,您也可以设置“颜色”为所有列值设置常规颜色。

For column sparklines, type=SPARKLINE(data, {"charttype","column"; "color","red"}). For win/loss sparklines, type =SPARKLINE(data, {"charttype","winloss"; "color","red"}).

对于列=SPARKLINE(data, {"charttype","column"; "color","red"}) ,键入=SPARKLINE(data, {"charttype","column"; "color","red"}) 。 对于获胜/亏损=SPARKLINE(data, {"charttype","winloss"; "color","red"}) ,键入=SPARKLINE(data, {"charttype","winloss"; "color","red"})

Add the various “color” options as appropriate, separating them each with a semi-colon.

适当添加各种“颜色”选项,并用分号将它们分开。

While it isn’t a requirement, you can use an additional option for win/loss charts (“axis” set to “true”) to show the dividing line between the “win” and “loss” options.

虽然不是必需的,但您可以使用其他选项来处理赢/输图表(“轴”设置为“ true”),以显示“赢”和“输”选项之间的分界线。

更改条形迷你图的颜色 (Changing Bar Sparkline Colors)

Bar sparklines, by default, display two bars. The “color1” and “color2” options allow you to set the color for each bar.

条形图迷你图默认情况下显示两个条形图。 “ color1”和“ color2”选项可让您设置每个条形的颜色。

To do this, type =SPARKLINE(data, {"charttype","bar"; "color1","red"; "color2","blue"}), replacing the colors with your own choice.

为此,键入=SPARKLINE(data, {"charttype","bar"; "color1","red"; "color2","blue"}) ,用您自己选择的颜色替换。

使用文本颜色设置迷你图的格式 (Formatting Sparklines Using Text Color)

You can also edit the color of line, bar, and win/loss sparklines quickly by clicking on the cell and changing the applied text color. This will work only if you haven’t applied “color” options within your SPARKLINE formula because these will take priority over any direct cell formatting you apply.

您还可以通过单击单元格并更改所应用的文本颜色来快速编辑线条,条形和赢/亏迷你图的颜色。 仅当您未在SPARKLINE公式中应用“颜色”选项时,此方法才有效,因为这些选项将优先于您应用的任何直接单元格格式。

To do this, click on your cell, and then select your color from the “Text Color” drop-down menu in the formatting toolbar.

为此,请单击您的单元格,然后从格式工具栏中的“文本颜色”下拉菜单中选择颜色。

其他迷你图选项 (Additional Sparkline Options)

Additional options you can apply to a SPARKLINE formula allow you to change how your sparkline is generated.

可以应用于SPARKLINE公式的其他选项使您可以更改迷你图的生成方式。

The “rtl” option (with “true” or “false” values) will shift a sparkline from right to left and works for all SPARKLINE formula chart types.

“ rtl”选项(具有“ true”或“ false”值)将迷你图从右移到左,并适用于所有SPARKLINE公式图类型。

You can use “max” (using “true” or “false”) to set the maximum value for the entire chart. In the example above, the values of A3 and B3 would need to add up to 100 for the entire cell to be filled. This option is only applicable to bar sparkline charts.

您可以使用“ max”(使用“ true”或“ false”)来设置整个图表的最大值。 在上面的示例中,对于要填充的整个单元格,A3和B3的值总共需要相加100。 此选项仅适用于条形迷你图。

To increase the width of a line sparkline chart, use the “linewidth” option, using a numerical value to set the width. The higher the number, the thicker the line.

要增加折线图的宽度,请使用“ linewidth”选项,并使用数值来设置宽度。 数字越高,线越粗。

翻译自: https://www.howtogeek.com/450155/how-to-use-sparklines-in-google-sheets/

wps迷你版表格内文字缩放

wps迷你版表格内文字缩放_如何在Google表格中使用迷你图相关推荐

  1. 如何在谷歌地图自定义范围_如何在Google表格中更改和创建自定义数字格式

    如何在谷歌地图自定义范围 Khamosh Pathak Khamosh Pathak By default, Google Sheets doesn't format numbers. If you' ...

  2. axure低保真原型_如何在Google表格中创建低保真原型

    axure低保真原型 Google Sheets is a spreadsheet, just like Microsoft Excel. Google表格是一个电子表格,就像Microsoft Ex ...

  3. 谷歌中阻止冒泡在火狐中失效_如何在Google表格中乘数字

    谷歌中阻止冒泡在火狐中失效 Whether you have two integers, a few cells, or a couple of columns that need to be mul ...

  4. 谷歌浏览器的翻译功能在哪_如何在Google表格中使用AND和OR功能

    谷歌浏览器的翻译功能在哪 If you've ever wanted to check whether data from your Google Sheets spreadsheet meets c ...

  5. 电子表格多轴图表_如何在Google表格中切换图表轴

    电子表格多轴图表 When you're creating graphs or charts in Google Sheets, you don't need to stick with the de ...

  6. 谷歌表格图表 横坐标 滚动_如何使用Google表格的“探索”功能构建即时图表

    谷歌表格图表 横坐标 滚动 The Explore feature in Google Sheets helps you gain insight from the data in your spre ...

  7. 在谷歌控制台上怎么换行_如何在Google表格中的单元格中换行

    在谷歌控制台上怎么换行 When you type text in a cell, Google Sheets automatically hides anything that extends be ...

  8. Java界面可以放GIF吗_如何在java窗体中插入gif图

    动态网页制作 动态网页 组件简介 字幕 横幅广告管理器 悬停按钮 10.1 动态网页(Top) 而动态HTML(Dynamic HTML,缩写为DHTML),可让网页元素(文字.图像等)显示简单的动画 ...

  9. 谷歌日历一键删除日程_如何在Google日历中删除新的提醒

    谷歌日历一键删除日程 In December 2015, Google added reminders to the Google Calendar app for Android and iOS u ...

最新文章

  1. WMI技术介绍和应用——查询环境变量
  2. 全栈工程师15年经验分享:40个改变编程技能的小技巧
  3. linux添加py自启动脚本_PyInstaller详解:将.py文件打包成exe文件
  4. 安装python程序后要进行什么设置-安装好Pycharm后如何配置Python解释器简易教程...
  5. virtualbox虚拟机XP连接本地WinXP
  6. POJ2752-Seek the Name, Seek the Fame【KMP】
  7. y空间兑换代码_loam代码解析3
  8. mybatis Example常用方法
  9. Android模拟器的建立以及HelloWorld的编写
  10. Java图片上查找图片算法
  11. 区块链改革(链改)全国行动委员会第一次会议胜利召开
  12. PySide6开发环境
  13. m0n0wall 软件防火墙 虚拟机中 安装与配置
  14. Android开发5年,怎么样通过自学拿到40W年薪的?,安卓面试题最新2020
  15. 【自动化测试】Web自动化测试框架01
  16. 如何看待 AI 方向 PhD 申请竞争过于激烈的现象?
  17. 扫二维码付款后看图片
  18. 微信小程序:全新独家云开发微群人脉
  19. 【安装pycocotools,烦死了】
  20. [CMS漏洞]EmpireCMS_V7.5的一次审计【转载】

热门文章

  1. jq判断复选框是否被选中及选中复选框
  2. 淘宝1688商品价格监控API接口(时效性高,可并发)
  3. 第9章第3节:给封面幻灯片中的元素添加动画效果 [PowerPoint精美幻灯片实战教程]
  4. HashMap遍历所有的key和value
  5. Python中@符号的用法
  6. android 层级边框,有没有一种简单的方法可以在Android视图的顶部和底部添加边框?...
  7. 一加8和一加8pro区别
  8. 【Android -- RxJava】RxJava2.0 教程(七),如何使用 Flowable
  9. Syntax error: “(” unexpected (expecting “done”)
  10. STM32--MPU6050 DMP读角度总结