Spread WPF Documentation
LineJoinType Property
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Axis Class : LineJoinType Property
Gets or sets the type of the line join.
Syntax
'Declaration
 
Public Property LineJoinType As System.Windows.Media.PenLineJoin
'Usage
 
Dim instance As Axis
Dim value As System.Windows.Media.PenLineJoin
 
instance.LineJoinType = value
 
value = instance.LineJoinType
public System.Windows.Media.PenLineJoin LineJoinType {get; set;}

Property Value

The type of the line join.
Example
This example sets the LineJoinType property.
GrapeCity.Windows.SpreadSheet.Data.SpreadChart chart = new GrapeCity.Windows.SpreadSheet.Data.SpreadChart("Chart", GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.BarStacked, "Sheet1!$A$1:$A$7", 0,0, 200, 200);
gcSpreadSheet1.ActiveSheet.SetArray(0, 0, new object[,] { { 1 }, { 2 }, { 3 }, { 4 }, { 5 }, { 6 }, { 7 }, { 8 }, { 9 }, { 10 } });

chart.ChartTitle = new GrapeCity.Windows.SpreadSheet.Data.ChartTitle();
chart.AxisX.Text = "-1234";
//stroke
chart.AxisX.StrokeDashType = GrapeCity.Windows.SpreadSheet.Data.StrokeDashType.Dash;
chart.AxisX.StrokeThickness = 2;
chart.AxisX.Stroke = new SolidColorBrush(Colors.Cyan);
//fill
chart.AxisX.Fill = new SolidColorBrush(Colors.Red);
//font
chart.AxisX.FontSize = 12;
chart.AxisX.FontFamily = FontFamily;
chart.AxisX.FontStyle = FontStyles.Italic;
chart.AxisX.FontWeight = FontWeights.Bold;
chart.AxisX.FontStretch = FontStretches.ExtraExpanded;
chart.AxisX.Foreground = new SolidColorBrush(Colors.Blue);
chart.AxisX.LineCapType = PenLineCap.Round;
chart.AxisX.LineJoinType = PenLineJoin.Bevel;
chart.AxisX.LabelAngle = 60;
chart.AxisX.LabelFormatter = new GrapeCity.Windows.SpreadSheet.Data.GeneralFormatter("##.00");
chart.AxisX.Reversed = true;
chart.AxisX.LogBase = 100;
chart.AxisX.UseLogBase = true;
gcSpreadSheet1.ActiveSheet.Charts.Add(chart);
Dim chart As New GrapeCity.Windows.SpreadSheet.Data.SpreadChart("Chart", GrapeCity.Windows.SpreadSheet.Data.SpreadChartType.BarStacked, "Sheet1!$A$1:$A$7", 0, 0, 200, 200)
GcSpreadSheet1.ActiveSheet.SetArray(0, 0, New Object(,) {{1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10}})

chart.ChartTitle = New GrapeCity.Windows.SpreadSheet.Data.ChartTitle()
chart.AxisX.Text = "-1234"
'stroke
chart.AxisX.StrokeDashType = GrapeCity.Windows.SpreadSheet.Data.StrokeDashType.Dash
chart.AxisX.StrokeThickness = 2
chart.AxisX.Stroke = New SolidColorBrush(Colors.Cyan)
'fill
chart.AxisX.Fill = New SolidColorBrush(Colors.Red)
'font
chart.AxisX.FontSize = 12
chart.AxisX.FontFamily = FontFamily
chart.AxisX.FontStyle = FontStyles.Italic
chart.AxisX.FontWeight = FontWeights.Bold
chart.AxisX.FontStretch = FontStretches.ExtraExpanded
chart.AxisX.Foreground = New SolidColorBrush(Colors.Blue)
chart.AxisX.LineCapType = PenLineCap.Round
chart.AxisX.LineJoinType = PenLineJoin.Bevel
chart.AxisX.LabelAngle = 60
chart.AxisX.LabelFormatter = New GrapeCity.Windows.SpreadSheet.Data.GeneralFormatter("##.00")
chart.AxisX.Reversed = True
chart.AxisX.LogBase = 100
chart.AxisX.UseLogBase = True
GcSpreadSheet1.ActiveSheet.Charts.Add(chart)
See Also

Reference

Axis Class
Axis Members