What is the use of LineCap and LineJoin properties for line series?
The LineCap property specifies the type of line cap that should be applied to the line segments in the line series. The possible values of this property are Butt, Round, and Square.
The property LineJoin specifies the type of line that should be applied when two lines intersect. The possible values of this property are Miter, Round, and Bevel.
<ej:Chart ID="container" OnClientTrackAxisToolTip="crosshairLabel" runat="server"> <PrimaryXAxis ValueType="Category"></PrimaryXAxis> <CommonSeriesOptions LineCap="Square" LineJoin="Bevel" Type="Line"></CommonSeriesOptions> </ej:Chart>
The following screenshot displays the line series with round line cap and miter line join at 400% zoom level of the browser
Figure 1: Line series with round line cap and miter line join
The Classic controls can be used in existing projects; however, if you are starting a new project, we recommend using the latest version of Essential Studio for ASP.NET. Although Syncfusion will continue to support all Classic Versions, we are happy to assist you in migrating to the newest edition.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls. If you have any queries or require clarifications, please let us know in the comments section below.