Exemplo n.º 1
0
 public void SetSelectedData(Dictionary <string, int> counts)
 {
     if (counts == null)
     {
         reportBreakDown.isVisible = false;
     }
     else
     {
         reportBreakDown.SetValues(counts);
         reportBreakDown.isVisible = true;
     }
 }
Exemplo n.º 2
0
 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;
         }
     }
 }