I Postpaint of Chart control to beautify my chart
I use the event. With the other stuff I draw custom labels for text drawing, I use the same font which is in the form of axes, the default one:
Graphics G = E Chart Graphics Graphics; Size text size = G. Major String (label, chart chartarus [0] .x axxlabel style font); G.DrawString (label, chart.chartresus [0] .xxxlabel style font, system drawings.brush black, new rectifference (new point (location.x - texting .with / 2, location.i), text Size), label format); However, the text produced in the results chart is terrible (100 and 200 labels):
How can I do custom text lookup? In form of?
For starters, you can try to align your text rendering across pixels (if This is not the case already, I'm not sure how you are using it in your example). For quick testing, just enter your new PointF () parameters int:
/*...* / new dot ((int) (location.X - textSize.Width / 2 ), (Int) location.i)
Comments
Post a Comment