Chart Title Properties

FootnoteAutofit

This property controls automatic fitting of the chart footnote string. When this property is enabled, font settings for the footnote string will be ignored. When this property is disabled, large font settings may cause the footnote string to be larger than its bounding box. Use setRect() to change the size and location of the bounding box.

DATA TYPE:

boolean

RANGE:

true / false; true = Autofit footnote text, false = Allow footnote text to be any size

DEFAULT:

true

SYNTAX:

void setFootnoteAutofit(boolean newValue);
boolean getFootnoteAutofit();

EXAMPLE:

setFootnoteAutofit(true);
setFontSizeVC(getFootnote(),4480);

setFootnoteAutofit(false);

ALSO SEE:

FootnoteDisplay, FootnoteString

FootnoteDisplay

This property enables/disables drawing of the footnote string that is defined by the FootnoteString property.

DATA TYPE:

boolean

RANGE:

true / false; true = Draw footnote string, false = Do not draw footnote

DEFAULT:

true

SYNTAX:

void setFootnoteDisplay(boolean newValue);
boolean getFootnoteDisplay();

EXAMPLE:

setGraphType(69);
setFootnoteDisplay(false);

setFootnoteDisplay(true);

ALSO SEE:

FootnoteAutofit, FootnoteString

FootnoteString

This property is defines the footnote text that is drawn when the FootnoteDisplay property is enabled. When a footnote string is defined with this property, FootnoteDisplay is automatically set to true.

DATA TYPE:

string

RANGE:

Any printable characters

DEFAULT:

null string

SYNTAX:

void setFootnoteString(String newValue);
String getFootNoteString();

EXAMPLE:

setDepthRadius(0);
setFootnoteString("FOOTNOTE 1");

setFootnoteString("FOOTNOTE 2");

ALSO SEE:

FootnoteAutofit, FootnoteDisplay

SubtitleAutofit

This property enables (true) / disables (false) automatic fitting of the subtitle string that is defined by the SubtitleString property and enabled for display by the SubtitleDisplay property.

DATA TYPE:

boolean

RANGE:

true / false; true = automatically fit/size subtitle string within the bounds set by setRect(getSubtitle(); ), false = Allow subtitle string to be any size

DEFAULT:

true

SYNTAX:

void setSubtitleAutofit(boolean newValue);
boolean setSubtitleAutofit();

EXAMPLE:

setSubtitleAutofit(true);
setFontSizeVC(getSubtitle(),2782);
setSubtitleString("THIS IS THE CHART'S SUBTITLE");

setSubtitleAutofit(false);

ALSO SEE:

SubtitleDisplay, SubtitleString, setFontSizeVC()

SubtitleDisplay

This property controls drawing of the chart subtitle defined by SubtitleString.

DATA TYPE:

boolean

RANGE:

true / false; true = Display chart subtitle, false = Do not display chart subtitle

DEFAULT:

true

SYNTAX:

void setSubtitleDisplay(boolean newValue);
boolean setSubtitleDisplay();

EXAMPLE:

setSubtitleAutofit(true);
setFontSizeVC(getSubtitle(),2782);
setSubtitleString("THIS 
IS THE CHART'S SUBTITLE");
setSubtitleDisplay(true);

setSubtitleDisplay(false);

ALSO SEE:

SubtitleAutofit, SubtitleString

SubtitleString

This property defines the subtitle text that is drawn in the chart when SubtitleDisplay is true. When a subtitle string is defined with this property, SubtitleDisplay is automatically set to true.

DATA TYPE:

string

RANGE:

Any printable characters

DEFAULT:

"Chart Subtitle"

SYNTAX:

void setSubtitleString(String newValue);
String getSubtitleString();

EXAMPLE:

setSubtitleAutofit(true);
setFontSizeVC(getSubtitle(),2782);
setSubtitleString("THIS IS THE CHART'S SUBTITLE");

ALSO SEE:

SubtitleAutofit(), SubtitleDisplay

TitleAutofit

This property controls automatic fitting of the title string that is defined by the TitleString property and enabled for display by the TitleDisplay property.

DATA TYPE:

boolean

RANGE:

true / false; true = Automatically size to fit title string inside the bounding box set by setRect(getTitle(),...); , false = Allow title string to be any size

DEFAULT:

true

SYNTAX:

void setTitleAutofit(boolean newValue);
boolean getTitleAutofit();

EXAMPLE:

setTitleAutofit(true);
setFontSizeVC(getTitle(),3710);

setTitleAutofit(false);

ALSO SEE:

TitleDisplay, TitleString, setFontSizeVC()

TitleDisplay

This property enables (true) / disables (false) drawing of the graph's title string that is defined by the TitleString property.

DATA TYPE:

boolean

RANGE:

true / false; true = Display title string, false = Do not display title string

DEFAULT:

true

SYNTAX:

void setTitleDisplay(boolean newValue);
boolean getTitleDisplay();

EXAMPLE:

setTitleDisplay(true);
setSubtitleDisplay(false);
setLegendDisplay(false);
setY1LabelDisplay(false);

setTitleDisplay(false);
setSubtitleDisplay(false);
setLegendDisplay(false);
setY1LabelDisplay(false);

ALSO SEE:

TitleAutofit, TitleString

TitleString

This property to used to define the title text that will be drawn in a chart when the TitleDisplay property is set to true. When a title string is defined with this property, the TitleDisplay property is automatically set to true.

DATA TYPE:

string

RANGE:

Any printable characters

DEFAULT:

"Chart Title"

SYNTAX:

void setTitleString (String newValue);
String getTitleString();

EXAMPLE:

setDepthRadius(0);
setAxisAssignment(getSeries(0), 1);
setAxisAssignment(getSeries(1), 2);
setAxisAssignment(getSeries(2), 3);
setAxisAssignment(getSeries(3), 4);
setGraphType(105);
setTitleString("This is a 5Y-Axis Chart");

ALSO SEE:

TitleAutofit, TitleDisplay