[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ISeries.MarkerFormat

MarkerFormat Property

MarkerFormat

Gets the marker format for this series.

Use the returned IChartFormat object to configure the fill and line formatting of markers in the series.

Declaration
IChartFormat MarkerFormat { get; }
ReadOnly Property MarkerFormat As IChartFormat
Examples
worksheet.Range["A1:B4"].Value = new object[,] {{"Month", "Sales"}, {"Jan", 12}, {"Feb", 18}, {"Mar", 15}};
IChart chart = worksheet.Shapes.AddChart(ChartType.LineMarkers, 20, 20, 300, 200).Chart;
chart.SeriesCollection.Add(worksheet.Range["A1:B4"]);
ISeries series = chart.SeriesCollection[0];
IChartFormat markerFormat = series.MarkerFormat;
markerFormat.Fill.Color.RGB = Color.Red;