You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# How to bindtheXamarin.Forms pie chart tooltip to “Others” categoryvalues
2
2
3
3
We always like to group smaller pie chart values into the category "Others" to increase chart readability. But we also think about ways to show those grouped values in UI.
4
4
@@ -11,8 +11,7 @@ The example of the code below shows “How to calculate and display the average
11
11
12
12
### Step 1: Declaration IValueConverter to calculate average values.
13
13
14
-
{% tabs %}
15
-
14
+
```
16
15
public class ChartAvgValueConverter : IValueConverter
17
16
{
18
17
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
@@ -43,17 +42,14 @@ public class ChartAvgValueConverter : IValueConverter
43
42
return null;
44
43
}
45
44
46
-
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
0 commit comments