Dundas Chart for Windows Forms
CollapsibleSpaceThreshold Property
See Also  Example Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > AxisScaleBreakStyle Class : CollapsibleSpaceThreshold Property


Specifies the threshold of space on the chart at which scale breaks are drawn.
Minimum axis scale region size, in percentage of total axis length, that can be collapsed with the scale break.

Syntax

Visual Basic (Declaration)  
Public Property CollapsibleSpaceThreshold As Integer
Visual Basic (Usage) Copy Code
Dim instance As AxisScaleBreakStyle
Dim value As Integer
 
instance.CollapsibleSpaceThreshold = value
 
value = instance.CollapsibleSpaceThreshold
C#  
public int CollapsibleSpaceThreshold {get; set;}

Return Value

An integer value specifying the threshold of space on the chart at which scale breaks are drawn.

Example

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

// Show scale break if more than 25% of the chart is empty space.
chart1.ChartAreas["Default"].AxisY.ScaleBreakStyle.CollapsibleSpaceThreshold = 25;
Visual Basic Copy Code
Imports Dundas.Charting.WinControl
...

' Show scale break if more than 25% of the chart is empty space.
chart1.ChartAreas("Default").AxisY.ScaleBreakStyle.CollapsibleSpaceThreshold = 25

Remarks

This property is measured as a percentage of the y-axis scale, and by default, it is set to 25.  This means that data points that have a difference of at least 25% of the scale will be collapsed with a scale break.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.