tLineChart Standard properties
These properties are used to configure tLineChart running in the Standard Job framework.
The Standard tLineChart component belongs to the Business Intelligence family.
The component in this framework is available in all Talend products.
Basic settings
Schema and Edit Schema |
A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields. Information noteNote:
The schema of tLineChart contains three read-only columns named series (string), x (integer), and y (integer) respectively, in a fixed order. The data in any extra columns will be only passed to the next component, if any, without being presented in the generated line chart. |
|
Built-in: The schema is created and stored locally for this component only. Related topic: see Talend Studio User Guide. |
|
Repository: The schema already exists and is stored in the Repository, hence can be reused. Related topic: see Talend Studio User Guide. |
Sync columns |
Click to synchronize the output file schema with the input file schema. The Sync function only displays once the Row connection is linked with the output component. |
Generated image path |
Name and path of the output image file. |
Chart title |
Enter the title of the line chart to be generated. |
Domain axis label and Range axis label |
Enter the domain axis (X axis) and range axis (Y axis) labels. |
Plot orientation |
Select the plot orientation of the range axis: Vertical or Horizontal. |
Include legend |
Select this check box if you want your line chart to include a legend, indicating the lines of different series in different colors. |
Image width and Image height |
Enter the width and height of the image, in pixels. |
Moving average |
Select this check box to show a moving average for each series on your line chart. With this check box selected, the Period field appears, letting you define a period of which you want to show the moving average. |
Lower bound and Upper bound |
Define the lowest and highest values to be displayed on the range axis. |
Chart background and Plot background |
Select the chart background color and the plot area background color. |
Advanced settings
tStat Catcher Statistics |
Select this check box to collect log data at the component level. |
Enable parallel execution |
Select this check box to perform high-speed data processing, by treating
multiple data flows simultaneously. Note that this feature depends on the database or
the application ability to handle multiple inserts in parallel as well as the number of
CPU affected. In the Number of parallel executions
field, either:
|
Global Variables
Global Variables |
NB_LINE: the number of rows read by an input component or transferred to an output component. This is an After variable and it returns an integer. ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl + Space to access the variable list and choose the variable to use from it. For further information about variables, see Talend Studio User Guide. |
Usage
Usage rule |
This component is mainly used as Output component. It requires an Input component and Row main link as input. |