14.8 Chart2HTML

Use this Knowledge Script to generate an HTML page containing a chart and/or table of the data referenced in an XML file. Export data from a report to an XML file using the Report to XML command on the Export menu in the AppManager Chart Console.

To use this script successfully, the XML file must be saved to a folder accessible by the report agent.

14.8.1 Resource Object

Report agent

14.8.2 Default Schedule

The default schedule is Run once.

14.8.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How To Set It

Event for report success?

Set to y to raise an event when the report is successfully generated. The default is y.

XML input file

Specify the full path to the .XML file generated from the AppManager Chart Console.

Select output folder

Set parameters for the output folder.

Chart type

Select the type of data display you want in the report:

  • Chart (chart only)

  • Data (table only)

  • Chart and Data (chart and table)

Time frame

Select the time frame for data in the report:

  • All (all data referenced by the XML file)

  • Today (any data from the day the report script is run -- 12 A.M. to 11:59:59 P.M.)

  • Yesterday (any data from the day before the report script is run -- 12 A.M. to 11:59:59 P.M.)

  • This Week (any data from the week during which the report script is run -- 12 A.M. Sunday to the time of the report)

  • This Month (any data from the month during which the report script is run -- 12 A.M. of the first day to the time of the report)

  • This Year (any data from the year during which the report script is run -- 12 A.M. January 1 to the time of the report)

Fit into one graph?

Set to y to fit all data into a single graph. The default is y.

Report title

Provide a title for the report.

Severity for report success

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 35 (magenta level indicator).

Severity for report failure.

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 5 (red level indicator).