GrapeCity.Xaml.SpreadSheet.Data
MinorGridlinesStrokeThickness Property
Example 


Gets or sets the thickness of minor grid lines.
Syntax
'Declaration
 
Public Property MinorGridlinesStrokeThickness As Double
'Usage
 
Dim instance As Axis
Dim value As Double
 
instance.MinorGridlinesStrokeThickness = value
 
value = instance.MinorGridlinesStrokeThickness
public double MinorGridlinesStrokeThickness {get; set;}
Example
This example sets the MinorGridlinesStrokeThickness property.
GrapeCity.Xaml.SpreadSheet.Data.SpreadChart chart = new GrapeCity.Xaml.SpreadSheet.Data.SpreadChart("Chart", GrapeCity.Xaml.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.AxisX.MinorGridlinesStroke = new SolidColorBrush(Windows.UI.Colors.Red);
chart.AxisX.MinorGridlinesStrokeDashType = GrapeCity.Xaml.SpreadSheet.Data.StrokeDashType.Dash;
chart.AxisX.MinorGridlinesStrokeThickness = 2;
chart.AxisX.MinorTickHeight = 10;
chart.AxisX.MinorTickPosition = GrapeCity.Xaml.SpreadSheet.Data.AxisTickPosition.Cross;
chart.AxisX.MinorTickStroke = new SolidColorBrush(Windows.UI.Colors.Yellow);
chart.AxisX.MinorTickThickness = 2;
chart.AxisY.MinorGridlinesStroke = new SolidColorBrush(Windows.UI.Colors.Green);
chart.AxisY.MinorGridlinesStrokeDashType = GrapeCity.Xaml.SpreadSheet.Data.StrokeDashType.Dot;
chart.AxisY.MinorGridlinesStrokeThickness = 2;
chart.AxisY.MinorTickHeight = 10;
chart.AxisY.MinorTickPosition = GrapeCity.Xaml.SpreadSheet.Data.AxisTickPosition.Cross;
chart.AxisY.MinorTickStroke = new SolidColorBrush(Windows.UI.Colors.Orange);
chart.AxisY.MinorTickThickness = 2;
gcSpreadSheet1.ActiveSheet.Charts.Add(chart);
Dim chart As New GrapeCity.Xaml.SpreadSheet.Data.SpreadChart("Chart", GrapeCity.Xaml.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.AxisX.MinorGridlinesStroke = New SolidColorBrush(Windows.UI.Colors.Red)
chart.AxisX.MinorGridlinesStrokeDashType = GrapeCity.Xaml.SpreadSheet.Data.StrokeDashType.Dash
chart.AxisX.MinorGridlinesStrokeThickness = 2
chart.AxisX.MinorTickHeight = 10
chart.AxisX.MinorTickPosition = GrapeCity.Xaml.SpreadSheet.Data.AxisTickPosition.Cross
chart.AxisX.MinorTickStroke = New SolidColorBrush(Windows.UI.Colors.Yellow)
chart.AxisX.MinorTickThickness = 2
chart.AxisY.MinorGridlinesStroke = New SolidColorBrush(Windows.UI.Colors.Green)
chart.AxisY.MinorGridlinesStrokeDashType = GrapeCity.Xaml.SpreadSheet.Data.StrokeDashType.Dot
chart.AxisY.MinorGridlinesStrokeThickness = 2
chart.AxisY.MinorTickHeight = 10
chart.AxisY.MinorTickPosition = GrapeCity.Xaml.SpreadSheet.Data.AxisTickPosition.Cross
chart.AxisY.MinorTickStroke = New SolidColorBrush(Windows.UI.Colors.Orange)
chart.AxisY.MinorTickThickness = 2
GcSpreadSheet1.ActiveSheet.Charts.Add(chart)
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Axis Class
Axis Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options