Adapting the source data to the tLineChart schema - 6.5

Chart

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Business Intelligence components > Chart components
Data Quality and Preparation > Third-party systems > Business Intelligence components > Chart components
Design and Development > Third-party systems > Business Intelligence components > Chart components
EnrichPlatform
Talend Studio

Procedure

  1. Double-click the tMap to open the Map Editor.
    You can see an input table on the input panel, row1 in this example, and three empty output tables, named TV_A, TV_B, and TV_C on the output panel.
  2. Use the Schema editor to add three columns to each output table: series (string), x (integer), and y (integer).
  3. In the relevant Expression field of the output tables, enter the text to be presented in the legend area of the line chart, TV A, TV B, and TV C respectively in this example.
  4. Drop the Week column of the input table onto the x column of each output table.
  5. Drop the Mins_TVA column of the input table onto the y column of the TV_A table.
  6. Drop the Mins_TVB column of the input table onto the y column of the TV_B table.
  7. Drop the Mins_TVC column of the input table onto the y column of the TV_C table.
  8. Click OK to save the mappings and close the Map Editor and propagate the output schemas to the output components.