Version

What’s New in 2018 Volume 2

Excel Engine Features

Chart Support

whats_new_excel_charts.png

Time to bring out your inner executive with the addition of charting support in the Excel Library. With support for 70 different chart types, you can now create dashboard reports that visualize data in a clear and easily digestible manner. This brand-new Excel Charting API gives you complete control over how your charts are rendered with the ability to include a legend, a title, axis titles, and a vast number of options for styling such as gridlines, tick marks, colors and more. You have the full power of Excel charts at the tips of your fingers. The best part, you don’t even need to have MS Excel installed!

Adding a chart to an Excel document is easy. Using the Infragistics Excel Library, create or get an instance of the Worksheet object, and then simply call the AddChart method on the Shapes collection. Supply the type of chart you wish to create (choose from 70), provide the size and location of the chart, and then provide the data and any other formatting settings you want to apply to the chart.

For more information about the Excel Charts in the Infragistics Excel Engine, please see the Working with Charts Infragistics Excel Engine topic.

Sparkline Support

whats_new_excel_sparklines.png

A sparkline is a tiny chart in a worksheet cell that provides a visual representation of data. Sparklines are used to show trends in a series of values, such as seasonal increases or decreases, economic cycles, or to highlight maximum and minimum values.  Showing trends in your worksheet data can be useful, especially when you’re sharing your data with other people.

Once you have an instance of the Infragistics Worksheet, simply call the Add method on the SparklineGroups collection. Supply the type of sparkline you wish to create (Column, Line, or Stacked), provide the cell you wish to insert the sparkline, and then provide the range of cells that represent the data the sparkline will use.

After you have created your sparkline, the Infragistics Excel Library gives you an intuitive API that you can use to style various aspects of the sparkline to meet your visualization requirements. The API allows you to enable and control the colors of high and low points, negative points, the first point, the last point, and all markers to name a few.

For more information about the Excel Sparklines in the Infragistics Excel Engine, please see the Adding a Sparkline to a Worksheet Infragistics Excel Engine topic.

XamSpreadsheet Features

Custom Sort Dialog for XamSpreadsheet

spreadsheet_sort_dialog_whats_new.png

Since sorting is so important in any Excel document, we added the very useful Custom Sort Dialog to give you full control over how you want to sort your Excel data. For example, if you have a Department column and an Employee column, you can first sort by Department (to group all the employefes in the same department together), and then sort by name (to put the names in alphabetical order within each department).

For more information about the Sort Dialog in the XamSpreadsheet, please see the Sorting Dialog Interactions XamSpreadsheet topic.

Top 10 Filter Dialog

whats_new_excel_top_10.png

When you filter a list using the Top 10 feature, only the top number or the top percent of records remain. You can also filter to display the bottom number or the bottom percent of records. For example, if you want to list the top wage earners in the company, you can filter the Salary column to display only those records with the top ten salaries. If you filter for the top ten percent of wage earners, however, your list would include only those personnel whose salaries together equaled ten percent of the total.

Although called Top 10, you can filter for any number or percentage of items you desire.

Filtering and Sorting Improvements

In 18.1, we added the AutoFilter dropdown to the spreadsheet. The dropdown had menu items for sorting ascending/descending, clearing a filter applied to the column and to apply a numeric/date/text filter. However, it didn’t have a way to apply a sort or filter based on the forecolor, fill or icon. In 18.2, that dropdown contains items to allow filtering or sorting based on the foreground, fill or icon of the cells within that column.

Filtering Menu

whats_new_excel_filter_menu.png

Sorting Menu

whats_new_excel_sorting_menu.png

Deselect a Selection

Sometimes when you’re selecting multiple cells or ranges in Excel, you accidentally select one or more that you didn’t intend. Now you can deselect any cells within the selected range with the Deselect Feature. Pressing the Ctrl key, you can click, or click-and-drag, to deselect any cells or ranges within a selection. If you need to reselect any of those cells, continue holding the Ctrl key and reselect those cells.

XamFinancialChart

New Legend

whats_new_financial_chart_legend.png

The Financial Chart now comes built-in with a new legend displayed between the toolbar and plotting area. This legend show titles of the data sources and it also shows the last value and percentage change between first data item and the last data item.

Callouts Annotation

whats_new_financial_chart_callouts.png

With the Callouts Annotation, you can annotate important data points in Financial Chart or even customize values in callout boxes based on your logic. For example, show stock split, dividends, or calculate maximum price in your data source.

