Promotic
WikipediaLinkedInYoutubeTwitterFacebook

LabelBorderFormat - property of object tvTrend

Description:
Format of scale edge legends.
Syntax:
LabelBorderFormat As Variant
Calling:
oTrend.LabelBorderFormat = format
Note:
Property access for read and write. Setting this property is the same as the setting of the LabelBorderFormat property and meaning depends on the value of the tvScale.LabelBorderFormatType property.

Moreover it is possible to set here the value trend.LabelBorderFormat="$dbind", which means that this property doesn't keep its value of the format but it reads it from the tvScale.LabelBorderFormat property.

The preset value of the property is the value "$dbind".

Example:
If the active trend (see TrendsView.TrendActive) is the first trend (trend with the index 0), then the legends of the value scale edges are numeric values to 1 decimal places. If the active trend is the second trend (trend with the index 0), then the legends of the value scale edges are numeric values to 2 decimal places. The legends of the time scale edges are the time with the format: day.month.year NewLine hour:minute:second.
oTView.Trends(0).LabelBorderFormat = 0
oTView.Trends(1).LabelBorderFormat = 2
oTView.ScaleTime.LabelBorderFormat = "%d.%m.%Y" & vbLf &"%H:%M:%S"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice