Apama 10.15.0 | Building and Using Apama Dashboards | Dashboard Property Reference for Graphs, Tables and Trends | Trend Objects | Sparkline charts | Sparkline chart: Legend group
 
Sparkline chart: Legend group
Properties in this group control the visibility, appearance, and content of the chart legend.
Legend group properties
The group contains the following properties:
* legendBgColor
* legendBgGradientColor2
* legendBgGradientMode
* legendTimeFormat
* legendValueMinSpace
* legendVisFlag
* legendWidthPercent
legendBgColor
Select the ... button and choose a color from the palette to set the background color of the legend. Close the Color Chooser window when you are done.
This property is in the Legend property group.
legendBgGradientColor2
Sets the color for the second color in the gradient. The default is white. The bgColor property sets the first color in the gradient.
This property is in the Background property group.
legendBgGradientMode
Display a gradient in the legend background rectangle. Select from the following options:
*None: No gradient.
*Diagonal Edge: Gradient is drawn at a 45 degree angle from the top left to the bottom right corner of the object.
*Diagonal Center: Gradient is drawn at a 45 degree angle from the center to the top left and the bottom right corners of the object.
*Horizontal Edge: Gradient is drawn horizontally from the top to the bottom of the object.
*Horizontal Center: Gradient is drawn horizontally from the center to the top and bottom of the object.
*Vertical Edge: Gradient is drawn vertically from the left to the right of the object.
*Vertical Center: Gradient is drawn vertically from the center to the left and right of the object.
This property is in the Background property group.
legendTimeFormat
Sets the format for the time displayed in the legend. Use syntax from the Java SimpleDateFormat class. For example, MMMM dd, yyyy hh:mm:ss results in the form August 30, 2010 05:32:12 PM. If no format is given, the timeFormat is used.
This property is in the Legend property group.
legendValueMinSpace
Specify the minimum distance in pixels between values and labels in the legend.
This property is in the Legend property group.
legendVisFlag
Select to display the legend.
This property is in the Legend property group.
legendWidthPercent
Sets the percent of the total width of the object used for the legend.
This property is in the Legend property group.