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);