raydenxxx Posted June 18, 2008 Report Share Posted June 18, 2008 Hello, I'm having problem with Gridline Lables when they are outside the chart.In fact, they are truncated... (see picture on the right, the last "e" is truncated) Is it the same bug as truncated value in the pie chart?If not, is there any way to fix this? (whitout puting the label inside the chart) Thanks, Raydenxxx (France) Quote Link to comment Share on other sites More sharing options...
Frank Posted June 19, 2008 Report Share Posted June 19, 2008 We are unable to reproduce this problem. I tried adding a custom gridline with the same text to the right and the margin adjusts correctly. Are you changing the font for the Custom Gridline text? if so, which font (name, size, style) are you using? This may be a problem with the font's measures. Quote Link to comment Share on other sites More sharing options...
raydenxxx Posted June 19, 2008 Author Report Share Posted June 19, 2008 Thanks for the quick reply. Yes I changed the font: private void AjouterSeparateurHorizontal(double Valeur, string Texte, Color Couleur, bool SepUtilisateur) { CustomGridLine Ligne = new CustomGridLine(Valeur, Texte); Ligne.Color = Couleur; Ligne.Alignment = StringAlignment.Far; Ligne.Font = new Font("Verdana", 7); Ligne.OutsideText = SepUtilisateur; _GraphCourant.AxisY.CustomGridLines.Add(Ligne); } Quote Link to comment Share on other sites More sharing options...
Frank Posted June 19, 2008 Report Share Posted June 19, 2008 I still don't get the problem (see attached picture). Two guesses: 1) You are not using the latest Service Pack from our support site. 2) Since this size is calculated by GDI+, this may be a bug in your Video Driver. Please try in a different computer/OS. Quote Link to comment Share on other sites More sharing options...
raydenxxx Posted June 20, 2008 Author Report Share Posted June 20, 2008 thanks for the reply... You're true, we don't have the last version (not to old) in production.I'll test with and give a feedback later.Thanks again Quote Link to comment Share on other sites More sharing options...
raydenxxx Posted June 20, 2008 Author Report Share Posted June 20, 2008 Yop, Just testing with the lastest one (7.0.2893.24916) and the problem still here... Note that I used font for all the graph // Initialisation des fonts Font Verdana = new Font("Verdana", 8); _GraphCourant.AxisX.Font = Verdana; _GraphCourant.AxisY.Font = Verdana; _GraphCourant.LegendBox.Font = Verdana; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.