GrapeCity.Windows.SpreadSheet.Data Namespace > SpreadChart Class : AxisX Property |
'Declaration Public Property AxisX As Axis
'Usage Dim instance As SpreadChart Dim value As Axis instance.AxisX = value value = instance.AxisX
public Axis AxisX {get; set;}
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.AxisX.Title = new GrapeCity.Windows.SpreadSheet.Data.ChartTitle(); chart.AxisX.Title.Text = "-1234"; //stroke chart.AxisX.Title.StrokeDashType = GrapeCity.Windows.SpreadSheet.Data.StrokeDashType.Dash; chart.AxisX.Title.StrokeThickness = 2; chart.AxisX.Title.Stroke = new SolidColorBrush(Colors.Green); //file chart.AxisX.Title.Fill = new SolidColorBrush(Colors.Red); //font chart.AxisX.Title.FontSize = 12; chart.AxisX.Title.FontFamily = FontFamily; chart.AxisX.Title.FontStyle = FontStyles.Italic; chart.AxisX.Title.FontWeight = FontWeights.Bold; chart.AxisX.Title.FontStretch = FontStretches.ExtraExpanded; chart.AxisX.Title.Foreground = new SolidColorBrush(Colors.Blue); 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.AxisX.Title = New GrapeCity.Windows.SpreadSheet.Data.ChartTitle() chart.AxisX.Title.Text = "-1234" 'stroke chart.AxisX.Title.StrokeDashType = GrapeCity.Windows.SpreadSheet.Data.StrokeDashType.Dash chart.AxisX.Title.StrokeThickness = 2 chart.AxisX.Title.Stroke = New SolidColorBrush(Colors.Green) 'file chart.AxisX.Title.Fill = New SolidColorBrush(Colors.Red) 'font chart.AxisX.Title.FontSize = 12 chart.AxisX.Title.FontFamily = FontFamily chart.AxisX.Title.FontStyle = FontStyles.Italic chart.AxisX.Title.FontWeight = FontWeights.Bold chart.AxisX.Title.FontStretch = FontStretches.ExtraExpanded chart.AxisX.Title.Foreground = New SolidColorBrush(Colors.Blue) GcSpreadSheet1.ActiveSheet.Charts.Add(chart)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6