Chart

A chart mainly consists of three parts: the platform, paper, and legend. The chart platform is a container for other chart elements, and the chart paper holds walls, axes, data markers, axis values, and category names.

Except for the chart platform, the properties of other elements (paper, legend, label) in a library component chart are the same as those in a web report.

Chart platform

In the Report Inspector, a chart platform is displayed as ChartObject by default.

Property Name Description
General
Data Inherit Indicates whether the dataset for this object is inherited from another object. This property is read only.
Geometry
Height Specifies the height of the object, in inches or centimeters. Enter a numeric value to change the height.

Data type: Float

Width Specifies the width of the object, in inches or centimeters. Enter a numeric value to change the width.

Data type: Float

CSS
Class Specifies a CSS class to be applied to the object which is a valid class in the CSS file.

Data type: String

Style The property can be used in two ways.
  • Specifies a style to be applied to the object. Choose a style from the drop-down list which is available when a Style Group has been selected at the report tab level and when there are styles in the Style Group that can be applied to the object, or type in the style name.
  • Specifies a CSS selector to be applied to the object. Enter a valid class name from the CSS file.

Data type: String

Others
Alternative Text Specifies the alternate text of the image, which will be shown when the image cannot be displayed. This property applies only when the chart is exported to HTML as an image chart. Enter a string to serve as the alternative text.

Data type: String

Invisible Specifies whether to show the object in the design area and in the report results. All formulas and calculations will still be performed if the property is set to true.

Data type: Boolean

Logic Column Specifies whether to show the object in the next visible table cell in the same row when the column which holds the object is hidden. Choose an option from the drop-down list.

Data type: Enumeration

Notes:

  • The next visible table cell should be completely empty, that is, the cell should not hold any content including blank space.
  • When the property for several objects in the same row is set to next visible column, and the columns holding these objects are all hidden, then only the object in the rightmost column will be shown in the next visible cell.
Suppress Specifies whether to show the object in the design area and in the report results. All formulas and calculations will be skipped if the property is set to true.

Data type: Boolean

Note: When both the Invisible and Suppress properties of an object are set to true, Suppress has the higher priority.

Suppress When No Records Specifies whether to display the object in the report results when no record is returned to its parent data container.

Data type: Boolean

Platform (unavailable to org chart)
Anti-aliasing Specifies whether to make the edges in a chart smooth.

Data type: Boolean

Color When Null Specifies the color when the value is null. This property is available to heat map only and is applied when the heat map is colored only by a summary.

Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), or select Custom from the drop-down list to specify the color.

Data Type: String

Color When Zero Specifies the color mapping to the zero value. Available to heat map only. It works when the heat map is colored only by a summary and the Using Color When Zero property is set to true.

Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), or select Custom from the drop-down list to specify the color.

Data Type: String

End Color Specifies the end color of the gradient colors. This property is available to heat map only and is applied when the heat map is colored only by a summary.

Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), or select Custom from the drop-down list to specify the color.

Data type: String

Minimum Tick Mark Space Specifies the minimum space between two adjacent tick marks. Enter a numeric value to change the space.

Data type: Float

Pattern List Specifies patterns of the data markers. Click in the value cell and click the small squares in the color tray one by one to specify the patterns for the data markers. The patterns can be one or more of the following: Automatic, Color, Texture, and Gradient.

For heat maps, the Pattern List property works only when using single color and using groups as the color-by fields.

Data type: String

Reverse Specifies whether to reverse the start color and the end color. This property is available to heat map only and is applied when the heat map is colored only by a summary.

Data type: Boolean

Show Legend Specifies whether to make the legend visible in a chart.

Data type: Boolean

Start Color Specifies the start color of the gradient colors. This property is available to heat map only and is applied when the heat map is colored only by a summary.

Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), or select Custom from the drop-down list to specify the color.

Data type: String

Using Color When Zero Specifies whether to map the zero value to the color specified by the property Color When Zero.
  • If true and the minimum value < 0 < the maximum value, the colors will be from the start color to the color when zero first, and then from the color when zero to the end color.
  • If false, the colors will be from the start color to the end color directly.

This property is available to heat map only and is applied when the heat map is colored only by a summary.

