Reading Historian OPC UA data

I have a BECKHOFF plc with OPC UA. There are several tags in the PLC which are logged in the PLC with OPC UA historian. The format of data is .hst but it is possible to use Compact SQL for saving data in the PLC. My question is, how I create a trend to show the data which is saved in the PLC? Is it possible at this point?
In other words, is it possible to create a trend from data which are saved in PLC?