Category / Section
How to add symbols to the chart series?
1 min read
We can add the Symbols to the Chart using the below code.
this.ChartWebControl1.Series[0].Style.Symbol.Shape = ChartSymbolShape.InvertedTriangle;
We can customize the color and size property and even the border width of the symbol. And here is the code.
this.ChartWebControl1.Series[0].Style.Symbol.Color = Color.Red;this.ChartWebControl1.Series[0].Style.Symbol.Size = new Size(15,15);this.ChartWebControl1.Series[0].Style.Symbol.Border.Width = 2;