private void BarYAxis_FormatLabel(object sender, AxisFormatLabelEventArgs e) { var item = e.Item as PopulationData; if (item.Age < 100) { e.Label = item.Age.ToString("0"); } else { e.Label = item.Age.ToString("0") + "+"; } }
private void BarXAxis_FormatLabel(object sender, AxisFormatLabelEventArgs e) { var value = Math.Abs((double)e.Item); e.Label = value.ToString("0M"); }
private void RadiusAxis_FormatLabel(object sender, AxisFormatLabelEventArgs e) { var value = (double)e.Item; e.Label = value.ToString("0M"); }