API Information: Chart Styles

Developers can control the chart style programmatically with the Style Intelligence API. This makes the BI platform well-suited for developers to embed into other applications, on-premise or cloud-based. All new customers get mentoring assistance for free to speed up their project delivery.

Register for Pricing
Request a Demo
#1 Ranking: Read how InetSoft was rated #1 for user adoption in G2's user survey-based index Read More

Z-Index Defaults

The GraphForm.setZIndex(value) property of a form object determines whether the object lies above or below other chart objects. When an object has a higher zIndex than a second object, the first object will partially or fully occlude the second object.

The table below provides the default zIndex settings for common chart objects.

Object

Default zIndex

Coordinate border

20

Grid line

30

Axis

40

Axis border

50

Visual object

60

Grid line on top of Object

70

Form object

80

Facet gridline

90

Text

100

The following Chart Object style constants are available for the singleStyle and separatedStyle chart properties within report onLoad Handler script.

Chart Style

Description

CHART_AUTO

Automatic style selection

CHART_PARETO

Pareto chart.

CHART_LINE

Line chart

CHART_LINE_STACK

Stacked line chart

CHART_POINT

Point chart

CHART_BAR

2D bar chart

CHART_BAR_STACK

Stacked bar chart

CHART_PIE

2D pie chart

CHART_3D_BAR

3D bar chart

CHART_3D_BAR_STACK

3D stacked bar chart

CHART_3D_PIE

3D pie chart

CHART_STOCK

High-low-closing chart

CHART_AREA

Area chart

CHART_AREA_STACK

Stacked area chart

CHART_RADAR

Radar chart

CHART_FILL_RADAR

Filled radar chart

CHART_CANDLE

Candle chart

CHART_WATERFALL

Waterfall chart

Line Styles

The Chart Object line style constants below can be used in all chart properties requiring line styles, such as axis grid lines, target lines, etc.

Line Style

Description

NONE

No line

ULTRA_THIN_LINE

Very thin line at ¼ of a point width

THIN_THIN_LINE

Very thin line at ½ of a point width

THIN_LINE

Thin line at one point width

MEDIUM_LINE

Medium width line

THICK_LINE

Thick width line

DOT_LINE

Dotted line

DASH_LINE

Dash line

MEDIUM_DASH

Medium size dash line

LARGE_DASH

Large size dash line

Summarization Formulas

The Chart Object summarization formulas below are available for chart scripting. See Summarization Formulas in the Report Designer for a description of the methods.

NONE

NTHMOSTFREQUENT

AVERAGE

NTHSMALLEST

CONCAT

POPULATIONSTANDARDDEVIATION

CORRELATION

POPULATIONVARIANCE

COUNT

PRODUCT

COVARIANCE

PTHPERCENTILE

DISTINCTCOUNT

STANDARDDEVIATION

MAX

SUMSQ

MEDIAN

SUMWT

MIN

SUM

MODE

VARIANCE

NTHLARGEST

WEIGHTEDAVERAGE

Legend Positions

The following legend positions are available for EGraph.setLegendLayout(value).

Line Style

Description

NONE

No legend

BOTTOM

Below X-axis title, aligned left

TOP

Above graph, aligned left

LEFT

To left of Y-axis title, aligned top

RIGHT

To right of graph, aligned top (default)

IN_PLACE

Superimposed on graph