Promotic
WikipediaLinkedInYoutubeTwitterFacebook

TableFormat - property of object tvGraph

Description:
Format of column values in the table mode.

Setting this property differs according to setting the TableFormatType property:

If it is 10, then the format formula is set to TableFormat in the form, for example, "%x.yf" where: x=maximum number of places, y=y number of decimal places from the x number of places at the most.

If it is 1, then the maximum number of decimal places is set to the TableFormat.

Default value is the string "%4.f".

Syntax:
TableFormat As Variant
Calling:
oGraph.TableFormat = format
Note:
Property access for read and write. The preset value of this property is defined in the Value configurator of this object.

The property is used only when the table mode is set.

When the object is created, the value of this property is copied from the TrendsView.GraphInit object.

Example1:
The view format is a real number with the maximum decimal places of 2.
oGraph.TableFormatType = 1
oGraph.TableFormat = 2
Example2:
The view format is a real number with the maximum places of 8 digits from which there are 2 decimal places.
oGraph.TableFormatType = 10
oGraph.TableFormat = "8.2f"
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice