Exemplo n.º 1
0
 protected override void OnToggledSelection(ShinobiChart chart, SChartRadialDataPoint dataPoint, SChartRadialSeries series, CGPoint pixelPoint)
 {
     Console.WriteLine ("{0} country: {1}", dataPoint.Selected ? "Selected" : "Deselected", dataPoint.Name);
 }
Exemplo n.º 2
0
 protected override void OnAddingRadialLabel(ShinobiChart chart, UILabel label, SChartRadialDataPoint datapoint, int index, SChartRadialSeries series)
 {
     // hide labels for slice with < 5% language share
     if (datapoint.Value.DoubleValue < 5)
     {
         label.Hidden = true;
     }
 }