tBarChart
Generates a bar chart from the input data to ease technical analysis.
tBarChart reads data from an input flow and transforms the data into a bar chart in a PNG image file.
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
| Properties | Description |
|---|---|
|
Schema and Edit schema |
|
|
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
| Properties | Description |
|---|---|
|
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
| Variables | Description |
|---|---|
|
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 more information about variables, see Using contexts and variables. |
Usage
| Usage guidance | Description |
|---|---|
|
Usage rule |
This component is mainly used as Output component. It requires an Input component and Row main link as input. |