Types of Styles

There are three types of styles you can specify.

The first way is to specify the styles for lines, filled areas, and so on, by listing them directly in the XML request.

The second way is to define a named style in a file, then add the file to a JCR repository that is accessible to the Repository Service. You can then refer to the named style file in your XML request.

For requests including a GridLayer, a third method to specify the style is to use GridStyle. GridStyle takes a list of inflections where each inflection contains a color and value.
Note: This GridStyle is an extension of Style. There is also a GridStyle named style that takes a GridInflectionList.