ChartGenerator

基于选定属性的值创建光栅线、条形图、散点图、直方图或饼图,具有交互式界面,允许用户在设计图表布局时使用示例数据预览选定要素。Multiple data series may be specified for plotting on the same chart and many options for chart presentation and labeling are available. This transformer replaces the deprecated WebCharter transformer.

此转换器允许创建5种不同的图表类型:直线、散点、饼图、条形图和直方图。每种类型都有不同的特定于图表的选项。

输入端口

可以从任何一个属性指定图表的输入数据值,或者,或者,列出与webcharter兼容性的属性。

从属性指定数据时,每个指定的属性定义数据系列,每个功能都在数据系列中提供值。在此模式下,该变压器成为阻塞变压器,仅在所有输入特征之后释放特征,或者已经接收到数据系列中的所有值。因此,所有输入功能的总和会产生单个栅格图表,或者如果Group By已启用。

When data is specified via list attributes, each feature represents a chart and each list attribute on the feature represents a data series in the chart. In this mode, this transformer becomes non-blocking as a single feature contains all the data needed to generate the chart and one output feature is produced for each input feature.Group By在此模式下忽略设置。

输出Ports

参数

Transformer

Chart Settings

传说

For all图表类型sexcept Pie charts, additional Axes settings can be set, such asX轴标签Y轴标签.

Further there are additional settings which can be set for each axis individually. These include:

风格

输出

数据系列

此处可用的参数取决于图表类型参数。每个参数图表类型are detailed below.

线路

分散

Histogram

馅饼

Bar

编辑变压器参数

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, clickbeside the applicable parameter. For more information, seeTransformer Parameter Menu Options.

定义值

这个re are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.

对话框选项 - 表格

Transformers with table-style parameters have additional tools for populating and manipulating values.

FME Licensing Level

FME专业版及以上

FME Community

这个FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

搜索有关此变压器的样本和信息FME Community.