Hi Jaun,
Thank you for updating us.
|
Query |
Details |
|
How can I put color to the trendline? |
Kindly refer the below code for formatting the trendline.
Code Example:
|
chart.Series(0).TrendLines(0).Border.LineColor = Color.Aquamarine
chart.Series(0).TrendLines(0).Border.LinePattern = ExcelChartLinePattern.Dash
chart.Series(0).TrendLines(0).Border.LineWeight = 3 |
|
Please let us know if you have any concerns.
Regards,
Abirami.