I am loading in a line chart.
When it is loaded into spire, it becomes a "ChartType.LineMarkers" where it should be "ChartType.Line".
This is simple to Work around though.
My second issue is that when I do
- Code: Select all
IChart chart = presentation.Slides[0].Shapes[0] as IChart;
for (int i = 0; i < chart.Series.Count; i++)
{
chart.Series[i].Fill.FillType = FillFormatType.Solid;
chart.Series[i].Fill.SolidColor.Color = Color.Aqua;
}
The colors are unchanged after saving. This same code is changing colors fine on other charts.
How do i change the colors of series in a line chart?
The attach function is not working for me, so i have uploaded my test project externally: https://ufile.io/ler44