BarLineChartExpression

Description

The BarLineChartExpression inherits from BarChartExpression, StackedCategoricalChartExpression, CategoricalChartExpression and AbstractChartExpression.

The additional properties added by this expression support setting values for the line series and second range axis that render the line portion of the chart. The similar properties in the bar chart sets the values for the bar series. This expression is also unique in that it requires two data collector functions - one for the bar series and one for the line series. The bar data is recognized by the standard datasource property, while the line data is recognized by the linesDataSource property, detailed below.

BarLineChartExpression Properties

Property Name

Data Type

*Description*

linesDataSource

String

Before the chart can be rendered, it must have data collected by one of the available collector functions. This needs to be the name of the xxxSetCollectorFunction in the report document that collects the data for the line series.

secondValueAxisLabel

String

The label for the second range or value axis that plots the line series.

linesSeriesColor

Array of Strings

Zero-based array of strings, one color for each line series. Each element is a color in either HTML notation (like #80f000), or one of the w3c defined color names (like "cadet blue").
Example:
<property name="seriesColor[0]">#018FE1</property>
<property name="seriesColor[1]">#CB02D2</property>

categoryTickLabelFont

String

Font for the category axis tick labels. The format for the font is as follows:
fontfamilyname-style-pointsize
Style can be one of: BOLD, BOLDITALIC, or ITALIC
Example: Arial-BOLD-14
Default: SansSerif—8

barsLabelFont

String

Font for the bar value axis label. The format for the font is as follows:
fontfamilyname-style-pointsize
Style can be one of: BOLD, BOLDITALIC, or ITALIC
Example: Arial-BOLD-14
Default: SansSerif—8

linesLabelFont

String

Font for the line value axis label. The format for the font is as follows:
fontfamilyname-style-pointsize
Style can be one of: BOLD, BOLDITALIC, or ITALIC
Example: Arial-BOLD-14
Default: SansSerif—8

barsTickLabelFont

String

Font for the bar value axis tick labels. The format for the font is as follows:
fontfamilyname-style-pointsize
Style can be one of: BOLD, BOLDITALIC, or ITALIC
Example: Arial-BOLD-14
Default: SansSerif—8

linesTickLabelFont

String

Font for the line value axis tick labels. The format for the font is as follows:
fontfamilyname-style-pointsize
Style can be one of: BOLD, BOLDITALIC, or ITALIC
Example: Arial-BOLD-14
Default: SansSerif—8

barTicksLabelFormat

String

Sets the numeric format for the bar value axis tick labels. Should contain a valid Java DecimalFormat mask for formatting the decimal number.

lineTicksLabelFormat

String

Sets the numeric format for the line value axis tick labels. Should contain a valid Java DecimalFormat mask for formatting the decimal number.

lineStyle

String

Sets the style of the series lines - valid values are solid, dot, dashdot, dashdotdot . This will set the style for all series lines.

lineWidth

Float

Sets the width of the series lines. The default value is 1.0, and can be any float value up to 10.0. This will set the width for all series lines.

markersVisible

Boolean (true/false)

Determines if there should be a visible marker at each point on a series line. When true, markers are visible. This controls markers for all line series.