Show TOC

Function documentationiChart Chart Area Locate this document in the navigation structure

 

You use this function to do the following:

  • Choose your SAP Manufacturing Integration and Intelligence (SAP MII) chart type, colors, and fonts

  • Configure general chart parameters and behaviors

  • Configure which elements are displayed in a chart

Features

The following table lists the iChart chart area properties:

Property Name

Parameter Name

Data Type

Use

Chart Type

ChartType

String

See Chart Types.

Main Border Color

MainBorderColor

Color

Determines the color of the applet border

Main Background Color

MainBackgroundColor

Color

Determines the color of the background of the applet

Chart Border Color

ChartBorderColor

Color

Determines the color of the chart's border

Chart Background Color

ChartBackgroundColor

Color

Determines the color of the chart's background

Horizontal Grid Color

HorizontalGridColor

Color

Determines the color of the horizontal grid line

Vertical Grid Color

VerticalGridColor

Color

Determines the color of the vertical grid line

Horizontal Grid Line Count

HorizontalGridLineCount

Integer

In a gauge chart, the grid lines divide the chart into gauge areas.

Number of Vertical Grid Lines

VerticalGridLineCount

Integer

Defines the number of vertical grid lines displayed on the chart

Gauge Start Angle

GuageStartAngle

Integer

Defines the angle, in degrees, at which to start a gauge chart. Zero equals east.

Gauge Sweep Angle

GaugeSweepAngle

Integer

Defines the angle, or number of degrees, from the gauge start angle clockwise to the end of the gauge chart.

Bar Spacing

BarSpacing

Integer

For bar charts, defines the horizontal spacing, in pixels, between bars.

Bar Group Spacing

BarGroupSpacing

Integer

For bar charts, defines the horizontal spacing, in pixels, between bar groups.

Bar Margin Spacing

BarMarginSpacing

Integer

For bar charts, defines the horizontal margin spacing, in pixels, between the bars and the chart perimeter.

Marker Size

MarkerSize

Integer

For line charts, defines the size of the data point markers.

Marker Style

MarkerStyle

Integer

For line charts, defines the default marker style for the data points. For different markers for each line, define them by data series.

Zero equals no marker.

Show Lines

ShowLines

Boolean

For line charts, deselect this checkbox to show the markers, and not the lines, on the chart.

Interpolate Lines

InterpolateLines

Boolean

Select this checkbox to interpolate and show lines between data points. Do not select it for a step chart.

Use Screen Resolution

UseScreenResolution

Boolean

Select this checkbox to set the RowCount parameter in the query to the width, in pixels, of the chart object.

Do not use this value with the HistoryEvent mode or SQL or alarm connector queries.

Allow Item Selection

EnableItemSelection

Boolean

Select this checkbox to allow the selection of an item (such as a marker or bar) in the chart area.

Update Data on Zoom

UpdateDataOnZoom

Boolean

If this checkbox is selected, the system refreshes the chart after you zoom in or out. If it is not selected, you can zoom in or out, but the data is not refreshed.

Show in 3D

ThreeD

Boolean

For bar charts, select this checkbox to display a three-dimensional view of the chart.

Zero-Based Centerline

ZeroBasedCenterline

Boolean

Select this checkbox to view the center line of the chart at zero on the y-axis.

Show Horizontal Grid

ShowHorizontalGrid

Boolean

If you select this checkbox, the horizontal grid lines are displayed on the chart.

Show Vertical Grid

ShowVerticalGrid

Boolean

If you select this checkbox, the vertical grid lines are displayed on the chart.

Legend Description Label

LegendDescriptionLabel

String

Enter text to precede the tag description in the area below the chart.

User Locale Format

UseLocaleFormat

Boolean

If you select this checkbox, the date and time values displayed in the applet time bar are based on the user's locale format.

Date and Time Format

DateFormat

String

The standard date format, which is overridden when the User Locale Format checkbox is selected.

Show Times in Server Time Zone

UseServerTimeZone

Boolean

If you do not have this checkbox selected, the system displays times in the client's time zone.

Show Value by Marker

ShowValueByMarker

Boolean

If this checkbox is selected, the applet displays the value of the marker on the chart in the following location:

  • For line charts, above the marker

  • For bar charts, above the bar

  • For pie charts, outside of the pie, near the middle of the slice

Marker Value Spread

MarkerValueSpread

Integer

Determines how many value markers appear on a line chart. The system divides the amount of items on the chart by the marker value spread. If a chart has 50 items, with a marker value spread of 10, a marker value appears by every fifth item.

Activities

You can set these properties for your chart template on the Chart Area screen in the SAP MII Workbenchand change the parameter values for individual applets through scripting.