Chart Common Properties

This section describes properties that are supported by all charts.

Chart Border

A border can be drawn around the outside of a chart, if required. By default, no border is drawn, since in many cases component's default border can be used instead.

Chart Border Visible

A flag that controls whether or not an "internal" single-line border is drawn around the outside of the chart.

Property name: borderVisible

Property type: Integer

Chart Border Paint

The paint used to draw the chart's "internal" border.

Property name: borderPaint

Property type: Data Table

Chart Border Stroke

The stroke used to draw the chart's "internal" border.

Property name: borderStroke

Property type: Data Table

Other Properties

Padding

The padding between the chart border and the chart drawing area. See Rectangle Insets.

Property name: padding

Property type: Data Table

Title

The chart's title.

Property name: title

Property type: Data Table

Subtitles

The list of chart's subtitles.

Property name: textSubtitles

Property type: Data Table

Legends

The list of chart's legends.

Property name: legendSubtitles

Property type: Data Table

Subtitle Images

The list of chart's subtitle images.

Property name: imageSubtitles

Property type: Data Table

Anti-Alias

The use of a technique called anti-aliasing can improve the appearance of the chart by "smoothing" the edges of lines and shapes. Using anti-aliasing for drawing operations is usually slower, but the results often look better.

Property name: antiAlias

Property type: Boolean

Was this page helpful?