Is it possible to hide zero (0) values / categories from ClusteredColumnChart ?

Jun 21, 2014 at 1:11 PM
Hi there,
I was playing around with the ClusteredColumnCharts and had no issues so far.

There's only one question that came to my mind:
Is it possible to hide zero (0) values / categories from ClusteredColumnChart ?

What I was thinking about was something like this:

Defining the number value for each column as a nullable double:
public class ClusteredColumnClass
{
    public string Category { get; set; }

    public double? Number { get; set; }
}
Whenever a Category Number equals null, the column shouldn't be rendered.

Actually I have no idea how to modify the library Sourcecode to achieve the above mentioned approach. Any help will be appreciate.
Nov 13, 2014 at 4:07 PM
Did you make any progress on this? I am looking into the same thing right now. I'll let you know if I make any progress.
Nov 13, 2014 at 5:04 PM
Edited Nov 13, 2014 at 5:05 PM
I most definitely will. However, I will give Sparrow Toolkit a try first and see if I can style it to look like the modern ui chart controls (https://sparrowtoolkit.codeplex.com/).
Nov 14, 2014 at 3:22 AM
Thank you for that. I am going to give the Sparrow Toolkit a look. It looks like what I was looking for to begin with when I found this project.

With regard to the original issue, I was able to get the zero values to hide pretty easily with a data trigger in Generic.xaml (I don't need to differentiate between null and zero for my project), but the width of the remaining bars in the series aren't adjusted to fill the empty space. I'm working on that now.