你用的是mschart?实在不行就想个办法,比如用的浮动的层贴上去。

解决方案 »

  1.   

    恩对 
    用的是 ms chart 
    winfrom 下
      

  2.   

    看看这个文章:http://www.cnblogs.com/xiaogangqq123/archive/2010/06/24/1764282.html
      

  3.   

    这个应该够呛。
    我一般在下面加个Label,显示写信息。
      

  4.   

    下面加label?
    怎么加
    指定点下
      

  5.   

    就是放个Label控件在mschart下面啊。
      

  6.   

    在饼图上拖个label,直接显示呢
      

  7.   

    直接拉一个label控件?
    那打印时,打印不出来啊?
      

  8.   

    在饼图上拖个label,直接显示呢
    直接拖一个,
    打印图表时,打印不出来 
      

  9.   

    在饼图上拖个label,直接显示呢
    直接拖一个,
    打印图表时,打印不出来 
                Bitmap _NewBitmap = new Bitmap(chart1.Width, chart1.Height);
                chart1.DrawToBitmap(_NewBitmap, new Rectangle(0, 0, _NewBitmap.Width, _NewBitmap.Height));
                e.Graphics.DrawImage(_NewBitmap, 0, 0, _NewBitmap.Width, _NewBitmap.Height); 
               
                //附件label 
                Font font = new Font("宋体",9);
                Brush bru = Brushes.Black;
                e.Graphics.FillRectangle(Brushes.White, chart1.Width / 2 - label1.Width / 2, chart1.Height / 2 - label1.Height / 2, label1.Width, label1.Height);
                e.Graphics.DrawString(label1.Text, font, bru, chart1.Width / 2 - label1.Width / 2, chart1.Height / 2 - label1.Height / 2);楼主可看下 //附件label 
    代码没优化,看这个思路可否