public void SetSelectedData(Dictionary <string, int> counts) { if (counts == null) { reportBreakDown.isVisible = false; } else { reportBreakDown.SetValues(counts); reportBreakDown.isVisible = true; } }
public void SetHighlightData(Dictionary <String, int> counts, int totalCount) { if (counts == null || totalCount == 0 || reportBreakDown.isVisible == false) { highlightBreakDown.isVisible = false; } else { if (reportBreakDown.isVisible) { highlightBreakDown.SetValues(counts); highlightBreakDown.isVisible = true; } } }