With the ActiveX version of TeeChart I could get good distinction between line types (dashed, dash-dot, dash-dot-dot, and dotted). With the new .NET version the distinction is not so great - to set the line type I am using, e.g.:
dlNewLine.Pen.Style = System.Drawing.Drawing2D.DashStyle.Dash;
dlNewLine.Pen.DashCap = System.Drawing.Drawing2D.DashCap.Round;
Can anyone suggest how I can get better distinction between the line types. I have posted two images on the upload site:
ActiveX version - TI-BE-5-6-7.jpg (good distinction)
.NET version - ShowLineTypes.jpg (poor distinction)
DrawLine line styles
Hello!
Please notice that ActiveX uses gdi and .NET uses gdi+, you can get a better distinction using the below line:
Please notice that ActiveX uses gdi and .NET uses gdi+, you can get a better distinction using the below line:
Code: Select all
tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.HighSpeed;
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hello,
Try setting the ChartPen's Style to DashStyle.Custom and defining your own
ChartPen.DashPattern in a manner similar to:
http://msdn2.microsoft.com/en-us/librar ... ttern.aspx
Try setting the ChartPen's Style to DashStyle.Custom and defining your own
ChartPen.DashPattern in a manner similar to:
http://msdn2.microsoft.com/en-us/librar ... ttern.aspx
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/