title: Zedgraph and labels on bar and pie diagram
body: <p>Hi have somewhat success full made tow diagrams, a pie diagram and a horizontal bar diagram but I have tow problems with labels on both.</p>
  
  <p>On my pie diagram, on some combination the labels overlapping</p>
  
  <p><a href="http://desmond.imageshack.us/Himg831/scaled.php?server=831&amp;filename=zedhelp.png&amp;res=medium" rel="nofollow noreferrer">Example of overlapping in pie diagram http://desmond.imageshack.us/Himg831/scaled.php?server=831&amp;filename=zedhelp.png&amp;res=medium</a></p>
  
  <p>How can I ensure the labels not overlapping.</p>
  
  <hr>
  
  <p>I also have labels problem with my horizontal bar diagram, I using </p>
  
  <pre><code> BarItem.CreateBarLabels( myPane,false, ""); 
  </code></pre>
  
  <p>and get the following result</p>
  
  <p><a href="http://desmond.imageshack.us/Himg221/scaled.php?server=221&amp;filename=zedgraphbars.png&amp;res=medium" rel="nofollow noreferrer">Bar digram http://desmond.imageshack.us/Himg221/scaled.php?server=221&amp;filename=zedgraphbars.png&amp;res=medium</a></p>
  
  <p>How can I remove the zero, and only get the last values for the bars?</p>
  
  <hr>
  
  <p>I tried search the net, and tried the suggestion here on smilarity topic, and tried many thing, </p>
  
  <pre><code>BarItem.CreateBarLabels( myPane,false, "0f");
  
  BarItem.CreateBarLabels( myPane,false, "0f0");
  </code></pre>
  
  <p>tried changing the string format, nothing seem to help.</p>
  
  <p>Trid changin the angle of the labels</p>
  
  <pre><code>myPie=myPane.AddPieSlice(yz[tel], Color.Orange, Color.DarkOrange, 45f, 0, navn + " - " + yz[tel].ToString() );
  
  myPie=myPane.AddPieSlice(yz[tel], Color.Orange, Color.DarkOrange, 90f, 0, navn + " - " + yz[tel].ToString() );
  
  myPie=myPane.AddPieSlice(yz[tel], Color.Orange, Color.DarkOrange, 45f, 22, navn + " - " + yz[tel].ToString() );
  </code></pre>
  
  <hr>
  
  <p>But nothing seems to help, some have some idea to</p>
  
  <ul>
  <li>Ensure no labels overlapping in my pie-diagram</li>
  <li>Only show max value for my horizontal bar diagram.</li>
  </ul>
  
  <p>Thank you.</p>