You can find more information on the Callouts Layer in the Annotations and Interaction Layers topic.

Crosshairs Annotation

whats_new_financial_chart_crosshair.png

You can configure crosshairs to display as a horizontal line, vertical line or both lines at the location of the mouse cursor. In addition, the Crosshairs Annotation can show values of data points at location of mouse cursor and render these values in colored boxes over the X-Axis and Y-Axis labels.

You can find more information on the Crosshair Layer in the Annotations and Interaction Layers topic.

Final Values Annotation

whats_new_financial_chart_final_values.png

In Financial Chart, you can use the Final Values annotation to show values of the last data point in your data source(s). This annotation is rendered as a colored box for each data source over the Y-Axis label.

You can find more information on the Final Value Layer in the Annotations and Interaction Layers topic.

Tooltip Types

whats_new_financial_chart_tooltips.png

The Financial Chart has a new ToolTipType property that adds two new types of tooltips:

  • Category Tooltip which renders combined tooltips for all series at a given date

  • Item Tooltip which renders an individual tooltip for each series at a given date

You can find more information on the ToolTip Layers in the Annotations and Interaction Layers topic.

X-Axis Scale Breaks

whats_new_financial_chart_scale_breaks.png

In Financial Chart, you can define scale breaks on X-Axis to exclude custom ranges in your data source or any day of week. For example, exclude all data items that fall on weekends.

You can find more information on the X-Axis Scale Breaks in the Configuring Axis Scale Breaks topic.

XamCategoryChart

Callouts Annotation

whats_new_category_chart_callouts.png

With the Callouts Annotation, you can annotate important data points in Category Chart or even customize values in callout boxes based on your logic. For example, calculate maximum values in your data source.

You can find more information on the Callouts Layer in the Annotations and Overlays topic.

Crosshairs Layer

whats_new_category_chart_crosshair.png

You can configure crosshairs to display as horizontal line, vertical line or both lines at the location of the mouse cursor. In addition, the Crosshairs Annotation can show values of data points at the location of the mouse cursor and render these values in colored boxes over the X-Axis and Y-Axis labels.

You can find more information on the Crosshairs Layer in the Annotations and Overlays topic.

Final Values Annotation

whats_new_category_chart_final_value.png

In Category Chart, you can use the Final Values annotation to show values of the last data point in your data source(s). This annotation is rendered as a colored box for each data source over the Y-Axis labels.

You can find more information on the Final Value Layer in the Annotations and Overlays topic.

Highlight Layers

whats_new_category_chart_highlight.png

The Category Chart can display two new highlight layers when a user hovers over plotted data points.

  • Category Highlight Layer renders a vertical rectangle that stretches from the start to end of the category that is closest to the mouse cursor. This rectangle is filled with semi-transparent gray color by default.

  • Item Highlight Layer renders a vertical rectangle for each data item in a category that is closest to the mouse cursor. This rectangle is filled with semi-transparent color that matches color of the series by default.

You can find more information on the Highlight Layers in the Annotations and Overlays topic.

Tooltip Types

whats_new_category_chart_tooltip.png

The Category Chart has a new ToolTipType property that adds two new types of tooltips:

  • Category Tooltip which renders the combined tooltips for all series in data category

  • Item Tooltip which renders individual tooltip for each series in data category

You can find more information on the ToolTip Layers in the Annotations and Overlays topic.

XamDataChart

Callouts Layer

whats_new_datachart_callout.png

Callouts Layer is a new feature of Data Chart that you can use to annotate important data points or display their values. Callouts Layer can target multiple data series or individual data series. Also, you can customize appearance of these callout layers and bind callout labels to data items or calculate changes between consecutive data points.

You can find more information on the Callouts Layer in the Callouts Layer topic.

Crosshairs Layer

whats_new_datachart_crosshair.png

In Crosshair Layer has a new annotation feature can now show values of data points at the location of the mouse cursor and render these values in colored boxes over the X-Axis and Y-Axis labels.

You can find more information on the Crosshair Layer in the Crosshair Layer topic.

Final Values Layer

whats_new_datachart_final_value.png

Final Values Layer is a new annotation layer that shows values of the last data point in your data source(s). This annotation is rendered as a colored box for each data source over the Y-Axis labels

You can find more information on the Final Value Layer in the Final Value Layer topic.

Theme Support for StatusBar

We have added theme support for the built-in WPF StatusBar control. You can now theme the StatusBar control using the IG, Metro, MetroDark, Office2010Blue, Office2013, RoyalDark, and RoyalLight themes.