tBarChart Standard properties
These properties are used to configure tBarChart running in the Standard Job framework.
The Standard tBarChart 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. Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
Information noteNote:
The schema of tBarChart contains three read-only columns named series (string), category (string), and value (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 bar 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 bar chart to be generated. |
Include legend |
Select this check box if you want the bar chart to include a legend, indicating all series in different colors. |
3Dimensions |
Select this check box to create an image with 3D effect. By default, this check box is selected and the bars representing the series of each category will be stacked one over another. If this check box is cleared, a 2D image will be created, with the bars displayed one besides another along the category axis. |
Image width and Image height |
Enter the width and height of the image file, in pixels. |
Category axis name and Value axis name |
Enter the category axis name and value axis name. |
Foreground alpha |
Enter an integer in the range of 0 to 100 to define the transparency of the image. The smaller the number you enter, the more transparent the image will be. |
Plot orientation |
Select the plot orientation of the bar chart: VERTICAL or HORIZONTAL. |
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. |