Data type: Boolean

Background
Border Color Specifies the color of the platform border. Choose a color from the drop-down list, enter a hexadecimal RGB value (0xCCAA00), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.

Data type: String

Border End Caps Specifies the ending style of the platform border line. Choose an option from the drop-down list.

Data type: Enumeration

Border Joint Specifies the joint style of the platform border line. Choose an option from the drop-down list.

Data type: Enumeration

Border Outlined Specifies whether to show the platform border line in Outline Path. If the property is set to true, the platform border line will be shown in Outline Path; otherwise, in Fill Path.

Data type: Boolean

Border Style Specifies the line style of the platform border. Choose an option from the drop-down list.

Data type: Enumeration

Border Thickness Specifies the width of the platform border, in inches or centimeters. Enter a numeric value to change the thickness.

Data type: Float

Border Transparency Specifies the transparency of the platform border, in percent. Enter a numeric value to change the transparency.

Data type: Integer

Border Type Specifies the border type of the platform. Choose an option from the drop-down list.

Data type: Enumeration

Border Variable Dash Specifies whether to resize the dash automatically.
  • true - The dash size will be adjusted automatically. And the option Auto Adjust Dash in the Format Platform dialog will take effect.
  • false - The dash size will be of fixed size. And the option Fixed Dash Size in the Format Platform dialog will take effect.

Data type: Boolean

Color Specifies the color of the platform background, applied when the property Fill Type is set to color. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color and fill effect.

Data type: String

Fill Transparency Specifies the transparency of the platform background, in percent. Enter a numeric value to change the transparency.

Data type: Integer

Fill Type Specifies the fill pattern for the platform background. Choose an option from the drop-down list.

Data type: Enumeration

Gradient End Color Specifies the color of the point where the gradient ends, applied when the property Fill Type is set to gradient. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color and fill effect.

Data type: String

Gradient End X Specifies the horizontal position where the gradient ends, measured in a percentage of the platform width. Applied when the property Fill Type is set to gradient.

Data type: Integer

Gradient End Y Specifies the vertical position where the gradient ends, measured in a percentage of the platform height. Applied when the property Fill Type is set to gradient.

Data type: Integer

Gradient Start Color Specifies the color of the point where the gradient begins, applied when the property Fill Type is set to gradient. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color and fill effect.

Data type: String

Gradient Start X Specifies the horizontal position where the gradient begins, measured in a percentage of the platform width. Applied when the property Fill Type is set to gradient.

Data type: Integer

Gradient Start Y Specifies the vertical position where the gradient begins, measured in a percentage of the platform height. Applied when the property Fill Type is set to gradient.

Data type: Integer

Gradient Style Specifies the gradient style for the platform background, applied when the property Fill Type is set to gradient. Choose an option from the drop-down list.

Data type: Enumeration

Image File Specifies the file name of the image, a portion of which will be displayed as the platform background. Applied when Fill Type is set to image. Enter the file name with suffix in the value cell. If the image is outside of the current catalog, you should include the full path of the image correctly.

Data type: String

Image Height The four properties, Image X, Image Y, Image Width, and Image Height, together are used to define a portion of the image (the portion is a rectangle), which will be displayed as the platform background. They take effect when the property Fill Type is set to image.

Image Height specifies the height of the image portion, measured in a percentage of the image height.

Data type: Integer

Image Layout Specifies the layout style for the image that will be displayed as the platform background, applied when the property Fill Type is set to image. Choose an option from the drop-down list.

Data type: Enumeration

Image Width The four properties, Image X, Image Y, Image Width, and Image Height, together are used to define a portion of the image (the portion is a rectangle), which will be displayed as the platform background. They take effect when the property Fill Type is set to image.

Image Width specifies the width of the image portion, measured in a percentage of the image width.

Data type: Integer

Image X The four properties, Image X, Image Y, Image Width, and Image Height, together are used to define a portion of the image (the portion is a rectangle), which will be displayed as the platform background. They take effect when the property Fill Type is set to image.

Image X specifies the distance between the left border of image and the portion that will contain the pattern, measured in a percentage of the image width.

Data type: Integer

