Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
setting series on the chart
//set up series
var series = plotArea.Series;
var barSeries = new ColumnSeries();
barSeries.Name = "Week 1";
barSeries.Items.AddRange(new List<SeriesItem>
{
new SeriesItem(35),
new SeriesItem(52),
new SeriesItem(18),
new SeriesItem(39),
new SeriesItem(0),
new SeriesItem(10),
new SeriesItem(6),
});
barSeries.Appearance.FillStyle.BackgroundColor = Color.Red;
series.Add(barSeries);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.