Element Details: Data+Labels
 Back


Available in: Logi Info Source code name: DataLabelsForRange

Data labels are text next to each data point showing its value. For ranges, there are two labels to represent the range. The DataLabelsForRange element controls the appearance and formatting of these labels.



ATTRIBUTES

Click attribute Name to drill down for more information.

NamePossible ValuesDescription
AlignmentHorizontal
Right
Left
Center
Sets the horizontal alignment of the text as "Left", "Center", or "Right".
AlignmentVertical
Top
Middle
Bottom
Sets the vertical alignment of the text as "Top", "Middle", or "Bottom".
BackgroundColor
UserDefined
Transparent
Sets the background color of the element. Enter a color by name, decimal RGB value, or hex RGB value. Prefix hex values with the pound sign, like #112233.
BackgroundColorTransparency
UserDefined
7
15
0
The related Background Color attribute sets the element’s background color. Background Color Transparency adds transparency to that color. The lowest value of “0” specifies that the background is opaque, with no transparency. At the other end of the scale, “15” specifies a completely transparent background. Use medium-level transparency to allow different chart layers to show through each other.
BorderColor
UserDefined
Transparent
Sets the color of border lines. Enter a color by name, decimal RGB value, or hex RGB value. Prefix hex values with the pound sign, like #112233.
BorderColorTransparency
UserDefined
7
15
0
The related Border Color attribute sets the canvas border line color. Border Color Transparency adds transparency to that color. The lowest value of “0” specifies that the border line is opaque, with no transparency. At the other end of the scale, “15” specifies a completely transparent line. Use medium-level transparency to allow different chart layers to show through each other.
BorderRadius
UserDefined
Sets the amount of rounding for canvas, legend, and data label corners, in pixels.
DataLabelBorderThickness
UserDefined
The thickness of border around data label. The default is 0.
FontAngle
UserDefined
90
0
Sets the text angle. The value is in degrees. Positive numbers rotate the text in a counter-clockwise direction. This can be set to either 0 - for horizontal and 90 - for vertical placement of text values. Middle values may be used with some elements. Backgrounds and borders do not always work with rotated labels.
FontColor
UserDefined
Sets the text color. Select a color name, or an RGB value.
FontFamily
UserDefined
Specifies the names of one or more fonts. When multiple fonts are specified, with commas between each, the browser uses the first recognized font.
FontSize
UserDefined
Specifies the size of the text.
FontWeight
Normal
Lighter
Bolder
Bold
Specifies the weight (thickness) of characters in text. Options include "Lighter", "Normal", "Bold", and "Bolder". The default value is "Normal".
Format
UserDefined
Allows a string to be formatted in various ways, especially for numeric and date values. Specifies formatting characteristics for the data. This attribute has been borrowed from the Microsoft Visual Basic Format function. For more information: http://msdn.microsoft.com/en-us/library/59bz1f0h(VS.71).aspx For dates, the non-specific formats, such as "General Date", "Short Time", etc., are converted according to the browser's international setttings. Also, for very large reports, the non-specific formats perform better. There are also some special formats. "<" and ">" change strings to lower and upper case. "Expanded Spaces" preserves space characters that would otherwise be collapsed by the web browser. "HTML" preserves HTML tags so that they are not encoded - they are embedded rather than shown. "Preserve Line Feeds" preserves line feed and cariage return characters so that the following characters appear on a new line. "mp" formats numbers with the "metric prefix". To format 1,234,567 as "$1.23M", use Format "$#.00mp". Supported metric prefixes are from 1000^6 to 1000^-6 For more information: http://en.wikipedia.org/wiki/Metric_prefix "mpsx" formats the value with x number of significant figures in addition to the metric prefix. So a value of 123456, with format set to mps3 will return 123k. "qq" returns the number of the quarter when the value being formatted represents a date. To return the year and quarter together like "2010 Q1", set the format to "yyyy Qqq". "fyy" and "fyyyy" return the fiscal year. "fqq" returns the fiscal quarter. The fiscal year start date may be configured in the settings' Globalization element. "ww" returns the number of the week. The first day of the week may be configured in the settings' Globalization element.
LabelPlacement
Outside
Inside
Sets the data point label placement. The default value is "Inside" for stacked bars, "Outside" for other cases. Only used by Bar and Bar Range series.
OffsetXHigh
UserDefined
Sets the horizontal position offset of the element relative to the horizontal alignment, in pixels.
OffsetXLow
UserDefined
Sets the horizontal position offset of the element relative to the horizontal alignment, in pixels.
OffsetYHigh
UserDefined
Sets the vertical position offset of the element relative to the vertical alignment, in pixels.
OffsetYLow
UserDefined
Sets the vertical position offset of the element relative to the vertical alignment, in pixels.



PARENT ELEMENTS

Click element to drill down for more information.

Series.Area Range Series.Area Spline Range Series.Bar Range


CHILD ELEMENTS

Click element to drill down for more information.



 Back to top


 Chart Debug