Dundas Chart for Windows Forms
LineTension Custom Attribute
See Also Send comments on this topic.
Custom Attributes > LineTension Custom Attribute



Glossary Item Box

Gets or sets the line tension for the drawing of curves.
Visual Basic Copy Code
Imports Dundas.Charting.WinControl
  ...

' Set the Series LineTension.
Chart1.Series(0)("LineTension") = "1.2"

C# Copy Code
using Dundas.Charting.WinControl;
   ...

// Set the Series LineTension.
Chart1.Series[0]["LineTension"] = "1.2";

Remarks

A curve with a zero LineTension will have the appearance of a Line Chart

Custom Attribute Summary
Possible Values: Ranges from 0 to 2.
Default Value: 0.5
2D / 3D Limitations: No 
Applies to Chart Element: Series Objects
Applies to Chart Types: Spline, SplineArea, SplineRange

 

Figure 1: Default Line Tension set shown left, and a LineTension of 1.2 shown right.

See Also

©2009. All Rights Reserved.