ScaleLabels SetLevelSettings Method TIBCO Spotfire 6.0 API Reference
Sets the scale value renderer type for a hierarchy level on a categorical axis.

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void SetLevelSettings(
	string expressionDisplayName,
	TypeIdentifier typeId
)

Parameters

expressionDisplayName
Type: System String
The display name of the expression to be rendered.
typeId
Type: Spotfire.Dxp.Framework.DocumentModel TypeIdentifier
The type id for the renderer.
Remarks

This feature will only have effect on the following axes: Bar chart x axis, Line chart x axis, Combination Chart x axis, Scatter plot x and y axes and Heat map x and y axes. For the case when the axis can be both continuous and categorical, the feature will only have effect when the axis is in categorical mode.
Examples

The way to set a renderer and interact with its settings, assuming that there is an expression with display name "Images" on the current axis, is as follows:
axis.ScaleLabels.SetLevelSettings("Images", ValueRendererTypeIdentifiers.BitmapRenderer);
axis.ScaleLabels["Images"].Size = 40;
axis.ScaleLabels.SetLevelSettings("Images", MyValueRendererTypeIdentifiers.MyValueRenderer);
axis.ScaleLabels["Images"].Size = 40;
MyValueRendererSettings mySettings = 
   (MyValueRendererSettings)axis.ScaleLabels["Images"].RendererSettings;
mySettings.MyBestProperty = "Good";
and in a more complicated case where the developer needs to use a custom renderer and also interact with its settings:
See Also