Displaying custom HTML content in Truelog Explorer
- Examples of HTML contents in the truelog (graphs)
- Basic usage
- Custom functions
- Base HTML files
In this video we're going to demonstrate how to output information directly in the truelog, taking advantage of the Truelog Explorer rendering capabilities to show graphs using dynamic data collected during the execution of a try script.
Here, we collected the measures from custom timers.
The first node shows the timers in plain text. The first line is a list of individual timers (or labels), and the second line represents the values. We'll get back to the use of labels and values later in this video.
In the second node we chose to display timers as a line graph. Notice tooltips are available for each measure.
This is what it looks like as a bar graph.
And finally, we can also see our custom timers as a pie graph.
Having run more than 1 iteration means we can collect minimum and maximum values for certain measures.
Here we see them as a line graph, and the minimum and maximum values for this particular measure.
To use this feature, all we do here is to collect the measure and add it as a label and a value to a pair of lists that store labels and values.
Then, the lists are passed onto the ShowTimers() and ShowTimersPie() functions, which are defined in showfuncs.bdh include file.
In this video, we provided a demonstration on how to display custom and dynamic HTML content in Truelog Explorer, by exploring a new built-in feature available in Silk Performer 16.5.
To download a sample project, click here: TruelogInfo.zip