UpdateLegendFormat
This function updates the Chart's legend font format .
Function Definition:
void UpdateLegendFormat (string family, int size, bool isBold, bool isItalic)
. family: Represents the font family of the Title.
. size: Represents the font size of the Title.
. isBold: Represents if the Title is Bold or not.
. True - Bold;
. False - Not bold;
. isItalic: Represents if the Title is Italic or not.
. True - Italic;
. False - Not italic;
To configure this function, follow the steps below:
1. In an object event, configure the UpdateLegendFormat function: ChartObjectName.UpdateLegendFormat(family, size, isBold, isItalic);
2. During the execution of RunTime, run the configured event.
Example UpdateLegendFormat:
In the graphic document, the user has one Chart object (named as GraphicObject1). In a Text-Box object (named as GraphicObject2) the user configures the MouseUp event with the following event:
GraphicObject1.UpdateLegendFormat("Arial",10,true,false);
In this event, the GraphicObject2 will sets the object title font family to Arial, font size to 10, bold and not italic.
|
Note: This property exists only to the following objects: . Charts |