We are excitedly announcing the monthly release of GroupDocs.Assembly for Java18.6. Using the latest version, you can now use null-conditional operators ?. and ?[]. Change the color of chart series and individual point series dynamically for Email Messages with HTML and RTF bodies. Furthermore, to enhance the API, colors are preserved for a pie chart in the Word Processing document, fonts are preserved for a chart title, and static colors are preserved for chart series in the Email document. We recommend you to install the latest version of API for a better experience.
Features Introduced
Following new features are introduced in version 18.6 of the API.
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]>>
Dynamic Coloring of Individual Series Point
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]>>
Enhancements
Following enhancements are introduced in version 18.6 of the API.
Preserve the color of an of pie chart split slice when using dynamic chart series coloring for Word Processing documents
Preserve the font of a chart title while changing its text dynamically in emails
Preserve the static color of a chart series when dynamically filling it with data in emails
Available Channels and Resources
Here are a few channels and resources for you to download, try, learn and get technical support on GroupDocs.Assembly for Java:
Installation – Install GroupDocs.Assembly from Maven