Products Downloads


French version


 

Used to represent a "Radar"-type chart. Based on the Java XChart RadarChart class.



Style parameter

Hash object for which the keys are style property names and the values the value associated with each property. This object groups together a set of base properties which are common to all types of chart as well as a set of properties which are specific to "Radar" charts.


Base styles (Java XChart Styler class)

Property name

Value type

AnnotationsFont

Cf. Java Font Type

AntiAlias

Boolean

BaseFont

Cf. Java Font Type

ChartBackgroundColor

Cf. Java Color Type

ChartFontColor

Cf. Java Color Type

ChartPadding

Number (integer)

ChartTitleBoxBackgroundColor

Cf. Java Color Type

ChartTitleBoxBorderColor

Cf. Java Color Type

ChartTitleBoxVisible

Boolean

ChartTitleFont

Cf. Java Font Type

ChartTitlePadding

Number (integer)

ChartTitleVisible

Boolean

DecimalPattern

String

HasAnnotations

Boolean

LegendBackgroundColor

Cf. Java Color Type

LegendBorderColor

Cf. Java Color Type

LegendFont

Cf. Java Font Type

LegendLayout

Strings "Vertical", "Horizontal"

LegendPadding

Number (integer)

LegendPosition

Strings "OutsideE", "InsideNW", "InsideNE", "InsideSE", "InsideSW", "InsideN", "InsideS", "OutsideS"

LegendSeriesLineLength

Number (integer)

LegendVisible

Boolean

PlotBackgroundColor

Cf. Java Color Type

PlotBorderColor

Cf. Java Color Type

PlotBorderVisible

Boolean

PlotContentSize

Number (decimal)

SeriesColors

Color sequence 
Cf. Java Color Type

SeriesLines

Property not supported

SeriesMarkers

"Circle", "Cross", "Diamond", "None", "Oval", "Plus", "Rectangle", "Square", "Trapezoid", "TriangleDown", "TriangleUp" string sequence

Theme

Strings 
"XChart", "GGPlot2", "Matlab"

ToolTipBackgroundColor

Cf. Java Color Type

ToolTipBorderColor

Cf. Java Color Type

ToolTipFont

Cf. Java Font Type

ToolTipHighlightColor

Cf. Java Color Type

ToolTipsAlwaysVisible

Boolean

ToolTipsEnabled

Boolean

ToolTipType

Strings "xLabels", "yLabels", "xAndYLabels"

YAxisGroupPosition

Sequence of sequences with a length of 2. Each sub-sequence contains a Number (integer) and a "Left", "Right" String.

Specific styles (Java XChart RadarStyler class)

AxisTickMarksColor

Cf. Java Color Type

AxisTickMarksCount

Number (integer)

AxisTickMarksStroke

Property not supported

AxisTicksMarksVisible

Boolean

AxisTitleFont

Cf. Java Font Type

AxisTitlePadding

Number (integer)

AxisTitleVisible

Boolean

Circular

Boolean

MarkerSize

Number (integer)

PlotGridLinesColor

Cf. Java Color Type

PlotGridLinesStroke

Property not supported

PlotGridLinesVisible

Boolean

StartAngleInDegrees

Number (decimal)

↑ Top of page


Series parameter

Sequence of Hash objects representing the data series of the "Radar" chart. Also, style properties can be defined for each series. Each Hash object represents a series: these properties enable data values as well as style property values to be stored.


Data properties of a series

A "Radar" chart series is represented by its name and a sequence of values (Cf. addSeries method https://knowm.org/javadocs/xchart/org/knowm/xchart/RadarChart.html).


Property name 

Value type 

Mandatory 

name 

String 

Y 

values

Number sequence 

Y 


Style properties of a series

These properties are used to specify a series by overloading a style property defined in the Hash object of the macro's Style parameter. Each property is defined in an XChart class (Series base class or specific RadarSeries class) by its "setter" method.

When one of these properties is used in this macro, its Freemarker type is that which corresponds to the associated Java type.


Base series styles (Java XChart Series class)

Property name

Value type

Enabled

Boolean

FillColor

Cf. Java Color Type

Label

String

ShowInLegend

Boolean

YAxisGroup

Number (integer)

Specific series styles (Java XChart RadarSeries class)

ChartPieSeriesRenderStyle

Strings "Pie", "Donut"

LineColor

Cf. Java Color Type

LineStyle

Property not supported

LineWidth

Number (decimal)

Marker

Strings "Circle", "Cross", "Diamond", "None", "Oval", "Plus", "Rectangle", "Square", "Trapezoid", "TriangleDown", "TriangleUp"

MarkerColor

Cf. Java Color Type


  • Other required parameters:

Parameter type Parameter name Description

String sequence

variablelabels

Label of each "axis".


  • Other optional parameters:

Parameter type Parameter name Description

String

radarrenderstyle

Render type of "Polygon" or "Circle" chart series.

↑ Top of page


  • Aucune étiquette