Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property Name

Data Type

Description

titlePosition

Decimal

Rotation of the categorical item label, between 0 and 1.

subTitles

String

Only used if categoricalLabelFormat is specified. Should contain a valid Java SimpleDateFormat mask for formatting the date value. Use this to format Java Date types. For formatting numbers, see categoricalLabelDecimalFormat.

borderVisible

String

Only used if categoricalLabelFormat is specified. Should contain a valid Java DecimalFormat mask for formatting the decimal number. Use this to format numbers. For formatting dates, see categoricalLabelDateFormat Array of Strings

Zero-based array of strings, one subtitle in each string.
Example:
<property name="subTitle[0]">First Subtitle</property>
<property name="subTitle[1]">Second Subtitle</property>

borderVisible

Boolean (true/false)

If true, a border is drawn around the exterior of the chart area.

borderPaint

String

When the categorical chart is generated, by default, the bars (for example) don't have any visible value. Sometimes, it's desirable to see the actual value associated with each bar, or each line. Can be a combination of text, and any of the following replaceable parameters:
{0} - The series name.
{1} - The (pre-formatted) x-value
{2} - The (pre-formatted) y-value
Default (from JFreeChart): Empty - no label

plotBackgroundPaint

String

The label for the categorical axis (commonly called the X-Axis Sets the color of the border of the chart. It is a color in either HTML notation (like #80f000), or one of the w3c defined color names (like "cadet blue").

plotBackgroundPaint

String

Sets the color of the plot background of the chart. It is a color in either HTML notation (like #80f000), or one of the w3c defined color names (like "cadet blue").

horizontal

Boolean (true/false)

If true, the x-axis and y-axis will be swapped. Commonly used for horizontal bar charts, but could also be used for

stacked

Decimal

Rotation percentage for the category labels.
Example:
<property name="labelRotation">7.0</property>

domainVerticalTickLabels

Decimal

Sets the maximum category label width, expressed as a percentage of (a) the category label rectangle, or (b) the length of the range axis.

domainIncludesZero

Array of Strings

Zero-based array of strings, one color for each series (bar for example). 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> Boolean (true/false)

If true, then the chart will be rendered as stacked. Default: false

domainVerticalTickLabels

Boolean (true/false)

If true, turns the domain tick labels to 90 degrees vertical. Defaults to false.

domainIncludesZero

Boolean (true/false)

When an axis' values are auto-calculated, this flag when true ensures that the domain axis's range always includes zero.

domainStickyZero

Boolean (true/false)

If true, will show Domain grid lines (see the JFreeChart reference manual setDomainGridLinesVisible for additional details)truncates the axis margin at zero.

rangeIncludesZero

Array of Strings

Zero-based array of strings, one color for each series (bar for example). 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>

When an axis' values are auto-calculated, this flag when true ensures that the domain axis's range always includes zero.

rangeStickyZero

Boolean (true/false)

If true, will show Domain grid lines (see the JFreeChart reference manual setDomainGridLinesVisible for additional details)truncates the axis margin at zero.

domainTitle

String

The title for the domain axis, commonly the x-axis.

domainTitleFont

String

The font used on the domain title. 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

domainTickFont

String

The font used on the tick labels on the domain axis. 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

domainTickFormat

String

Format mask for numeric tick labels. Should contain a valid Java DecimalFormat mask for formatting the decimal number.

rangeTitle

String

The title for the range axis, commonly the y-axis.

rangeTitleFont

String

The font used on the range title. 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

rangeTickFont

String

The font used on the tick labels on the range axis. 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

rangeTickFormat

String

Format mask for numeric tick labels. Should contain a valid Java DecimalFormat mask for formatting the decimal number.

rangeMinimum

Numeric

The minimum value to display on the range axis.

rangeMaximum

Numeric

The maximum value to display on the range axis.

seriesColors

Array of Strings

Zero-based array of strings, one color for each series (bar for example). 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>

...