Color Chart Series Dynamically in Email Messages using GroupDocs.Assembly for .NET 18.6

GroupDocs team is proudly announcing two new features and three enhancements in the monthly release of GroupDocs.Assembly for .NET 18.6. Using the latest version, you can now use C# 6.0 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 and use the latest version of the API.

Features Introduced

Following new features are introduced in version 18.6 of the API.

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]>>

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, learn, try and get technical support on GroupDocs.Assembly for .NET.

Feedback

As always, if you have some questions, queries or suggestions about GroupDocs.Assembly for .NET API,  just share with us by creating a forum thread.