colorLegends.titleVisible

Sets the visibility of the legend title bar within a color-key legend (on charts that have multiple color legends).

Type

Boolean

Examples

Chart1.colorLegends['Sum(Product:Quantity Purchased)'].titleVisible = true;
Chart1.colorLegends['Sum(Product:Total)'].titleVisible = false;

colorLegendsTitleVisible

Either syntax below can be used in component script:

colorLegends['...'].titleVisible           // unqualified
Chart1.colorLegends['...'].titleVisible    // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.