Skip to main content

Chart

HTML Generator for Creating a Chart


HTMLGenerator Settings

  • Connect the output of the Aggregator to the input of the HTMLGenerator.
  • In the Page Settings section, Write the Page Title you want to be shown on the page tab.
  • Under the Page Contents, click on the first empty row.
  • You can see the available HTML elements in the list. First, add a Header element to specify the page's header.
  • Under the Content Settings, in the Text input, write the title you want to be shown on the page.
  • Choose the Header Level; the header font size decreases as the number beside h increases.
  • Based on the FME sample, we want to create a bar chart, so we choose the Chart (Bar) from the list.
  • Write the X Axis Lable, based on the sample, we write Day Of Week cause we are generating a report of the number of collisions per day.
  • Choose DayOfWeek for the X Thick Table Attribute select box.
  • Write the Y Axis Lable.
  • Choose the dayOfWeekCount for the Data Attribute column in the Data Series section.
  • Changing the Color of the chart is your choice.
  • You can also click on Preview in Browser to see what it looks like.
  • Click on OK