UpdateTrend
function UpdateTrend(FB_TrendHmi: TcHmi.Symbol): void
The function UpdateTrend updates a TcHmiTrendLineChart control with the ID Trend_TrendLineChart
and displays values. The TcHmiRegion control with the ID Portrait_MainContent_Region
is used to check whether the TargetContent property has the value Contents/Home.content
or not, since the content on which the TcHmiTrendLineChart control exists can also be reused on the Contents/Home.content
by another TcHmiRegion control. By using the function UpdateTrendAxisColors the colors of the curves can be adjusted.
Parameter
Name | Type | Description |
---|---|---|
FB_TrendHmi | The symbol of the FB of type FB_TrendHmi from the |
Return value
Type | Description |
---|---|
void | no return value |
NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions
Available from version 12.6.0
Usage: TC3 Plastic Application HMI projects