Exemplo n.º 1
0
 protected void ChartControl_CustomDrawAxisLabel(object sender, CustomDrawAxisLabelEventArgs e)
 {
     if (e.Item.Axis is AxisY)
     {
         e.Item.Text = ScaleHelper.GetCurrencyAbbreviationMask(e.Item.Text, AbbreviationType);
     }
 }
Exemplo n.º 2
0
 protected void VerticalChartControl_CustomDrawAxisLabel(object sender, CustomDrawAxisLabelEventArgs e)
 {
     if (e.Item.Axis is AxisY)
     {
         if (IsCurrency)
         {
             e.Item.Text = ScaleHelper.GetCurrencyAbbreviationMask(e.Item.Text, AbbreviationType.Thousands);
         }
         else
         {
             e.Item.Text = ScaleHelper.GetAbbreviationMask(e.Item.Text, AbbreviationType.Thousands);
         }
     }
 }