The BasicTrendChart is simply a histogram for a single integer. It will subscribe to the value in PLCAddressValue and each time a value is returned it is put into the Value property. This in turn adds it to the Points collection. When the Points collection reaches the MaxPoints, it will delete the oldest value.
The BasicDataLogger saves values, specified by PLCAddressValue, in a text file, as specified by FileFolder and FileName, with a time stamp. You can specify whether to log by time interval or change of value using the LogTriggerType and LogInterval properties.