Image Y The four properties, Image X, Image Y, Image Width, and Image Height, together are used to define a portion of the image (the portion is a rectangle), which will be displayed as the platform background. They take effect when the property Fill Type is set to image.

Image Y specifies the distance between the top border of image and the portion that will contain the pattern, measured in a percentage of the image height.

Data type: Integer

Inset Bottom Specifies the bottom position of the background area, measured in a percentage of the chart height, from the bottom edge of the chart.

Data type: Float

Inset Left Specifies the left position of the background area, measured in a percentage of the chart width, from the left edge of the chart.

Data type: Float

Inset Right Specifies the right position of the background area, measured in a percentage of the chart width, from the right edge of the chart.

Data type: Float

Inset Top Specifies the top position of the background area, measured in a percentage of the chart height, from the top edge of the chart.

Data type: Float

Radius Specifies the radius for the joint of the platform border line. The property takes effect only when Border Joint is set to joint round. Enter a numeric value to change the radius.

Data type: Float

Texture Background Color Specifies the background color of the texture, applied when the property Fill Type is set to texture. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000) or choose a formula that returns a color. , choose a formula that returns a color, or select Custom from the drop-down list to specify the color.

Data type: String

Texture Foreground Color Specifies the foreground color of the texture, applied when the property Fill Type is set to texture. Choose a color from the drop-down list, enter a hexadecimal RGB value (e.g. 0xff0000), choose a formula that returns a color, or select Custom from the drop-down list to specify the color.

Data type: String

Texture Style Specifies the texture style of the platform background, applied when the property Fill Type is set to texture. Choose an option from the drop-down list.

Data type: Enumeration

Data (Unavailable to org chart. For heat map, there are only two properties in this category: Color by Logarithm and Size by Logarithm.)
Color by Logarithm Specifies whether to calculate the color-by summary based on logarithm function. Available to heat map only. Choose an option from the drop-down list:
  • None
    Returns the real value of the field instead of any logarithmic value.
  • log x
    Gets the logarithm of the field with base 10.
  • ln x
    Gets the logarithm of the field with base e.

Data type: String

Size by Logarithm Specifies whether to calculate the size-by summary based on logarithm function. Available to heat map only. Choose an option from the drop-down list:
  • None
    Returns the real value of the field instead of any logarithmic value.
  • log x
    Gets the logarithm of the field with base-10.
  • ln x
    Gets the logarithm of the field with base-e.

Data type: String

Category End Offset The four properties work together to control the range of the data being displayed on a chart: Category Start Offset, Category End Offset, Series Start Offset, and Series End Offset.

Category End Offset specifies the ending offset of the categories. It does not apply to the charts which involve only one group.

Data type: Integer

Category Format Specifies the data format for the category axis (the X axis) to display the tick mark labels in the way you choose. Click in the value cell to specify the format.

Data type: String

Category Start Offset The four properties work together to control the range of the data being displayed on a chart: Category Start Offset, Category End Offset, Series Start Offset, and Series End Offset.

Category Start Offset specifies the starting offset of the categories. It does not apply to the charts which involve only one group.

Data type: Integer

Category Value Encoding Specifies the encoding format for values on the category axis. Choose an option from the drop-down list.

Data type: String

Hint Percent Format Specifies the format for each hint percentage to the total. Click in the value cell to specify the format.

Data type: String

Hint Value Format Specifies the number format for the hint message. Click in the value cell to specify the format.

Data type: String

Hyperlink Specifies whether to add a hyperlink that refers to another report or a website to the data markers of the chart.

Data type: String

Hyperlink Target Specifies the target window or frame in which to display the content the Hyperlink property specifies. Choose an option from the drop-down list.
  • <Server Setting>
    Loads the linked file according to setting of the Pop Up New Window for Links option in the Customize Profile panel of the Profile dialog in JReport Server.
  • New Window
    Loads the linked file into a new window. The window is not named.
  • Whole Window
    Loads the linked file into the full browser window.
  • Same Frame
    Loads the linked file into the same frame as the link.
  • Parent Frame
    Loads the linked file into the parent frame of the frame that contains the link.
  • Other Frame
    Loads the linked file into some other specified frame. If selected, you can also directly input the name of the frame you have defined in the text box. If the frame name does not exist, the linked file will be loaded into a new window.

