LineGraph - Generates a line chart (PNG)

Generates a line chart image of the PNG format based on input data.
For the flow example that uses this component, please refer to "Example of flow using various chart components".
This component uses BFO library.

Chart sample


Stream Information

InputFormatRecord
Number of Inputs1
Description Field is pre-defined for this chart. This is read-only. For definitions, please refer to following topic "Input stream definition".
OutputFormatBinary
DescriptionOutputs the chart image of the PNG format.

Output Stream Variables

NameData TypeDescription
AreaTagsStringDon't output from this component.

Component Properties

NameData TypeMappingDescription
WidthintIn & Out Specifies the width of chart image by pixel.
HeightintIn & Out Specifies the height of chart image by pixel.
TitlestringIn & Out Specifies the label of top of the chart.
KeychoiceIn & Out Specifies the position to display item names.
none [] - Don't display
top [top] - Display on top of chart
bottom [bottom] - Display on bottom of chart
left [left] - Display on left of chart
right [right] - Display on right of chart
LabelFormatchoiceIn & Out Specifies the date format of axis X.
date(yyyy/MM) [date(yyyy/MM)]
Display in the format <year>/<month>
date(yyyy/MM/dd) [date(yyyy/MM/dd)]
Display in the format <year>/<month>/<day>
date(MM/dd) [date(MM/dd)]
Display in the format <month>/<day>
3DbooleanIn & Out Specifies if enables chart 3D.
true [true] - 3D
false [false] - Not 3D
LabelRotateintIn & Out Specifies the inclination of the label of the chart.
If specifies "-20", The label becomes a right shoulder going up. To display the label vertically, specifies like "90" or "-90"
AxisSettinggroup- Properties for specifies axis information.
LeftMinintIn & Out Specifies minimum of axis Y.
LeftMaxintIn & Out Specifies maximum of axis Y.
LeftLabelstringIn & Out Specifies label of axis Y.
BottomLabelstringIn & Out Specifies label of axis X.
BackwallPaintchoiceIn & Out Specifies a background of the chart.
none []
No background
cross [stripe(#EEEEEE,line=black,axis=left,altaxis=bottom)]
Lattice
stripe [stripe(#DDDDDD, #EEEEEE, line=#AAAAAA, axis=bottom, altaxis=left)]
Stripe
gradation [gradient(#CCCCFF,white)]
Blue gradation
Standard ColorsstringIn & Out Specifies colors or patterns to use in a chart.
36 of deefault colors are defined. These are used periodically. When clicking the field, the "Select default colors" dialog is displayed. Click the color, edit it, click the "Set" button, then the color is changed.

Transaction

CommitDo nothing
RollbackDo nothing

Exceptions

TypeParameterStream for error handling flowError
Code
Description
Exception None This component's input stream - When failed to generate a chart
RecordNotFoundException None This component's input stream2When no record is input

Input stream definition

Input stream of this component is defined as follows.

Field NameTypeRequiredDescription
LineNameStringYesLine name.
KeyDateTimeYesChart date.
ValueDecimalYesItem value.
ColorStringNoLine color.
If specified, use specified color instead of the color specified by Colors .

Replacing component

This component can be replaced with the following components. Click "Replacing component" of the menu when right-clicking the compoent.

AreaGraph component

Generates an area chart. The input stream is the same. It can be replaced each other.

Graph component

If you want to customize a chart more, you can customize further details by replacing with Graph component. You can customize chart more by modifying the template in Graph component. For details, please refer to Graph component's help
After replacing with Graph component, you can not replace it with this component again.