GroupDocs.Assembly for Java 18.6 Release Notes
Major Features
This release comes up with the support of null-conditional operators in template expressions and a number of improvements in working with charts.
Full List of Features Covering all Changes in this Release
Key | Summary | Category |
---|---|---|
ASSEMBLYNET-70 | Support dynamic coloring of chart series and individual series points for email messages with HTML and RTF bodies | Feature |
ASSEMBLYNET-76 | Support C# 6.0 null-conditional ?. and ?[] operators in template expressions | Feature |
ASSEMBLYNET-77 | Preserve the color of an of-pie chart split slice when using dynamic chart series coloring for Word Processing documents | Enhancement |
ASSEMBLYNET-78 | Preserve the font of a chart title while changing its text dynamically in emails | Enhancement |
ASSEMBLYNET-79 | Preserve the static color of a chart series when dynamically filling it with data in emails | Enhancement |
Public API and Backward Incompatible Changes
Support dynamic coloring of chart series
For a chart with dynamic data, you can set colors of chart series dynamically based upon expressions. To use the feature, do the following steps:
Declare a chart with dynamic data in the usual way
For chart series to be colored dynamically, define corresponding color expressions in names of these series using seriesColor tags having the following syntax:
<<seriesColor [color_expression]>>
Support dynamic coloring of chart series points
For a chart with dynamic data, you can set colors of individual chart series points dynamically based upon expressions. To use the feature, do the following steps:
Declare a chart with dynamic data in the usual way
For chart series with points to be colored dynamically, define corresponding color expressions in names of these series using pointColor tags having the following syntax:
<<pointColor [color_expression]>>
Support C# 6.0 null-conditional ?. and ?[] operators in template expressions
The following are the new operators that Document Assembler enables you to use in template expressions:
- x?.y
- a?[x]
The engine follows operator precedence, associativity, and overload resolution rules declared at C# Language Specification while evaluating template expressions.