Data type: String

Motion Bar Format Specifies the data format for the motion field values displayed on the motion bar. Click in the value cell to specify the format.

Data type: String

Primary Data Format Specifies the data format for the primary value axis (the Y1 axis) to display the tick mark labels in the way you choose. Click in the value cell to specify the format.

Data type: String

Reverse Category Specifies whether to reverse the sequence of the category field value.

Data type: Boolean

Reverse Series Specifies whether to reverse the sequence of the series field value.

Data type: Boolean

Secondary Data Format Specifies the data format for the secondary value axis (the Y2 axis) to display the tick mark labels in the way you choose. Click in the value cell to specify the format.

Data type: String

Series End Offset The four properties work together to control the range of the data being displayed on a chart: Category Start Offset, Category End Offset, Series Start Offset, and Series End Offset.

Series End Offset specifies the ending offset of the series.

Data type: Integer

Series Format Specifies the data format for the series axis (the Z axis) to display the tick mark labels in the way you choose. Click in the value cell to specify the format.

Data type: String

Series Start Offset The four properties work together to control the range of the data being displayed on a chart: Category Start Offset, Category End Offset, Series Start Offset, and Series End Offset.

Series Start Offset specifies the starting offset of the series.

Data type: Integer

Series Value Encoding Specifies the encoding format for values on the series axis. Choose an option from the drop-down list.

Data type: String

Sort Category Specifies the sorting order for the category field values. Choose an option from the drop-down list.

Data type: Enumeration

Sort Series Specifies the sorting order for the series field values. Choose an option from the drop-down list.

Data type: Enumeration

Swap Groups Specifies to display values from different data fields by switching data between the category and series axes, the category and value axes of a chart. By default, this property is set to false, which means no switch will take place in the chart.
  • Switching between the category and series axes
    If you create a chart by adding fields to all of its axes, and set Swap Groups to true, data on the category and series axes will be switched.
  • Switching between the category and value axes
    If you create a chart by adding one field to the category axis and several to the value axis, and set Swap Groups to true, data on the category and value axes will be switched.

Data type: Boolean

Note: If the chart has only one field on the category axis and one on the value axis, even though the property value is set to true, there will be no switch take place on the two axes.

X HyperLink Specifies whether to add a hyperlink that refers to another report or a website to the X axis labels.

Data type: String

X Hyperlink Target Specifies the target window or frame in which to display the content the X Hyperlink property specifies. Choose an option from the drop-down list.
  • <Server Setting>
    Loads the linked file according to setting of the Pop Up New Window for Links option in the Customize Profile panel of the Profile dialog in JReport Server.
  • New Window
    Loads the linked file into a new window. The window is not named.
  • Whole Window
    Loads the linked file into the full browser window.
  • Same Frame
    Loads the linked file into the same frame as the link.
  • Parent Frame
    Loads the linked file into the parent frame of the frame that contains the link.
  • Other Frame
    Loads the linked file into some other specified frame. If selected, you can also directly input the name of the frame you have defined in the text box. If the frame name does not exist, the linked file will be loaded into a new window.

Data type: String

Z HyperLink Specifies whether to add a hyperlink that refers to another report or a website to the Z axis labels.

Data type: String

Z Hyperlink Target Specifies the target window or frame in which to display the content the Z Hyperlink property specifies. Choose an option from the drop-down list.
  • <Server Setting>
    Loads the linked file according to setting of the Pop Up New Window for Links option in the Customize Profile panel of the Profile dialog in JReport Server.
  • New Window
    Loads the linked file into a new window. The window is not named.
  • Whole Window
    Loads the linked file into the full browser window.
  • Same Frame
    Loads the linked file into the same frame as the link.
  • Parent Frame
    Loads the linked file into the parent frame of the frame that contains the link.
  • Other Frame
    Loads the linked file into some other specified frame. If selected, you can also directly input the name of the frame you have defined in the text box. If the frame name does not exist, the linked file will be loaded into a new window.

Data type: String