Charts in wpDataTables have one very useful feature from version 1.7: If you enable this feature the values of the rows with same label will be summed up and rendered as a single series otherwise all rows will be rendered as separate series.

This can be helpful if you have repeating rows with identical name in your table and you want to show them summed in your chart. This feature will also work in combination with Follow table filtering.

It is really simple to activate the grouping for a chart. Just tick this checkbox in the chart create/edit wizard:

selection_006

Let’s see an example:

wdt_IDNameApples
1John3,00
2Paul6,00
3George2,00
4Ringo5,00
5John6,00
6George4,00
7Ringo2,00
8George2,00
9Ringo4,00


We have a table with repeating rows like (George, Ringo and John). When Grouping feature is disabled each row in table will be rendered as a separate series.

Grouping option disabled:

Grouping option enabled:

Never miss new features!

Join 2000+ newsletter subscribers

Never miss notifications about new cool features, promotions, giveaways or freebies - subscribe to our newsletter! We send about one mail per month, and do our best to keep our announcements interesting.

We never spam or disclose your address to anyone.