با سلام
من میخاستم توی نمودار Telerik به جای رو نقاط دایره + و × قرار بدم. کد مروبوط به + رو پیدا کردم ولی × رو نتونستم.کسی میتونه کمک کنه.
public class CrossShape : ElementShape { public CrossShape() { this.Width = 20; } public override GraphicsPath CreatePath(Rectangle bounds) { GraphicsPath path = new GraphicsPath(); path.AddRectangle(new RectangleF(bounds.X, (bounds.Y + bounds.Height / 2) - Width / 2, bounds.Width, Width)); path.AddRectangle(new RectangleF((bounds.X + bounds.Width / 2) - Width / 2, bounds.Y, Width, bounds.Height)); path.CloseFigure(); return path; } public int Width { get; set; } }
کسی نیست کمکی بکنه
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)